[arch-commits] Commit in arch-hs/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Nov 5 06:12:43 UTC 2021
Date: Friday, November 5, 2021 @ 06:12:43
Author: felixonmars
Revision: 1037056
upgpkg: arch-hs 0.9.1.0-48: rebuild with megaparsec 9.2.0
Modified:
arch-hs/trunk/PKGBUILD
----------+
PKGBUILD | 9 +++++++--
1 file changed, 7 insertions(+), 2 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-05 06:10:19 UTC (rev 1037055)
+++ PKGBUILD 2021-11-05 06:12:43 UTC (rev 1037056)
@@ -3,7 +3,7 @@
pkgname=arch-hs
pkgver=0.9.1.0
-pkgrel=47
+pkgrel=48
pkgdesc="Distribute hackage packages to archlinux"
arch=('x86_64')
url="https://github.com/berberman/arch-hs"
@@ -14,7 +14,7 @@
'haskell-microlens-th' 'haskell-neat-interpolation' 'haskell-optparse-simple'
'haskell-polysemy' 'haskell-prettyprinter' 'haskell-prettyprinter-ansi-terminal'
'haskell-servant-client' 'haskell-split' 'haskell-tar-conduit')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
source=("https://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz")
sha512sums=('aa7b011dd2753b596df53f4adce4a131ef42fffe37eb5bfd815678b1d34bc87f83f1af36a9fc9db34b5c7d5b68e48120bab7abedfe92e0cc7530feba91c04f83')
@@ -30,6 +30,11 @@
install -D -m644 fish${1} "$pkgdir/usr/share/fish/vendor_completions.d/arch-hs${1}.fish"
}
+prepare() {
+ cd $pkgname-$pkgver
+ uusi -u megaparsec $pkgname.cabal
+}
+
build() {
cd $pkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
More information about the arch-commits
mailing list