Date: Thursday, June 7, 2018 @ 11:26:13 Author: felixonmars Revision: 341759
upgpkg: haskell-yesod 1.6.0-22 remove obsolete semigroups dependency Modified: haskell-yesod/trunk/PKGBUILD ----------+ PKGBUILD | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-06-07 11:25:31 UTC (rev 341758) +++ PKGBUILD 2018-06-07 11:26:13 UTC (rev 341759) @@ -5,7 +5,7 @@ _hkgname=yesod pkgname=haskell-yesod pkgver=1.6.0 -pkgrel=21 +pkgrel=22 pkgdesc="Creation of type-safe, RESTful web applications." url="http://www.yesodweb.com/" license=("MIT") @@ -12,7 +12,7 @@ arch=('x86_64') depends=('ghc-libs' 'haskell-aeson' 'haskell-blaze-html' 'haskell-blaze-markup' 'haskell-data-default-class' 'haskell-fast-logger' 'haskell-monad-logger' - 'haskell-resourcet' 'haskell-semigroups' 'haskell-shakespeare' 'haskell-streaming-commons' + 'haskell-resourcet' 'haskell-shakespeare' 'haskell-streaming-commons' 'haskell-unordered-containers' 'haskell-wai' 'haskell-wai-extra' 'haskell-wai-logger' 'haskell-warp' 'haskell-yaml' 'haskell-yesod-core' 'haskell-yesod-form' 'haskell-yesod-persistent') @@ -20,8 +20,13 @@ source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") sha512sums=('36caa5ee5c27a2355aff9e5dc210100661670717e251bb42bac48c02cd6979c38ae7b5fda1dd2e264aefb7b5b3808f7ccc9e511fd38b6de7090e16c7a91e1b15') +prepare() { + cd $_hkgname-$pkgver + sed -i '/semigroups/d' $_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}" \ @@ -34,7 +39,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"