summaryrefslogtreecommitdiff
path: root/test/packages/pkg-simple-b/PKGBUILD
diff options
context:
space:
mode:
authorPierre Schmitz <pierre@archlinux.de>2010-11-25 06:55:03 +0100
committerPierre Schmitz <pierre@archlinux.de>2010-11-25 06:55:03 +0100
commit5f72b8029c07f3357014d8716f18f21ce649c98a (patch)
treed2d8cd279515d3f1900ddd196f4cbcc710a66adc /test/packages/pkg-simple-b/PKGBUILD
parentec20965dbd3180a92d2daa69a075284688b1be04 (diff)
Provide more real test packages
* Use devtools instead of plain makepkg * This is a preparation for some more advanced test cases.
Diffstat (limited to 'test/packages/pkg-simple-b/PKGBUILD')
-rw-r--r--test/packages/pkg-simple-b/PKGBUILD13
1 files changed, 12 insertions, 1 deletions
diff --git a/test/packages/pkg-simple-b/PKGBUILD b/test/packages/pkg-simple-b/PKGBUILD
index 1ef298e..95ffd09 100644
--- a/test/packages/pkg-simple-b/PKGBUILD
+++ b/test/packages/pkg-simple-b/PKGBUILD
@@ -5,7 +5,18 @@ pkgdesc="A package called ${pkgname}"
arch=('i686' 'x86_64')
url='http://www.archlinux.org/'
license=('GPL')
+depends=('glibc')
+makedepends=('gcc')
+source=('Makefile' 'test.c')
+md5sums=('c6cb8dcc86253355fed559416d0c8dcf'
+ '3c1e4279feb678fd9cabaccdb28e40d0')
+
+build() {
+ cd ${srcdir}
+ make
+}
package() {
- true
+ cd ${srcdir}
+ make install DESTDIR=${pkgdir} DESTBIN=${pkgname}
}