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

Felix Yan felixonmars at archlinux.org
Mon Jun 21 17:51:41 UTC 2021


    Date: Monday, June 21, 2021 @ 17:51:41
  Author: felixonmars
Revision: 966549

upgpkg: haskell-path-io 1.6.3-4: rebuild with ghc 9.0.1, ghc-lib-parser-ex 9.0.0.4, one-liner 2.0, path 0.9.0, retrie 1.0.0.0

Modified:
  haskell-path-io/trunk/PKGBUILD

----------+
 PKGBUILD |    9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-06-21 17:49:24 UTC (rev 966548)
+++ PKGBUILD	2021-06-21 17:51:41 UTC (rev 966549)
@@ -5,7 +5,7 @@
 _hkgname=path-io
 pkgname=haskell-path-io
 pkgver=1.6.3
-pkgrel=3
+pkgrel=4
 pkgdesc="Interface to ‘directory’ package for users of ‘path’"
 url="https://github.com/mrkkrp/path-io"
 license=("BSD")
@@ -12,10 +12,15 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-dlist' 'haskell-path' 'haskell-temporary'
          'haskell-unix-compat')
-makedepends=('ghc' 'haskell-hspec')
+makedepends=('ghc' 'uusi' 'haskell-hspec')
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-${pkgver}.tar.gz")
 sha512sums=('d9d4e0d3a0b74677b8e29608254b1a4b5f306378400e8ec6d2b96ec4fd5b340ca20652684af558ec5ec5c401a18c4c9203adf7afbb1a602df0786459bc5bc774')
 
+prepare() {
+  cd $_hkgname-$pkgver
+  uusi -u path $_hkgname.cabal
+}
+
 build() {
   cd "$srcdir/$_hkgname-$pkgver"
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \



More information about the arch-commits mailing list