[arch-commits] Commit in haskell-magic/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 05:28:29 UTC 2017
Date: Saturday, September 23, 2017 @ 05:28:29
Author: felixonmars
Revision: 259844
upgpkg: haskell-magic 1.1-5
Modified:
haskell-magic/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 05:24:02 UTC (rev 259843)
+++ PKGBUILD 2017-09-23 05:28:29 UTC (rev 259844)
@@ -5,7 +5,7 @@
_hkgname=magic
pkgname=haskell-magic
pkgver=1.1
-pkgrel=4
+pkgrel=5
pkgdesc="Interface to C file/magic library"
url="https://hackage.haskell.org/package/magic"
license=("custom:BSD3")
@@ -13,12 +13,12 @@
depends=('ghc-libs' "file")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('b21c3b69f57b64199c1d7be0ac8ea1d02d698be59943058f6a2d642ea57ce082')
+sha512sums=('f400396b0f82f9655376ac72e721badcf60c356c8594b4b67922890f55bac8e15b7aa856fdf61942c40b2622bdc231914994968af3b98d353bf50aed09ebbef5')
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 "COPYING" "${pkgdir}/usr/share/licenses/${pkgname}/COPYING"
rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
}
More information about the arch-commits
mailing list