Date: Thursday, March 15, 2018 @ 02:44:33 Author: anthraxx Revision: 307909
upgpkg: haskell-libmpd 0.9.0.8-1 Modified: haskell-libmpd/trunk/PKGBUILD ----------+ PKGBUILD | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) Modified: PKGBUILD =================================================================== --- PKGBUILD 2018-03-15 02:41:33 UTC (rev 307908) +++ PKGBUILD 2018-03-15 02:44:33 UTC (rev 307909) @@ -6,8 +6,8 @@ _hkgname=libmpd pkgname=haskell-libmpd -pkgver=0.9.0.7 -pkgrel=18 +pkgver=0.9.0.8 +pkgrel=1 pkgdesc='Client library for MPD, the Music Player Daemon' url='https://hackage.haskell.org/package/libmpd' license=('MIT') @@ -16,11 +16,11 @@ 'haskell-filepath' 'haskell-mtl' 'haskell-network' 'haskell-text' 'haskell-time' 'haskell-utf8-string' 'haskell-primitive') makedepends=('ghc') -source=(https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) -sha512sums=('bdac04905cefd9035769c66c5726cc375697afd5e29a8c59e5bfe7b2e3d4ba4bd44f65962f879377f6dd9587771d505da5f47f8e6a36f389ebbcdf5188b3de33') +source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz) +sha512sums=('5cc24fe3a81f59b9a7dff96771e9e5312a5e64e0947e191439447838f00f176fc5dbe086fb8fc774dd4896480eb552640e4f0d93ab947f78bf01c72aa93f6907') build() { - cd ${_hkgname}-${pkgver} + cd ${_hkgname}-haskell-${pkgver} runhaskell Setup configure -O --enable-shared --enable-executable-dynamic --disable-library-vanilla \ --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid @@ -32,7 +32,7 @@ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh } package() { - cd ${_hkgname}-${pkgver} + cd ${_hkgname}-haskell-${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"
