diff --git a/APKBUILD.proto b/APKBUILD.proto index e14bad922217dcf46cec05d717bd50cdf439bcde..db90c24a1c7888e6fd7280f0a378fca79ab46395 100644 --- a/APKBUILD.proto +++ b/APKBUILD.proto @@ -15,7 +15,6 @@ depends="" makedepends="" install= source="$pkgname-$pkgver.tar.gz" -md5sums="" #generate with 'makepkg -g' build() { cd "$srcdir/$pkgname-$pkgver" @@ -25,3 +24,4 @@ build() { make DESTDIR="$pkgdir/" install } +md5sums="" #generate with 'abuild checksum' diff --git a/Makefile b/Makefile index e066e357c62049ebdbe8d153b050d4a054fb0ae7..d5da5a09a369772238f94b55f3cd986e68f8bef5 100644 --- a/Makefile +++ b/Makefile @@ -1,7 +1,7 @@ PACKAGE=abuild VERSION=0.3 -DISTFILES=Makefile abuild abuild.conf +DISTFILES=Makefile abuild abuild.conf APKBUILD.proto prefix ?= /usr sysconfdir ?= /etc @@ -13,10 +13,12 @@ help: @echo "usage: make install [ DESTDIR= ]" @echo " make dist" -install: - mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) +install: abuild abuild.conf APKBUILD.proto + mkdir -p $(DESTDIR)/$(prefix)/bin $(DESTDIR)/$(sysconfdir) \ + $(DESTDIR)/$(prefix)/share/abuild cp abuild $(DESTDIR)/$(prefix)/bin/ cp abuild.conf $(DESTDIR)/$(sysconfdir)/ + cp APKBUILD.proto $(DESTDIR)/$(prefix)/share/abuild dist: $(P).tar.gz