[arch-commits] Commit in haskell-socks/trunk (PKGBUILD)

Felix Yan felixonmars at archlinux.org
Fri Sep 22 14:19:22 UTC 2017


    Date: Friday, September 22, 2017 @ 14:19:21
  Author: felixonmars
Revision: 259486

upgpkg: haskell-socks 0.5.5-10

Modified:
  haskell-socks/trunk/PKGBUILD

----------+
 PKGBUILD |   11 ++++-------
 1 file changed, 4 insertions(+), 7 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-09-22 14:19:06 UTC (rev 259485)
+++ PKGBUILD	2017-09-22 14:19:21 UTC (rev 259486)
@@ -5,20 +5,20 @@
 _hkgname=socks
 pkgname=haskell-socks
 pkgver=0.5.5
-pkgrel=9
+pkgrel=10
 pkgdesc="Socks proxy (version 5) implementation."
-url="http://github.com/vincenthz/hs-socks"
+url="https://github.com/vincenthz/hs-socks"
 license=("custom:BSD3")
 arch=('i686' 'x86_64')
 depends=('ghc-libs' "haskell-cereal" "haskell-network")
 makedepends=('ghc')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('2647ea93e21ad1dfd77e942c022c8707e468d25e1ff672a88be82508034fc868')
+sha512sums=('cc811d0175d9a20c0aaec2eb593145908d25792f2ad5fb6b129564922bf8b64c3cda6b1424ac7e8ad2abfd1bcde7ece7ab717550266b75a5b360b4b729a768f5')
 
 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