diff options
author | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 19:50:56 +0100 |
---|---|---|
committer | Pierre Schmitz <pierre@archlinux.de> | 2011-03-23 19:50:56 +0100 |
commit | d568b8aeb0be95d6a1da7da0434de23e6b2260e2 (patch) | |
tree | 3051c14427751e9e79b1f4878fb6e8299440d728 /test/packages/pkg-simple-epoch/PKGBUILD | |
parent | 9e4f661adf89d150b0891d6edd39e19682d923bf (diff) | |
download | dbscripts-d568b8aeb0be95d6a1da7da0434de23e6b2260e2.tar.gz dbscripts-d568b8aeb0be95d6a1da7da0434de23e6b2260e2.tar.xz |
Add support for packages which use the epoch variable
Diffstat (limited to 'test/packages/pkg-simple-epoch/PKGBUILD')
-rw-r--r-- | test/packages/pkg-simple-epoch/PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/test/packages/pkg-simple-epoch/PKGBUILD b/test/packages/pkg-simple-epoch/PKGBUILD new file mode 100644 index 0000000..eebe2bd --- /dev/null +++ b/test/packages/pkg-simple-epoch/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=pkg-simple-epoch +pkgver=1 +pkgrel=1 +epoch=1 +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() { + cd ${srcdir} + make install DESTDIR=${pkgdir} DESTBIN=${pkgname} +} |