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

Felix Yan felixonmars at archlinux.org
Tue May 12 09:39:29 UTC 2020


    Date: Tuesday, May 12, 2020 @ 09:39:29
  Author: felixonmars
Revision: 626646

upgpkg: haskell-resolv 0.1.2.0-2: rebuild with tasty 1.3

Modified:
  haskell-resolv/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++++-
 1 file changed, 6 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-12 09:37:01 UTC (rev 626645)
+++ PKGBUILD	2020-05-12 09:39:29 UTC (rev 626646)
@@ -3,7 +3,7 @@
 _hkgname=resolv
 pkgname=haskell-resolv
 pkgver=0.1.2.0
-pkgrel=1
+pkgrel=2
 pkgdesc="Domain Name Service (DNS) lookup via the libresolv standard library routines"
 url="https://github.com/hvr/resolv"
 license=('GPL')
@@ -13,6 +13,11 @@
 source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
 sha512sums=('fae2d0717a109b0d6cc19c51c773bc68c64c0048b9d930528cf5622ee270ebaddec180c1d444542e8eb036262611f5b88deadeea223fb2ef2b15b41369a2376e')
 
+prepare() {
+    cd $_hkgname-$pkgver
+    sed -i 's/1.2.3/1.3/' $_hkgname.cabal
+}
+
 build() {
     cd $_hkgname-$pkgver
     


More information about the arch-commits mailing list