diff options
author | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2012-02-29 03:34:34 +0000 |
commit | 32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (patch) | |
tree | 60ba7e9c94b5ea69643a2022cd2ff890958da0f9 /extra/hercules/PKGBUILD | |
parent | 1f567a9d58d16b76320168f0624aa55bd6320284 (diff) |
Wed Feb 29 03:34:34 UTC 2012
Diffstat (limited to 'extra/hercules/PKGBUILD')
-rw-r--r-- | extra/hercules/PKGBUILD | 23 |
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/hercules/PKGBUILD b/extra/hercules/PKGBUILD index e78a2bee3..ef22ba9a6 100644 --- a/extra/hercules/PKGBUILD +++ b/extra/hercules/PKGBUILD @@ -1,27 +1,30 @@ -# $Id: PKGBUILD 94782 2010-10-10 23:27:33Z kevin $ +# $Id: PKGBUILD 151558 2012-02-27 17:50:18Z pierre $ # Contributor: Tom Newsom <Jeepster@gmx.co.uk> # Maintainer: Kevin Piche <kevin@archlinux.org> pkgname=hercules pkgver=3.07 -pkgrel=1 +pkgrel=2 pkgdesc="A software implementation of the mainframe System/370 and ESA/390 architectures" url="http://www.hercules-390.org/" -source=(http://www.hercules-390.org/$pkgname-$pkgver.tar.gz) -arch=(i686 x86_64) +source=("http://www.hercules-390.org/$pkgname-$pkgver.tar.gz") +arch=('i686' 'x86_64') license=('custom') -options=(!libtool) +options=('!libtool') depends=('bzip2' 'libgcrypt' 'zlib') md5sums=('a12aa1645b0695b25b7fc0c9a3ccab3a') build() { - cd $startdir/src/$pkgname-$pkgver + cd $srcdir/$pkgname-$pkgver # Change module extension from .la to .so. sed '/HDL_MODULE_SUFFIX/ s/\.la/.so/' -i hdl.h ./configure --prefix=/usr - make || return 1 - make prefix=$startdir/pkg/usr install - # license + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make prefix=$pkgdir/usr install install -D -m644 COPYRIGHT \ - $startdir/pkg/usr/share/licenses/hercules/qpl1 + $pkgdir/usr/share/licenses/hercules/qpl1 } |