[arch-commits] Commit in haskell-doctest-driver-gen/trunk (PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Mar 14 15:46:56 UTC 2021
Date: Sunday, March 14, 2021 @ 15:46:56
Author: felixonmars
Revision: 891206
upgpkg: haskell-doctest-driver-gen 0.3.0.3-1: rebuild with doctest-driver-gen 0.3.0.3
Modified:
haskell-doctest-driver-gen/trunk/PKGBUILD
----------+
PKGBUILD | 13 ++++---------
1 file changed, 4 insertions(+), 9 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-03-14 15:45:54 UTC (rev 891205)
+++ PKGBUILD 2021-03-14 15:46:56 UTC (rev 891206)
@@ -2,7 +2,7 @@
_hkgname=doctest-driver-gen
pkgname=haskell-doctest-driver-gen
-pkgver=0.3.0.2
+pkgver=0.3.0.3
pkgrel=1
pkgdesc="Generate driver file for doctest's cabal integration"
url="https://github.com/Hexirp/doctest-driver-gen#readme"
@@ -9,15 +9,10 @@
license=("BSD")
arch=('x86_64')
depends=('ghc-libs')
-makedepends=('ghc' 'uusi' 'haskell-doctest')
+makedepends=('ghc' 'haskell-doctest')
source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
-sha256sums=('5840c26d699339188e75ee0807778d1f011ea075f37a2a1c975ea1daae4b78f6')
+sha512sums=('2581a2ddb270490e716118c874133d57e8f138d2bc29600258cc84f8578b10b7b1f5ce336ba2a3f5767d06bad42681c03e8517021d053adb9275d7782b0f4b26')
-prepare() {
- cd $_hkgname-$pkgver
- uusi -u base $_hkgname.cabal
-}
-
build() {
cd $_hkgname-$pkgver
@@ -27,7 +22,7 @@
--ghc-option=-optl-Wl\,-z\,relro\,-z\,now \
--ghc-option='-pie'
- LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup build
+ LD_LIBRARY_PATH="$PWD/dist/build" runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
runhaskell Setup unregister --gen-script
sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
More information about the arch-commits
mailing list