Date: Monday, April 16, 2018 @ 14:32:29 Author: felixonmars Revision: 316514
archrelease: copy trunk to community-staging-x86_64 Added: hercules/repos/community-staging-x86_64/ hercules/repos/community-staging-x86_64/PKGBUILD (from rev 316513, hercules/trunk/PKGBUILD) ----------+ PKGBUILD | 38 ++++++++++++++++++++++++++++++++++++++ 1 file changed, 38 insertions(+) Copied: hercules/repos/community-staging-x86_64/PKGBUILD (from rev 316513, hercules/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2018-04-16 14:32:29 UTC (rev 316514) @@ -0,0 +1,38 @@ +# $Id$ +# Maintainer: Alexander F Rødseth <xypr...@archlinux.org> +# Contributor: Kevin Piche <ke...@archlinux.org> +# Contributor: Jaroslav Lichtblau <svetlemo...@archlinux.org> +# Contributor: Tom Newsom <jeeps...@gmx.co.uk> + +pkgname=hercules +pkgver=3.13.00 +pkgrel=2 +pkgdesc='Software implementation of System/370 and ESA/390' +arch=('x86_64') +url='http://www.hercules-390.eu/' +license=('custom') +depends=('glibc' 'libnsl') +options=('!makeflags') +source=("http://downloads.hercules-390.eu/$pkgname-${pkgver%.00}.tar.gz") +sha512sums=('76f75ef3f1eb10c0fac0d6fa1ab9809b8d1dfe3deccbcd69366b05ee58f1ecb8ea0f387f7201ab4722b121478676f00e707ad27b6ecf1980fb09e900de63d718') + +prepare() { + ln -sf "$pkgname-${pkgver%.00}" p + # Change module extension from .la to .so. + sed '/HDL_MODULE_SUFFIX/ s/\.la/.so/' -i p/hdl.h +} + +build() { + cd p + ./configure --prefix=/usr --enable-optimization=-O3 + make +} + +package() { + cd p + DESTDIR="$pkgdir" make install + install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/hercules/qpl1" +} + +# vim: ts=2 sw=2 et: +# getver: raw.githubusercontent.com/rbowler/spinhawk/master/makemsi/Hercules-W64.VER