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

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


    Date: Saturday, September 23, 2017 @ 16:38:22
  Author: felixonmars
Revision: 260138

upgpkg: haskell-byteorder 1.0.4-5

Modified:
  haskell-byteorder/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-23 16:38:10 UTC (rev 260137)
+++ PKGBUILD	2017-09-23 16:38:22 UTC (rev 260138)
@@ -5,7 +5,7 @@
 _hkgname=byteorder
 pkgname=haskell-byteorder
 pkgver=1.0.4
-pkgrel=4
+pkgrel=5
 pkgdesc="Exposes the native endianness or byte ordering of the system."
 url="http://community.haskell.org/~aslatter/code/byteorder"
 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")
-sha256sums=('bd20bbb586947f99c38a4c93d9d0266f49f6fc581767b51ba568f6d5d52d2919')
+sha512sums=('970f74a394947b023ab88fa7bc713478b50565e3e9535479ec641283f18e04cb952788334b2ab38fafe723f2d398b1626af92f349abc11a6c6ca5a6974653025')
 
 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