Date: Friday, September 22, 2017 @ 15:50:33
  Author: felixonmars
Revision: 259568

upgpkg: haskell-exceptions 0.8.3-4

Modified:
  haskell-exceptions/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD    2017-09-22 15:50:21 UTC (rev 259567)
+++ PKGBUILD    2017-09-22 15:50:33 UTC (rev 259568)
@@ -5,15 +5,15 @@
 _hkgname=exceptions
 pkgname=haskell-exceptions
 pkgver=0.8.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Extensible optionally-pure exceptions"
-url="http://github.com/ekmett/exceptions/";
+url="https://github.com/ekmett/exceptions/";
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-mtl" "haskell-stm" "haskell-transformers-compat")
 makedepends=('ghc')
 
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz";)
-sha256sums=('4d6ad97e8e3d5dc6ce9ae68a469dc2fd3f66e9d312bc6faa7ab162eddcef87be')
+sha512sums=('1b650d979e27c3307a7b58ea09fe19bfd97a35fb75aa526237cfe4fe68c99560794dc8985b601da1fc6cefb8358c76f60df822b709c621172785343233cee89a')
 
 prepare() {
     sed -i 's/template-haskell           >= 2.2      && < 
2.12,/template-haskell           >= 2.2,/' $_hkgname-$pkgver/$_hkgname.cabal
@@ -22,7 +22,7 @@
 build() {
     cd "${srcdir}/${_hkgname}-${pkgver}"
 
-    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
+    runhaskell Setup configure -O --enable-shared --enable-executable-dynamic 
--disable-library-vanilla \
         --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
     runhaskell Setup build
@@ -40,7 +40,4 @@
     runhaskell Setup copy --destdir="${pkgdir}"
     install -D -m644 "LICENSE" 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
     rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-
-    # Remove static libs
-    find "$pkgdir"/usr/lib -name "*.a" -delete
 }

Reply via email to