Date: Thursday, February 4, 2021 @ 19:50:19 Author: felixonmars Revision: 845509
upgpkg: haskell-libbf 0.6-1: rebuild with libBF 0.6 Modified: haskell-libbf/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2021-02-04 19:47:55 UTC (rev 845508) +++ PKGBUILD 2021-02-04 19:50:19 UTC (rev 845509) @@ -2,28 +2,24 @@ _hkgname=libBF pkgname=haskell-libbf -pkgver=0.5.1 -pkgrel=4 +pkgver=0.6 +pkgrel=1 pkgdesc="A binding to the libBF library" url="https://github.com/GaloisInc/libBF-hs" license=('MIT') arch=('x86_64') -depends=('ghc-libs' 'libbf') +depends=('ghc-libs' 'libbf' 'haskell-hashable') makedepends=('ghc') source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('8d8f9b5b5fd15558660c3799431b5413bf0bf79e7e115aa69fdda2356360c0a16c2b6a3674b6b28bfe47b1a6a0bcbbe92fea9c7836ee5916e5d10084ee03a1a0') +sha512sums=('ed60e3da2a5b735c093933d9b0a9f83ba95ec61c7358acb29849038b830f9556c67116370f1b68f8067acc894744d023d079033405863c2116d69484766ee939') -prepare() { - cd $_hkgname-$pkgver - sed -i '/libbf-2020/d;/include/d;/c-sources:/i \ extra-libraries: bf' $_hkgname.cabal -} - build() { cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir=/usr/share/doc/$pkgname --enable-tests \ - --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid + --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \ + -fsystem-libbf runhaskell Setup build $MAKEFLAGS runhaskell Setup register --gen-script runhaskell Setup unregister --gen-script
