[arch-commits] Commit in haskell-template-haskell-compat-v0208/trunk (PKGBUILD)

Felix Yan felixonmars at gemini.archlinux.org
Mon Jun 6 15:46:43 UTC 2022


    Date: Monday, June 6, 2022 @ 15:46:43
  Author: felixonmars
Revision: 1226774

upgpkg: haskell-template-haskell-compat-v0208 0.1.9-1: rebuild with template-haskell-compat-v0208 0.1.9

Modified:
  haskell-template-haskell-compat-v0208/trunk/PKGBUILD

----------+
 PKGBUILD |   15 ++++++++++-----
 1 file changed, 10 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-06-06 14:39:12 UTC (rev 1226773)
+++ PKGBUILD	2022-06-06 15:46:43 UTC (rev 1226774)
@@ -2,22 +2,27 @@
 
 _hkgname=template-haskell-compat-v0208
 pkgname=haskell-template-haskell-compat-v0208
-pkgver=0.1.7
-pkgrel=2
+pkgver=0.1.9
+pkgrel=1
 pkgdesc="A backwards compatibility layer for Template Haskell newer than 2.8"
 url="https://github.com/nikita-volkov/template-haskell-compat-v0208"
 license=('MIT')
 arch=('x86_64')
 depends=('ghc-libs')
-makedepends=('ghc')
+makedepends=('ghc' 'uusi')
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('1c9d4901413bc1bb1589c07a00d341ef33b7013eca668bf5a3357723fefd956c2acec56223ef8c2a44aa8c856fdc091ae174a09aa103fe4a33f240d4e8bce209')
+sha512sums=('e7ee7d78491f4be08928a84f6e5365f04afcfbc90d87c225b3252d628f6fa2a62fc211ffc8e17201cfaef9c42f7b5318070847fed22a73d254e22284c1e1d7c5')
 
+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 --enable-tests \
+        --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