Date: Thursday, December 14, 2017 @ 16:52:55 Author: arodseth Revision: 274421
archrelease: copy trunk to community-x86_64 Added: hercules/repos/community-x86_64/PKGBUILD (from rev 274420, hercules/trunk/PKGBUILD) Deleted: hercules/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 77 +++++++++++++++++++++++++++++-------------------------------- 1 file changed, 37 insertions(+), 40 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2017-12-14 16:52:44 UTC (rev 274420) +++ PKGBUILD 2017-12-14 16:52:55 UTC (rev 274421) @@ -1,40 +0,0 @@ -# $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.12 -pkgrel=2 -pkgdesc='Software implementation of System/370 and ESA/390' -arch=('x86_64' 'i686') -url='http://www.hercules-390.eu/' -license=('custom') -depends=('bzip2' 'libgcrypt' 'zlib' 'perl') -options=('!makeflags') -source=("http://downloads.hercules-390.eu/$pkgname-$pkgver.tar.gz") -sha256sums=('aefbe9d2f09372a530c17c177b7d2a0f4bcf8cfd28474672935b067e5f9ee373') - -prepare() { - # Change module extension from .la to .so. - sed '/HDL_MODULE_SUFFIX/ s/\.la/.so/' -i "$pkgname-$pkgver/hdl.h" -} - -build() { - cd "$pkgname-$pkgver" - - ./configure \ - --prefix=/usr \ - --enable-optimization=-O2 - make -} - -package() { - cd "$pkgname-$pkgver" - - make DESTDIR="$pkgdir" install - install -Dm644 COPYRIGHT "$pkgdir/usr/share/licenses/hercules/qpl1" -} - -# vim: ts=2 sw=2 et: Copied: hercules/repos/community-x86_64/PKGBUILD (from rev 274420, hercules/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2017-12-14 16:52:55 UTC (rev 274421) @@ -0,0 +1,37 @@ +# $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=1 +pkgdesc='Software implementation of System/370 and ESA/390' +arch=('x86_64') +url='http://www.hercules-390.eu/' +license=('custom') +options=('!makeflags') +source=("http://downloads.hercules-390.eu/$pkgname-${pkgver%.00}.tar.gz") +sha256sums=('890c57c558d58708e55828ae299245bd2763318acf53e456a48aac883ecfe67d') + +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