summaryrefslogtreecommitdiff
path: root/extra/xbs-lukeshu/test/packages/pkg-split-b
diff options
context:
space:
mode:
Diffstat (limited to 'extra/xbs-lukeshu/test/packages/pkg-split-b')
l---------extra/xbs-lukeshu/test/packages/pkg-split-b/Makefile1
-rw-r--r--extra/xbs-lukeshu/test/packages/pkg-split-b/PKGBUILD29
l---------extra/xbs-lukeshu/test/packages/pkg-split-b/test.c1
3 files changed, 31 insertions, 0 deletions
diff --git a/extra/xbs-lukeshu/test/packages/pkg-split-b/Makefile b/extra/xbs-lukeshu/test/packages/pkg-split-b/Makefile
new file mode 120000
index 0000000..50be211
--- /dev/null
+++ b/extra/xbs-lukeshu/test/packages/pkg-split-b/Makefile
@@ -0,0 +1 @@
+../../src/Makefile \ No newline at end of file
diff --git a/extra/xbs-lukeshu/test/packages/pkg-split-b/PKGBUILD b/extra/xbs-lukeshu/test/packages/pkg-split-b/PKGBUILD
new file mode 100644
index 0000000..6ddbc45
--- /dev/null
+++ b/extra/xbs-lukeshu/test/packages/pkg-split-b/PKGBUILD
@@ -0,0 +1,29 @@
+pkgbase=pkg-split-b
+pkgname=('pkg-split-b1' 'pkg-split-b2')
+pkgver=1
+pkgrel=1
+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-b1() {
+ cd ${srcdir}
+ make install DESTDIR=${pkgdir} DESTBIN=${pkgname[0]}
+}
+
+package_pkg-split-b2() {
+ cd ${srcdir}
+ make install DESTDIR=${pkgdir} DESTBIN=${pkgname[1]}
+}
diff --git a/extra/xbs-lukeshu/test/packages/pkg-split-b/test.c b/extra/xbs-lukeshu/test/packages/pkg-split-b/test.c
new file mode 120000
index 0000000..ed5b5ac
--- /dev/null
+++ b/extra/xbs-lukeshu/test/packages/pkg-split-b/test.c
@@ -0,0 +1 @@
+../../src/test.c \ No newline at end of file