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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 17:09:16 UTC 2017


    Date: Saturday, September 23, 2017 @ 17:09:15
  Author: felixonmars
Revision: 260208

upgpkg: haskell-openpgp-asciiarmor 0.1-22

Modified:
  haskell-openpgp-asciiarmor/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 17:09:04 UTC (rev 260207)
+++ PKGBUILD	2017-09-23 17:09:15 UTC (rev 260208)
@@ -4,7 +4,7 @@
 _hkgname=openpgp-asciiarmor
 pkgname=haskell-openpgp-asciiarmor
 pkgver=0.1
-pkgrel=21
+pkgrel=22
 pkgdesc="OpenPGP (RFC4880) ASCII Armor codec"
 url="http://floss.scru.org/openpgp-asciiarmor"
 license=('custom:ISC')
@@ -12,12 +12,12 @@
 depends=('ghc-libs' 'haskell-attoparsec' 'haskell-base64-bytestring' 'haskell-cereal')
 makedepends=('ghc')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-md5sums=('b4a7ac6e70ad71326445de2535c048da')
+sha512sums=('16b76973c276f7bdc871b529eb362d654dfdf55991cd0cbf16d52f649ea108987c9c7a26c216738e85b5a86bb367693bfc3e9134d1c2cf68b63a80bbc10da9ad')
 
 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