Add makefile

Signed-off-by: Stefano Capitani's avatarSte74 <stefano@manjaro.org>
parent 16158404
#!/usr/bin/make -f
PREFIX = /usr
DPATH = $(DESTDIR)$(PREFIX)/bin
DAPP = $(DESTDIR)$(PREFIX)/share/applications
DEL = rm -f
install:
install -Dm755 -t $(DPATH) *.sh *.py
uninstall:
$(DEL) $(DPATH)/manjaro-software-install.tool.py
$(DEL) $(DPATH)/installapps.sh
all:
install
.PHONY: all install uninstall
\ No newline at end of file
# Maintainer: Stefano Capitani <stefano_at_manjaro_dot_org>
pkgname=manjaro-software-install-tool
pkgver=0.1
pkgrel=1
pkgdesc="A tool to quickly install software in Manjaro Linux"
arch=('any')
license=('GPL')
url=https://gitlab.manjaro.org/ste74/manjaro-software-install-tools
depends=('python' 'papirus-maia-icon-theme' 'gksu-polkit' 'manjaro-hello')
makedepends=('git')
source=("$pkgname::git+$url.git")
md5sums=('SKIP')
package() {
cd $srcdir
make DESTDIR="${pkgdir}" install
}
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment