index : pacman | |
Archlinux32 fork of pacman | gitolite user |
summaryrefslogtreecommitdiff |
author | Allan McRae <allan@archlinux.org> | 2010-12-16 00:06:43 +1000 |
---|---|---|
committer | Dan McGee <dan@archlinux.org> | 2010-12-29 19:28:00 -0600 |
commit | 0c29eb431a26467fc5ec14742cfcdc7ce3558334 (patch) | |
tree | 282a6284582e2b0dd21656cd990bddd5f6e993b0 /PKGBUILD.proto | |
parent | d22777146446ecaf8b4b9c0afd593d23c5c9766e (diff) |
-rw-r--r-- | PKGBUILD.proto | 8 |
diff --git a/PKGBUILD.proto b/PKGBUILD.proto index 71dbc14d..98172d8d 100644 --- a/PKGBUILD.proto +++ b/PKGBUILD.proto @@ -15,6 +15,7 @@ license=('GPL') groups=() depends=() makedepends=() +checkdepends=() optdepends=() provides=() conflicts=() @@ -29,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 } |