From 32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 Mon Sep 17 00:00:00 2001 From: root Date: Wed, 29 Feb 2012 03:34:34 +0000 Subject: Wed Feb 29 03:34:34 UTC 2012 --- extra/hercules/PKGBUILD | 23 +++++++++++++---------- 1 file changed, 13 insertions(+), 10 deletions(-) (limited to 'extra/hercules') 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 # Maintainer: Kevin Piche 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 } -- cgit v1.2.3-54-g00ecf