summaryrefslogtreecommitdiff
path: root/community/hercules
diff options
context:
space:
mode:
authorroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
committerroot <root@rshg054.dnsready.net>2013-07-19 01:10:32 -0700
commit8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch)
tree03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/hercules
parente445a313723389ba9ee1fded025c567dae5b21ea (diff)
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/hercules')
-rw-r--r--community/hercules/PKGBUILD35
1 files changed, 35 insertions, 0 deletions
diff --git a/community/hercules/PKGBUILD b/community/hercules/PKGBUILD
new file mode 100644
index 000000000..4db656d80
--- /dev/null
+++ b/community/hercules/PKGBUILD
@@ -0,0 +1,35 @@
+# $Id: PKGBUILD 85609 2013-03-03 23:25:19Z arodseth $
+# Maintainer: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Kevin Piche <kevin@archlinux.org>
+# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
+
+pkgname=hercules
+pkgver=3.08
+pkgrel=1
+arch=('x86_64' 'i686')
+pkgdesc='Software implementation of System/370 and ESA/390'
+url='http://www.hercules-390.eu/'
+source=("http://downloads.hercules-390.eu/$pkgname-$pkgver.tar.gz")
+license=('custom')
+options=('!libtool')
+depends=('bzip2' 'libgcrypt' 'zlib' 'perl')
+sha256sums=('85e217773587f2278d4b6cb6bc815e042cfc982d0fc14baa0da4a84dea399e9d')
+
+build() {
+ 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 -j1
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make prefix="$pkgdir/usr" install
+ install -Dm644 COPYRIGHT \
+ "$pkgdir/usr/share/licenses/hercules/qpl1"
+}
+
+# vim:set ts=2 sw=2 et: