[arch-commits] Commit in haskell-x509-validation/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 05:28:32 UTC 2017
Date: Thursday, June 15, 2017 @ 05:28:32
Author: felixonmars
Revision: 237034
upgpkg: haskell-x509-validation 1.6.5-19
rebuild with ghc,8.0.2
Modified:
haskell-x509-validation/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++++++-----
1 file changed, 8 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 05:26:46 UTC (rev 237033)
+++ PKGBUILD 2017-06-15 05:28:32 UTC (rev 237034)
@@ -5,14 +5,14 @@
_hkgname=x509-validation
pkgname=haskell-x509-validation
pkgver=1.6.5
-pkgrel=18
+pkgrel=19
pkgdesc="X.509 Certificate and CRL validation"
url="http://github.com/vincenthz/hs-certificate"
license=("custom:BSD3")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-asn1-encoding" "haskell-asn1-types" "haskell-byteable"
- "haskell-cryptonite" "haskell-data-default-class" "haskell-hourglass"
- "haskell-memory" "haskell-mtl" "haskell-pem" "haskell-x509" "haskell-x509-store")
+depends=("ghc" "haskell-asn1-encoding" "haskell-asn1-types" "haskell-byteable" "haskell-cryptonite"
+ "haskell-data-default-class" "haskell-hourglass" "haskell-memory" "haskell-mtl"
+ "haskell-pem" "haskell-x509" "haskell-x509-store")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('d1f73197677b6d19795fc80e4a1fa93e810d567ee4e3edc74e841b3eb20e1ca4')
@@ -19,7 +19,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
runhaskell Setup build
@@ -40,4 +40,7 @@
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