summaryrefslogtreecommitdiff
path: root/test/packages/pkg-split-a/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'test/packages/pkg-split-a/PKGBUILD')
-rw-r--r--test/packages/pkg-split-a/PKGBUILD16
1 files changed, 14 insertions, 2 deletions
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]}
}