[arch-commits] Commit in haskell-texmath/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Jun 15 18:02:09 UTC 2017
Date: Thursday, June 15, 2017 @ 18:02:09
Author: felixonmars
Revision: 237325
upgpkg: haskell-texmath 0.9.4-11
rebuild with ghc,8.0.2
Modified:
haskell-texmath/trunk/PKGBUILD
----------+
PKGBUILD | 11 +++++++----
1 file changed, 7 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2017-06-15 17:57:25 UTC (rev 237324)
+++ PKGBUILD 2017-06-15 18:02:09 UTC (rev 237325)
@@ -5,13 +5,13 @@
_hkgname=texmath
pkgname=haskell-texmath
pkgver=0.9.4
-pkgrel=10
+pkgrel=11
pkgdesc="Conversion between formats used to represent mathematics."
url="http://github.com/jgm/texmath"
license=("GPL")
arch=('i686' 'x86_64')
-depends=("ghc=8.0.1" "haskell-mtl" "haskell-network-uri" "haskell-pandoc-types"
- "haskell-parsec" "haskell-syb" "haskell-xml")
+depends=("ghc" "haskell-mtl" "haskell-network-uri" "haskell-pandoc-types" "haskell-parsec"
+ "haskell-syb" "haskell-xml")
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha256sums=('da665d069708679fb40ee2e981dcdede55e79f3165c0ae09c55621273e682195')
@@ -18,7 +18,7 @@
build() {
cd $_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 \
-fnetwork-uri -f-executable
@@ -40,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