[arch-commits] Commit in haskell-terminal-size/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sat Sep 23 15:21:19 UTC 2017
Date: Saturday, September 23, 2017 @ 15:21:18
Author: felixonmars
Revision: 260010
upgpkg: haskell-terminal-size 0.3.2.1-5
Modified:
haskell-terminal-size/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++------
1 file changed, 3 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-09-23 15:21:05 UTC (rev 260009)
+++ PKGBUILD 2017-09-23 15:21:18 UTC (rev 260010)
@@ -5,7 +5,7 @@
_hkgname=terminal-size
pkgname=haskell-terminal-size
pkgver=0.3.2.1
-pkgrel=4
+pkgrel=5
pkgdesc="Get terminal window height and width"
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=('b5c23e964756bc13914649a67d63233f59ad0a813abe7cadeb2fc9d586dc9658')
+sha512sums=('1e04705dda8ade9a06f8b369f1033a93ffb94a1b959a556e11f2373b25924adbbab4be0f3e077394e1023e0054044739df13406b69153c1542f4083be82a1584')
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