[arch-commits] Commit in haskell-hscolour/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 17:45:10 UTC 2017
Date: Saturday, September 23, 2017 @ 17:45:10
Author: felixonmars
Revision: 260286
upgpkg: haskell-hscolour 1.24.1-4
Modified:
haskell-hscolour/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 17:44:50 UTC (rev 260285)
+++ PKGBUILD 2017-09-23 17:45:10 UTC (rev 260286)
@@ -5,7 +5,7 @@
_hkgname=hscolour
pkgname=haskell-hscolour
pkgver=1.24.1
-pkgrel=3
+pkgrel=4
pkgdesc="Colourise Haskell code."
url="http://code.haskell.org/~malcolm/hscolour/"
license=("LGPL")
@@ -13,12 +13,12 @@
depends=('ghc-libs')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('e46fe3de8ed6f96e2216b94b7608d01919bc86b15dd8d0ec7e71c0e7e5bf79c8')
+sha512sums=('3a04943283f2e9ce59f42a547b5972d5c73aa3bca4696dd736858b102477f9460998804325a82999b275ca9bbeeb8e8a22da45db22d4d97ff12418178eb6c377')
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}" --datasubdir="$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