[arch-commits] Commit in haskell-safesemaphore/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Sat Sep 23 05:21:49 UTC 2017


    Date: Saturday, September 23, 2017 @ 05:21:48
  Author: felixonmars
Revision: 259838

upgpkg: haskell-safesemaphore 0.10.1-7

Modified:
  haskell-safesemaphore/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++------
 1 file changed, 3 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 05:21:18 UTC (rev 259837)
+++ PKGBUILD	2017-09-23 05:21:48 UTC (rev 259838)
@@ -5,7 +5,7 @@
 _hkgname=SafeSemaphore
 pkgname=haskell-safesemaphore
 pkgver=0.10.1
-pkgrel=6
+pkgrel=7
 pkgdesc="Much safer replacement for QSemN, QSem, and SampleVar"
 url="https://github.com/ChrisKuklewicz/SafeSemaphore"
 license=("custom:BSD3")
@@ -13,12 +13,12 @@
 depends=('ghc-libs' "haskell-stm")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('21e5b737a378cae9e1faf85cab015316d4c84d4b37e6d9d202111cef8c4cef66')
+sha512sums=('877731622e1942f45fcc43e2ed8ba7ddfa2c1f4a7ea4f36cdf425a98acc9c2f54c742d98a7d1bb457ff122f20a5af399ac776bff7403b892353f812e42007250')
 
 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
@@ -36,7 +36,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
 }



More information about the arch-commits mailing list