[arch-commits] Commit in haskell-tz/trunk (PKGBUILD)
Jelle van der Waa
jelle at archlinux.org
Sat Jan 4 19:39:17 UTC 2020
Date: Saturday, January 4, 2020 @ 19:39:17
Author: jelle
Revision: 548317
upgpkg: haskell-tz 0.1.3.3-3
Enable PIE/RELRO
Modified:
haskell-tz/trunk/PKGBUILD
----------+
PKGBUILD | 16 +++++++++++-----
1 file changed, 11 insertions(+), 5 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-01-04 19:39:14 UTC (rev 548316)
+++ PKGBUILD 2020-01-04 19:39:17 UTC (rev 548317)
@@ -1,13 +1,16 @@
+# Maintainer: Jelle van der Waa <jelle at archlinux.org>
_hkgname=tz
pkgname=haskell-tz
pkgver=0.1.3.3
-pkgrel=2
+pkgrel=3
pkgdesc='Efficient time zone handling'
arch=(x86_64)
url='https://hackage.haskell.org/package/tz'
license=(BSD)
depends=(ghc-libs haskell-vector haskell-data-default haskell-tzdata)
+checkdepends=(haskell-test-framework-th haskell-hunit haskell-quickcheck
+ haskell-test-framework-quickcheck2 haskell-test-framework-hunit)
makedepends=(ghc)
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
sha512sums=('54dacfde056e5f860062e1dcf9fe9a384e8725bb195d404b4b9a24ff50faaa777ff077330e06f336d369a61a855c0e09e3475477e1b34030dbab6d7c661a2452')
@@ -16,8 +19,12 @@
cd $_hkgname-$pkgver
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
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
+ --enable-tests \
+ --ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
+ --ghc-option='-pie'
+
runhaskell Setup build
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
@@ -27,8 +34,7 @@
check() {
cd $_hkgname-$pkgver
-# package: test-framework-th
-# runhaskell Setup test
+ runhaskell Setup test
}
package() {
More information about the arch-commits
mailing list