From 32eb70adf471287eccbaa0f36e390b5180c30121 Mon Sep 17 00:00:00 2001 From: eSh Date: Thu, 22 Aug 2019 22:07:06 +0200 Subject: [PATCH] Add Makefile --- Makefile | 12 ++++++++++++ README.md | 22 +++++++++++++++++++++- 2 files changed, 33 insertions(+), 1 deletion(-) create mode 100644 Makefile diff --git a/Makefile b/Makefile new file mode 100644 index 0000000..0ac840a --- /dev/null +++ b/Makefile @@ -0,0 +1,12 @@ +# makefile for pamac-url-handler +build: + makepkg + +install: + pamac-installer pamac-url-handler-*.tar.xz + +remove: + pamac-installer --remove pamac-url-handler + +clean: + $(RM) -rf src/ pkg/ *.tar.xz diff --git a/README.md b/README.md index db0e5b7..1165072 100644 --- a/README.md +++ b/README.md @@ -1,2 +1,22 @@ -# pamac-url-handler +# pamac URL handler package + +Install ALPM packages with `pamac-installer` from URL scheme `x-alpm-package://[aur/]` + +## Building the package + +Open Terminal and issue the command: + +`make` + +To install the package right after the building use: + +`make install` + +To remove just installed package use: + +`make remove` + +To cleanup the project use: + +`make clean`