install APKBUILD.proto

This commit is contained in:
Natanael Copa 2008-10-30 15:55:25 +00:00
parent 11445603e0
commit da6f75fb8e
2 changed files with 6 additions and 4 deletions

View File

@ -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'

View File

@ -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=<path> ]"
@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