From d4c832a144a8b9b22afd7017727ec86629dc38a1 Mon Sep 17 00:00:00 2001 From: Daniel Langbein Date: Sat, 12 Aug 2023 13:23:07 +0200 Subject: [PATCH] feat: add Arch Linux install target --- Makefile | 14 +++++++++++--- {archlinux => packaging}/PKGBUILD | 0 2 files changed, 11 insertions(+), 3 deletions(-) rename {archlinux => packaging}/PKGBUILD (100%) diff --git a/Makefile b/Makefile index 2649a88..6bfd199 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,15 @@ .PHONY: all -all: +all: install + +.PHONY: install +install: + sudo pacman -S --needed base-devel + cd packaging && makepkg -fCcsri && rm -rf $(PKGNAME) + +.PHONY: install-pip +install-pip: sudo python3 -m pip install --upgrade --force-reinstall . -.PHONY: clean -clean: +.PHONY: uninstall-pip +uninstall-pip: sudo python3 -m pip uninstall -y py-regex-replace diff --git a/archlinux/PKGBUILD b/packaging/PKGBUILD similarity index 100% rename from archlinux/PKGBUILD rename to packaging/PKGBUILD