diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2010-11-25 06:55:03 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2010-11-25 06:55:03 +0100 |
commit | 5f72b8029c07f3357014d8716f18f21ce649c98a (patch) | |
tree | d2d8cd279515d3f1900ddd196f4cbcc710a66adc /test/packages/pkg-split-a | |
parent | ec20965dbd3180a92d2daa69a075284688b1be04 (diff) | |
download | dbscripts-5f72b8029c07f3357014d8716f18f21ce649c98a.tar.gz dbscripts-5f72b8029c07f3357014d8716f18f21ce649c98a.tar.xz |
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-split-a')
l--------- | test/packages/pkg-split-a/Makefile | 1 | ||||
-rw-r--r-- | test/packages/pkg-split-a/PKGBUILD | 16 | ||||
l--------- | test/packages/pkg-split-a/test.c | 1 |
3 files changed, 16 insertions, 2 deletions
diff --git a/test/packages/pkg-split-a/Makefile b/test/packages/pkg-split-a/Makefile new file mode 120000 index 0000000..50be211 --- /dev/null +++ b/test/packages/pkg-split-a/Makefile @@ -0,0 +1 @@ +../../src/Makefile
\ No newline at end of file diff --git a/test/packages/pkg-split-a/PKGBUILD b/test/packages/pkg-split-a/PKGBUILD index 6ac77ea..e941976 100644 --- a/test/packages/pkg-split-a/PKGBUILD +++ b/test/packages/pkg-split-a/PKGBUILD @@ -6,11 +6,23 @@ pkgdesc="A split package called ${pkgbase}" 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_pkg-split-a1() { - true + cd ${srcdir} + make install DESTDIR=${pkgdir} DESTBIN=${pkgname[0]} } package_pkg-split-a2() { - true + cd ${srcdir} + make install DESTDIR=${pkgdir} DESTBIN=${pkgname[1]} } diff --git a/test/packages/pkg-split-a/test.c b/test/packages/pkg-split-a/test.c new file mode 120000 index 0000000..ed5b5ac --- /dev/null +++ b/test/packages/pkg-split-a/test.c @@ -0,0 +1 @@ +../../src/test.c
\ No newline at end of file |