[arch-commits] Commit in haskell-torrent/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 17:17:32 UTC 2017
Date: Saturday, September 23, 2017 @ 17:17:30
Author: felixonmars
Revision: 260226
upgpkg: haskell-torrent 10000.1.1-6
Modified:
haskell-torrent/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 17:17:16 UTC (rev 260225)
+++ PKGBUILD 2017-09-23 17:17:30 UTC (rev 260226)
@@ -5,7 +5,7 @@
_hkgname=torrent
pkgname=haskell-torrent
pkgver=10000.1.1
-pkgrel=5
+pkgrel=6
pkgdesc="BitTorrent file parser and generater"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -13,12 +13,12 @@
depends=('ghc-libs' "haskell-bencode" "haskell-syb")
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('2009964210e229ee67254a73fead3413f60299415238887fa7ef30e40e06fa54')
+sha512sums=('db4c18ca8df4fd32c45d6fc01333a5ef083136dfd5833f13300161ca393b6f3ebb2a8ca2b2f7e2bbf7019eb9484e0b3b067677a63fd41311e3dc7a17111f5a6c')
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 "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