Skip to content
Snippets Groups Projects
Commit da6f75fb authored by Natanael Copa's avatar Natanael Copa
Browse files

install APKBUILD.proto

parent 11445603
No related merge requests found
...@@ -15,7 +15,6 @@ depends="" ...@@ -15,7 +15,6 @@ depends=""
makedepends="" makedepends=""
install= install=
source="$pkgname-$pkgver.tar.gz" source="$pkgname-$pkgver.tar.gz"
md5sums="" #generate with 'makepkg -g'
build() { build() {
cd "$srcdir/$pkgname-$pkgver" cd "$srcdir/$pkgname-$pkgver"
...@@ -25,3 +24,4 @@ build() { ...@@ -25,3 +24,4 @@ build() {
make DESTDIR="$pkgdir/" install make DESTDIR="$pkgdir/" install
} }
md5sums="" #generate with 'abuild checksum'
PACKAGE=abuild PACKAGE=abuild
VERSION=0.3 VERSION=0.3
DISTFILES=Makefile abuild abuild.conf DISTFILES=Makefile abuild abuild.conf APKBUILD.proto
prefix ?= /usr prefix ?= /usr
sysconfdir ?= /etc sysconfdir ?= /etc
...@@ -13,10 +13,12 @@ help: ...@@ -13,10 +13,12 @@ help:
@echo "usage: make install [ DESTDIR=<path> ]" @echo "usage: make install [ DESTDIR=<path> ]"
@echo " make dist" @echo " make dist"
install: install: abuild abuild.conf APKBUILD.proto
mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \
$(DESTDIR)/$(prefix)/share/abuild
cp abuild $(DESTDIR)/$(prefix)/bin/ cp abuild $(DESTDIR)/$(prefix)/bin/
cp abuild.conf $(DESTDIR)/$(sysconfdir)/ cp abuild.conf $(DESTDIR)/$(sysconfdir)/
cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild
dist: $(P).tar.gz dist: $(P).tar.gz
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment