[arch-commits] Commit in haskell-bindings-uname/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Sep 24 08:36:43 UTC 2017
Date: Sunday, September 24, 2017 @ 08:36:43
Author: felixonmars
Revision: 260381
upgpkg: haskell-bindings-uname 0.1-3
Modified:
haskell-bindings-uname/trunk/PKGBUILD
----------+
PKGBUILD | 7 ++-----
1 file changed, 2 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-24 08:36:32 UTC (rev 260380)
+++ PKGBUILD 2017-09-24 08:36:43 UTC (rev 260381)
@@ -5,7 +5,7 @@
_hkgname=bindings-uname
pkgname=haskell-bindings-uname
pkgver=0.1
-pkgrel=2
+pkgrel=3
pkgdesc="Low-level binding to POSIX uname(3)"
url="https://hackage.haskell.org/package/bindings-uname"
license=("custom:PublicDomain")
@@ -18,7 +18,7 @@
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
@@ -34,7 +34,4 @@
install -D -m744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
install -D -m744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
runhaskell Setup copy --destdir="${pkgdir}"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list