Send patches - preferably formatted by git format-patch - to patches at archlinux32 dot org.
summaryrefslogtreecommitdiff
path: root/PKGBUILD.proto
diff options
context:
space:
mode:
Diffstat (limited to 'PKGBUILD.proto')
-rw-r--r--PKGBUILD.proto9
1 files changed, 7 insertions, 2 deletions
diff --git a/PKGBUILD.proto b/PKGBUILD.proto
index ebbdf0ae..98172d8d 100644
--- a/PKGBUILD.proto
+++ b/PKGBUILD.proto
@@ -7,6 +7,7 @@
pkgname=NAME
pkgver=VERSION
pkgrel=1
+epoch=
pkgdesc=""
arch=()
url=""
@@ -14,6 +15,7 @@ license=('GPL')
groups=()
depends=()
makedepends=()
+checkdepends=()
optdepends=()
provides=()
conflicts=()
@@ -28,14 +30,17 @@ md5sums=() #generate with 'makepkg -g'
build() {
cd "$srcdir/$pkgname-$pkgver"
-
./configure --prefix=/usr
make
}
-package() {
+check() {
cd "$srcdir/$pkgname-$pkgver"
+ make -k check
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}