[arch-commits] Commit in haskell-rerebase/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Tue Mar 29 08:54:53 UTC 2022


    Date: Tuesday, March 29, 2022 @ 08:54:53
  Author: felixonmars
Revision: 1177561

upgpkg: haskell-rerebase 1.15.0.3-1: rebuild with rebase 1.15.0.3, rerebase 1.15.0.3

Modified:
  haskell-rerebase/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-03-29 08:54:49 UTC (rev 1177560)
+++ PKGBUILD	2022-03-29 08:54:53 UTC (rev 1177561)
@@ -3,7 +3,7 @@
 
 _hkgname=rerebase
 pkgname=haskell-rerebase
-pkgver=1.15
+pkgver=1.15.0.3
 pkgrel=1
 pkgdesc='Reexports from "base" with a bunch of other standard libraries'
 url="https://github.com/nikita-volkov/rerebase"
@@ -10,15 +10,20 @@
 license=("MIT")
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-rebase')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('4c07654d3c29d14ed5af96f8af06fb9deb204bcd89134bacae0424afe34327c748b4aa87666228f80bcc23527daaa438c451e931e26d665bac2853fa8fe22b65')
+sha512sums=('7887c40a92a84df9361e7745c001476d6e0984c9da973f841feb3f6a413062d16a5dfe4be3171ee8d0bb96a9554384e831a1a4217eef764b97c726051c22ae1f')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    gen-setup
+}
+
 build() {
     cd $_hkgname-$pkgver
 
     runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
-        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname \
+        --prefix=/usr --docdir=/usr/share/doc/$pkgname --datasubdir=$pkgname --enable-tests \
         --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