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

Felix Yan felixonmars at archlinux.org
Sat Sep 23 17:05:59 UTC 2017


    Date: Saturday, September 23, 2017 @ 17:05:59
  Author: felixonmars
Revision: 260200

upgpkg: haskell-optional-args 1.0.1-4

Modified:
  haskell-optional-args/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 17:05:47 UTC (rev 260199)
+++ PKGBUILD	2017-09-23 17:05:59 UTC (rev 260200)
@@ -5,7 +5,7 @@
 _hkgname=optional-args
 pkgname=haskell-optional-args
 pkgver=1.0.1
-pkgrel=3
+pkgrel=4
 pkgdesc="Optional function arguments"
 url="https://github.com/Gabriel439/Haskell-Optional-Args-Library"
 license=('custom:BSD3')
@@ -13,12 +13,12 @@
 depends=('ghc-libs')
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-md5sums=('67ef42aebe2477ff40db1b3c1506f8d4')
+sha512sums=('447aff69cdc9c87ee0cb2cccfe09084d4c9a8db7993b2f80bd4316eaf31ac167e40783933949df1cbf37b5975a798c9dd9fed0235537ed316ac5af9267721f2b')
 
 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