From bce7eb253a5e2344c5a3a37f53cf971c8df8ce1d Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Sat, 7 Aug 2010 20:02:26 +0200 Subject: add some sample PKGBUILDs --- test/packages/pkg-simple-a/PKGBUILD | 11 +++++++++++ 1 file changed, 11 insertions(+) create mode 100644 test/packages/pkg-simple-a/PKGBUILD (limited to 'test/packages/pkg-simple-a/PKGBUILD') diff --git a/test/packages/pkg-simple-a/PKGBUILD b/test/packages/pkg-simple-a/PKGBUILD new file mode 100644 index 0000000..78f3c8e --- /dev/null +++ b/test/packages/pkg-simple-a/PKGBUILD @@ -0,0 +1,11 @@ +pkgname=pkg-simple-a +pkgver=1 +pkgrel=1 +pkgdesc="A package called ${pkgname}" +arch=('i686' 'x86_64') +url='http://www.archlinux.org/' +license=('GPL') + +package() { + true +} -- cgit v1.2.3-2-g168b From 5f72b8029c07f3357014d8716f18f21ce649c98a Mon Sep 17 00:00:00 2001 From: Pierre Schmitz Date: Thu, 25 Nov 2010 06:55:03 +0100 Subject: Provide more real test packages * Use devtools instead of plain makepkg * This is a preparation for some more advanced test cases. --- test/packages/pkg-simple-a/PKGBUILD | 13 ++++++++++++- 1 file changed, 12 insertions(+), 1 deletion(-) (limited to 'test/packages/pkg-simple-a/PKGBUILD') diff --git a/test/packages/pkg-simple-a/PKGBUILD b/test/packages/pkg-simple-a/PKGBUILD index 78f3c8e..953ecfa 100644 --- a/test/packages/pkg-simple-a/PKGBUILD +++ b/test/packages/pkg-simple-a/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} } -- cgit v1.2.3-2-g168b