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

Felix Yan felixonmars at archlinux.org
Mon Feb 10 12:00:17 UTC 2020


    Date: Monday, February 10, 2020 @ 12:00:16
  Author: felixonmars
Revision: 565848

upgpkg: haskell-pantry 0.2.0.0.20200204-1

Modified:
  haskell-pantry/trunk/PKGBUILD

----------+
 PKGBUILD |   39 +++++++++++++++++++--------------------
 1 file changed, 19 insertions(+), 20 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-02-10 11:55:52 UTC (rev 565847)
+++ PKGBUILD	2020-02-10 12:00:16 UTC (rev 565848)
@@ -2,39 +2,38 @@
 
 _hkgname=pantry
 pkgname=haskell-pantry
-pkgver=0.1.1.1
-pkgrel=93
+pkgver=0.2.0.0.20200204
+_commit=86462a97c4d8091993cc6e246fd0f2ae5aa608f0
+pkgrel=1
 pkgdesc="Content addressable Haskell package management"
 url="https://github.com/commercialhaskell/pantry"
 license=('BSD')
 arch=('x86_64')
-depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-base-orphans'
-         'haskell-base64-bytestring' 'haskell-conduit' 'haskell-conduit-extra'
-         'haskell-contravariant' 'haskell-cryptonite' 'haskell-cryptonite-conduit'
-         'haskell-digest' 'haskell-filelock' 'haskell-generic-deriving' 'haskell-hackage-security'
-         'haskell-hashable' 'haskell-hpack' 'haskell-http-client' 'haskell-http-client-tls'
+depends=('ghc-libs' 'haskell-aeson' 'haskell-ansi-terminal' 'haskell-casa-client'
+         'haskell-casa-types' 'haskell-conduit' 'haskell-conduit-extra' 'haskell-cryptonite'
+         'haskell-cryptonite-conduit' 'haskell-digest' 'haskell-filelock' 'haskell-generic-deriving'
+         'haskell-hackage-security' 'haskell-hpack' 'haskell-http-client' 'haskell-http-client-tls'
          'haskell-http-conduit' 'haskell-http-download' 'haskell-http-types' 'haskell-memory'
-         'haskell-mono-traversable' 'haskell-network' 'haskell-network-uri' 'haskell-path'
-         'haskell-path-io' 'haskell-persistent' 'haskell-persistent-sqlite'
-         'haskell-persistent-template' 'haskell-primitive' 'haskell-resourcet' 'haskell-rio'
-         'haskell-rio-orphans' 'haskell-rio-prettyprint' 'haskell-safe' 'haskell-syb'
-         'haskell-tar-conduit' 'haskell-text-metrics' 'haskell-th-lift' 'haskell-th-lift-instances'
-         'haskell-th-orphans' 'haskell-th-reify-many' 'haskell-th-utilities' 'haskell-unix-compat'
-         'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector' 'haskell-yaml'
-         'haskell-zip-archive')
+         'haskell-mono-traversable' 'haskell-network-uri' 'haskell-path' 'haskell-path-io'
+         'haskell-persistent' 'haskell-persistent-sqlite' 'haskell-persistent-template'
+         'haskell-primitive' 'haskell-resourcet' 'haskell-rio' 'haskell-rio-orphans'
+         'haskell-rio-prettyprint' 'haskell-tar-conduit' 'haskell-text-metrics'
+         'haskell-unix-compat' 'haskell-unliftio' 'haskell-unordered-containers' 'haskell-vector'
+         'haskell-yaml' 'haskell-zip-archive')
 makedepends=('ghc' 'haskell-hedgehog' 'haskell-hspec' 'haskell-quickcheck' 'haskell-raw-strings-qq')
 checkdepends=('git' 'mercurial')
-source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz)
-sha512sums=('aee544d5c18f7f1d8614470d236fb8e0f3d9260991b8ee895a5c7c863dd3023677260330fd34d9d30789780efb84f3faa49823827fe7aae69165eb9468b13a62')
+source=($_hkgname-$_commit.tar.gz::https://github.com/commercialhaskell/pantry/archive/$_commit.tar.gz)
+sha512sums=('c8a979738b245ac60c7c895996b9307b6709567e9b1d4e94369c4f714e03e6e9db19945464e7d22504e82674b53eb8171323c44c348c1e44e3b6a3d510e50b35')
 
 prepare() {
+    mv $_hkgname-{$_commit,$pkgver}
     cd $_hkgname-$pkgver
     echo -e "import Distribution.Simple\nmain = defaultMain" > Setup.hs
 }
 
 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 --enable-tests \
         --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid
@@ -52,7 +51,7 @@
 
 package() {
     cd $_hkgname-$pkgver
-    
+
     install -D -m744 register.sh "$pkgdir"/usr/share/haskell/register/$pkgname.sh
     install -D -m744 unregister.sh "$pkgdir"/usr/share/haskell/unregister/$pkgname.sh
     runhaskell Setup copy --destdir="$pkgdir"



More information about the arch-commits mailing list