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

Felix Yan felixonmars at archlinux.org
Wed Feb 10 22:25:23 UTC 2021


    Date: Wednesday, February 10, 2021 @ 22:25:23
  Author: felixonmars
Revision: 854441

upgpkg: haskell-libmpd 0.10.0.0-1: rebuild with libmpd 0.10.0.0

Modified:
  haskell-libmpd/trunk/PKGBUILD

----------+
 PKGBUILD |   17 +++++++++--------
 1 file changed, 9 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-02-10 22:22:22 UTC (rev 854440)
+++ PKGBUILD	2021-02-10 22:25:23 UTC (rev 854441)
@@ -6,8 +6,8 @@
 
 _hkgname=libmpd
 pkgname=haskell-libmpd
-pkgver=0.9.3.0
-pkgrel=19
+pkgver=0.10.0.0
+pkgrel=1
 pkgdesc='Client library for MPD, the Music Player Daemon'
 url='https://hackage.haskell.org/package/libmpd'
 license=('MIT')
@@ -14,12 +14,13 @@
 arch=('x86_64')
 depends=('ghc-libs' 'haskell-attoparsec' 'haskell-data-default-class' 'haskell-network'
          'haskell-safe-exceptions' 'haskell-utf8-string')
-makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz)
-sha512sums=('15f1700443513a5fb0cdff78c4bbf07dde6a27bb124480124eb5a5d5c41822d4514f591ce3c456226cf6e5eafed7a387addd55d19ff6e09603da36f25d091b3b')
+makedepends=('ghc' 'haskell-quickcheck' 'haskell-hspec' 'haskell-hspec-discover')
+#source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz)
+source=("https://hackage.haskell.org/packages/archive/$_hkgname/$pkgver/$_hkgname-$pkgver.tar.gz")
+sha512sums=('33b2af4cbbcc2c6bb2f05ada685d8870ca5132559f8f0505da39f0deb290f1e15028d783c9b28fc51f785ed86878fbf40bb0be0487612cc2b600eaf619114c11')
 
 build() {
-  cd ${_hkgname}-haskell-${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
@@ -32,12 +33,12 @@
 }
 
 check() {
-  cd ${_hkgname}-haskell-${pkgver}
+  cd ${_hkgname}-${pkgver}
   runhaskell Setup test
 }
 
 package() {
-  cd ${_hkgname}-haskell-${pkgver}
+  cd ${_hkgname}-${pkgver}
   install -Dm 744 register.sh "${pkgdir}/usr/share/haskell/register/${pkgname}.sh"
   install -Dm 744 unregister.sh "${pkgdir}/usr/share/haskell/unregister/${pkgname}.sh"
   install -dm 755 "${pkgdir}/usr/share/doc/ghc/html/libraries"



More information about the arch-commits mailing list