Date: Sunday, March 4, 2018 @ 14:30:13 Author: felixonmars Revision: 302409
upgpkg: haskell-tasty-expected-failure 0.11.1-1 rebuild with tasty-expected-failure,0.11.1 Modified: haskell-tasty-expected-failure/trunk/PKGBUILD ----------+ PKGBUILD | 16 ++++++---------- 1 file changed, 6 insertions(+), 10 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-04 14:28:23 UTC (rev 302408) +++ PKGBUILD 2018-03-04 14:30:13 UTC (rev 302409) @@ -4,23 +4,19 @@ _hkgname=tasty-expected-failure pkgname=haskell-tasty-expected-failure -pkgver=0.11.0.4 -pkgrel=13 +pkgver=0.11.1 +pkgrel=1 pkgdesc="Mark tasty tests as failure expected" url="https://github.com/nomeata/tasty-expected-failure" license=("MIT") arch=('x86_64') -depends=('ghc-libs' "haskell-tagged" "haskell-tasty") +depends=('ghc-libs' 'haskell-tagged' 'haskell-tasty') makedepends=('ghc') source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('1bcf0f5c8695c1551db39731ab63a720ffd3fbe972ffcae794bb0338273996f799a50324976f24d2c595dca1f38480b832a699e96841cc65fa96a9bb5357e8eb') +sha512sums=('377fb54741089bf3c1c8d9c7f8e443360e0c13486f58f9c287a99fe092539c5b93c55eab8e2b1b9749ee163c7b7ef1319706f8590aca0306231052c8b2ceabf5') -prepare() { - sed -i 's/base >= 4.5 && <4.10,/base >= 4.5,/' ${_hkgname}-${pkgver}/${_hkgname}.cabal -} - build() { - cd "${srcdir}/${_hkgname}-${pkgver}" + cd $_hkgname-$pkgver runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ @@ -33,7 +29,7 @@ } package() { - cd "${srcdir}/${_hkgname}-${pkgver}" + cd $_hkgname-$pkgver install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh" install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"