summaryrefslogtreecommitdiff
path: root/extra/hercules
diff options
context:
space:
mode:
authorNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-29 02:31:43 -0300
committerNicolas Reynolds <fauno@kiwwwi.com.ar>2012-02-29 02:31:43 -0300
commite87b42b0f90e1a4d8b255f1dab945f2f3bb13cdc (patch)
treee36d5720f76b5db9dd5f97260108607023d7d2e7 /extra/hercules
parentc0e37a8f32f335c12352f23cdc73113099e057ec (diff)
parent32b05a621cb20af1bd4b7cd6f5609b7512bb20f1 (diff)
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts: extra/avfs/PKGBUILD extra/gtk2/PKGBUILD extra/hercules/PKGBUILD multilib/lib32-libcap/PKGBUILD multilib/lib32-qt/PKGBUILD
Diffstat (limited to 'extra/hercules')
-rw-r--r--extra/hercules/PKGBUILD23
1 files changed, 13 insertions, 10 deletions
diff --git a/extra/hercules/PKGBUILD b/extra/hercules/PKGBUILD
index 1dd88290c..d31afdd0e 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 'mips64el')
+source=("http://www.hercules-390.org/$pkgname-$pkgver.tar.gz")
+arch=('i686' 'x86_64' 'mips64el')
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
}