[arch-commits] Commit in haskell-hostname/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 17:21:39 UTC 2017
Date: Saturday, September 23, 2017 @ 17:21:38
Author: felixonmars
Revision: 260234
upgpkg: haskell-hostname 1.0-6
Modified:
haskell-hostname/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 17:21:26 UTC (rev 260233)
+++ PKGBUILD 2017-09-23 17:21:38 UTC (rev 260234)
@@ -5,7 +5,7 @@
_hkgname=hostname
pkgname=haskell-hostname
pkgver=1.0
-pkgrel=5
+pkgrel=6
pkgdesc="A very simple package providing a cross-platform means of determining the hostname"
url="https://hackage.haskell.org/package/${_hkgname}"
license=("custom:BSD3")
@@ -13,12 +13,12 @@
depends=('ghc-libs')
makedepends=('ghc')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha256sums=('9b43dab1b6da521f35685b20555da00738c8e136eb972458c786242406a9cf5c')
+sha512sums=('6e879490e45b20a50b6f2f6bb5f613c1697344e03ec569332587c56e016bb71f742564781682dc8cad3f3fca07f38054ba0862099dc0377857a9e3eb337077ed')
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