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

Felix Yan felixonmars at archlinux.org
Thu Oct 22 19:51:20 UTC 2020


    Date: Thursday, October 22, 2020 @ 19:51:20
  Author: felixonmars
Revision: 730048

upgpkg: haskell-tz 0.1.3.3-61: rebuild with tzdata 0.2.20201021.0

Modified:
  haskell-tz/trunk/PKGBUILD

----------+
 PKGBUILD |   10 +++++++---
 1 file changed, 7 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-10-22 19:49:51 UTC (rev 730047)
+++ PKGBUILD	2020-10-22 19:51:20 UTC (rev 730048)
@@ -3,7 +3,7 @@
 _hkgname=tz
 pkgname=haskell-tz
 pkgver=0.1.3.3
-pkgrel=60
+pkgrel=61
 pkgdesc='Efficient time zone handling'
 arch=(x86_64)
 url='https://hackage.haskell.org/package/tz'
@@ -11,12 +11,16 @@
 depends=(ghc-libs haskell-vector haskell-data-default haskell-tzdata)
 checkdepends=(haskell-test-framework-th haskell-hunit haskell-quickcheck
               haskell-test-framework-quickcheck2 haskell-test-framework-hunit)
-makedepends=(ghc)
+makedepends=(ghc uusi)
 source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
 sha512sums=('54dacfde056e5f860062e1dcf9fe9a384e8725bb195d404b4b9a24ff50faaa777ff077330e06f336d369a61a855c0e09e3475477e1b34030dbab6d7c661a2452')
 
+prepare() {
+  uusi $_hkgname-$pkgver/$_hkgname.cabal
+}
+
 build() {
-  cd $_hkgname-$pkgver    
+  cd $_hkgname-$pkgver
     
   runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \
     --prefix=/usr --docdir=/usr/share/doc/$pkgname \



More information about the arch-commits mailing list