diff options
Diffstat (limited to 'community/hercules/PKGBUILD')
-rw-r--r-- | community/hercules/PKGBUILD | 35 |
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: |