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

Felix Yan felixonmars at archlinux.org
Wed Mar 4 16:30:15 UTC 2020


    Date: Wednesday, March 4, 2020 @ 16:30:14
  Author: felixonmars
Revision: 590283

upgpkg: haskell-pantry 0.3.0.0-1: rebuild with pantry 0.3.0.0

Modified:
  haskell-pantry/trunk/PKGBUILD

----------+
 PKGBUILD |   10 ++++------
 1 file changed, 4 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-03-04 16:14:17 UTC (rev 590282)
+++ PKGBUILD	2020-03-04 16:30:14 UTC (rev 590283)
@@ -2,9 +2,8 @@
 
 _hkgname=pantry
 pkgname=haskell-pantry
-pkgver=0.2.0.0.20200204
-_commit=86462a97c4d8091993cc6e246fd0f2ae5aa608f0
-pkgrel=45
+pkgver=0.3.0.0
+pkgrel=1
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry"
 license=('BSD')
@@ -22,11 +21,10 @@
          'haskell-yaml' 'haskell-zip-archive')
 makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-quickcheck' 'haskell-raw-strings-qq')
 checkdepends=('git' 'mercurial')
-source=($_hkgname-$_commit.tar.gz::https://github.com/commercialhaskell/pantry/archive/$_commit.tar.gz)
-sha512sums=('c8a979738b245ac60c7c895996b9307b6709567e9b1d4e94369c4f714e03e6e9db19945464e7d22504e82674b53eb8171323c44c348c1e44e3b6a3d510e50b35')
+source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
+sha512sums=('4322f6f74a02aa2878f15269cb764fdd66df3adf6dd6427e0d8c37dddfd3ff3a18a73d4591f506e39b55b39bb1b3dac879d71efee20ef19a864beb556d4803ae')
 
 prepare() {
-    mv $_hkgname-{$_commit,$pkgver}
     cd $_hkgname-$pkgver
     echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
 }



More information about the arch-commits mailing list