[arch-commits] Commit in haskell-microlens-ghc/trunk (PKGBUILD)
Felix Yan
felixonmars at gemini.archlinux.org
Fri Jun 10 13:54:47 UTC 2022
Date: Friday, June 10, 2022 @ 13:54:47
Author: felixonmars
Revision: 1230200
upgpkg: haskell-microlens-ghc 0.4.13.1-2: rebuild with microlens 0.4.13.0
Modified:
haskell-microlens-ghc/trunk/PKGBUILD
----------+
PKGBUILD | 11 ++++++++---
1 file changed, 8 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2022-06-10 13:54:40 UTC (rev 1230199)
+++ PKGBUILD 2022-06-10 13:54:47 UTC (rev 1230200)
@@ -4,21 +4,26 @@
_hkgname=microlens-ghc
pkgname=haskell-microlens-ghc
pkgver=0.4.13.1
-pkgrel=1
+pkgrel=2
pkgdesc="microlens + array, bytestring, containers, transformers"
url="https://github.com/monadfix/microlens"
license=("BSD")
arch=('x86_64')
depends=('ghc-libs' 'haskell-microlens')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
sha512sums=('d383f4ad2ab13a89001522bec5765290bccc9c17a634b545cb4ef366c13a36eb0c6826ee2aed41356c79bee651ef007d7b6810ca859be841b1a6c5d35d283cb0')
+prepare() {
+ cd $_hkgname-$pkgver
+ uusi -u microlens $_hkgname.cabal
+}
+
build() {
cd $_hkgname-$pkgver
runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
- --prefix=/usr --docdir=/usr/share/doc/$pkgname \
+ --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
--dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid --ghc-option=-fllvm
runhaskell Setup build $MAKEFLAGS
runhaskell Setup register --gen-script
More information about the arch-commits
mailing list