[arch-commits] Commit in haskell-persistent-template/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 16:23:46 UTC 2017
Date: Thursday, June 15, 2017 @ 16:23:45
Author: felixonmars
Revision: 237228
upgpkg: haskell-persistent-template 2.5.2-38
rebuild with ghc,8.0.2
Modified:
haskell-persistent-template/trunk/PKGBUILD
----------+
PKGBUILD | 14 ++++++++------
1 file changed, 8 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 16:21:20 UTC (rev 237227)
+++ PKGBUILD 2017-06-15 16:23:45 UTC (rev 237228)
@@ -5,15 +5,14 @@
_hkgname=persistent-template
pkgname=haskell-persistent-template
pkgver=2.5.2
-pkgrel=37
+pkgrel=38
pkgdesc="Type-safe, non-relational, multi-backend persistence"
url="http://www.yesodweb.com/book/persistent"
license=("MIT")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-aeson" "haskell-aeson-compat" "haskell-http-api-data"
- "haskell-monad-control" "haskell-monad-logger" "haskell-path-pieces"
- "haskell-persistent" "haskell-tagged" "haskell-text"
- "haskell-unordered-containers")
+depends=("ghc" "haskell-aeson" "haskell-aeson-compat" "haskell-http-api-data"
+ "haskell-monad-control" "haskell-monad-logger" "haskell-path-pieces" "haskell-persistent"
+ "haskell-tagged" "haskell-text" "haskell-unordered-containers")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('de695b008158f9ae66d103fc33f89c098ebcf59337367063d9f4f816a58b4011')
@@ -20,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
@@ -41,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