[arch-commits] Commit in haskell-hslua/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 17:05:30 UTC 2017
Date: Thursday, June 15, 2017 @ 17:05:30
Author: felixonmars
Revision: 237283
upgpkg: haskell-hslua 0.4.1-4
rebuild with ghc,8.0.2
Modified:
haskell-hslua/trunk/PKGBUILD
----------+
PKGBUILD | 9 ++++++---
1 file changed, 6 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 17:03:35 UTC (rev 237282)
+++ PKGBUILD 2017-06-15 17:05:30 UTC (rev 237283)
@@ -5,12 +5,12 @@
_hkgname=hslua
pkgname=haskell-hslua
pkgver=0.4.1
-pkgrel=3
+pkgrel=4
pkgdesc="A Lua language interpreter embedding in Haskell"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1")
+depends=("ghc")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('2df2b4f0566ef2244506f9830e0207fce3bece7c331129f69f446c722136173f')
@@ -17,7 +17,7 @@
build() {
cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup configure -O --enable-library-profiling --enable-shared \
+ runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
--prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
--libsubdir=\$compiler/site-local/\$pkgid \
-f-luajit -f-apicheck -f-system-lua
@@ -39,4 +39,7 @@
runhaskell Setup copy --destdir="${pkgdir}"
install -D -m644 "COPYRIGHT" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYRIGHT"
+
+ # Remove static libs
+ find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list