diff options
author | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:33:26 -0300 |
---|---|---|
committer | coadde [Márcio Alexandre Silva Delgado] <coadde@parabola.nu> | 2015-08-26 03:33:26 -0300 |
commit | 8eafe04ec5eaf917d9e2d58993604c454f1a26d1 (patch) | |
tree | c0e9bb91659c3a1f5814ba94ee251639b52c5873 /extra/coadde/test/packages/pkg-split-a | |
parent | f17c9169de91036cd4b9bb725d2cc6713ad06ce5 (diff) |
re-estructure dbscrips
Diffstat (limited to 'extra/coadde/test/packages/pkg-split-a')
l--------- | extra/coadde/test/packages/pkg-split-a/Makefile | 1 | ||||
-rw-r--r-- | extra/coadde/test/packages/pkg-split-a/PKGBUILD | 28 | ||||
l--------- | extra/coadde/test/packages/pkg-split-a/test.c | 1 |
3 files changed, 30 insertions, 0 deletions
diff --git a/extra/coadde/test/packages/pkg-split-a/Makefile b/extra/coadde/test/packages/pkg-split-a/Makefile new file mode 120000 index 0000000..50be211 --- /dev/null +++ b/extra/coadde/test/packages/pkg-split-a/Makefile @@ -0,0 +1 @@ +../../src/Makefile
\ No newline at end of file diff --git a/extra/coadde/test/packages/pkg-split-a/PKGBUILD b/extra/coadde/test/packages/pkg-split-a/PKGBUILD new file mode 100644 index 0000000..e941976 --- /dev/null +++ b/extra/coadde/test/packages/pkg-split-a/PKGBUILD @@ -0,0 +1,28 @@ +pkgbase=pkg-split-a +pkgname=('pkg-split-a1' 'pkg-split-a2') +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-a1() { + cd ${srcdir} + make install DESTDIR=${pkgdir} DESTBIN=${pkgname[0]} +} + +package_pkg-split-a2() { + cd ${srcdir} + make install DESTDIR=${pkgdir} DESTBIN=${pkgname[1]} +} diff --git a/extra/coadde/test/packages/pkg-split-a/test.c b/extra/coadde/test/packages/pkg-split-a/test.c new file mode 120000 index 0000000..ed5b5ac --- /dev/null +++ b/extra/coadde/test/packages/pkg-split-a/test.c @@ -0,0 +1 @@ +../../src/test.c
\ No newline at end of file |