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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 16:21:51 UTC 2017


    Date: Saturday, September 23, 2017 @ 16:21:50
  Author: felixonmars
Revision: 260106

upgpkg: haskell-text-printer 0.5-9

Modified:
  haskell-text-printer/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:21:36 UTC (rev 260105)
+++ PKGBUILD	2017-09-23 16:21:50 UTC (rev 260106)
@@ -4,7 +4,7 @@
 _hkgname=text-printer
 pkgname=haskell-text-printer
 pkgver=0.5
-pkgrel=8
+pkgrel=9
 pkgdesc="Abstract interface for text builders/printers."
 url="https://github.com/mvv/text-printer"
 license=('custom:BSD3')
@@ -12,12 +12,12 @@
 depends=('ghc-libs' 'haskell-semigroups' 'haskell-text' 'haskell-text-latin1')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-md5sums=('0b2ad411591847628b15f462ce22542f')
+sha512sums=('08dd0e5c0256822ba58e0d27dfc3b931b69385cfb4c020b91df73c02cd723f49f5c5b0faaecd5cbeb49f3cbe95e741ff3154c331e7573e9b78b42caae218586b')
 
 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
@@ -35,7 +35,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