[arch-commits] Commit in haskell-libmpd/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Tue May 22 03:44:40 UTC 2018
Date: Tuesday, May 22, 2018 @ 03:44:39
Author: felixonmars
Revision: 326804
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-libmpd/repos/community-staging-x86_64/PKGBUILD
(from rev 326803, haskell-libmpd/trunk/PKGBUILD)
Deleted:
haskell-libmpd/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-22 03:44:14 UTC (rev 326803)
+++ PKGBUILD 2018-05-22 03:44:39 UTC (rev 326804)
@@ -1,46 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributer: Colin Woodbury <colingw at gmail.com>
-# Contributer: Leif Warner <abimelech at gmail.com>
-# Contributor: Cedric Girard <girard.cedric at gmail.com>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=libmpd
-pkgname=haskell-libmpd
-pkgver=0.9.0.8
-pkgrel=9
-pkgdesc='Client library for MPD, the Music Player Daemon'
-url='https://hackage.haskell.org/package/libmpd'
-license=('MIT')
-arch=('x86_64')
-depends=('ghc-libs' 'gmp' 'haskell-attoparsec' 'haskell-bytestring' 'haskell-containers' 'haskell-data-default'
- 'haskell-filepath' 'haskell-network' 'haskell-time' 'haskell-utf8-string'
- 'haskell-primitive')
-makedepends=('ghc')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz)
-sha512sums=('5cc24fe3a81f59b9a7dff96771e9e5312a5e64e0947e191439447838f00f176fc5dbe086fb8fc774dd4896480eb552640e4f0d93ab947f78bf01c72aa93f6907')
-
-build() {
- 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
- runhaskell Setup build
- runhaskell Setup haddock
- runhaskell Setup register --gen-script
- runhaskell Setup unregister --gen-script
- sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
- sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
-}
-package() {
- 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"
- runhaskell Setup copy --destdir="${pkgdir}"
-
- install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
- install -Dm 644 README.md changelog.md -t "${pkgdir}/usr/share/doc/${pkgname}"
- ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
-}
-
-# vim: ts=2 sw=2 et:
Copied: haskell-libmpd/repos/community-staging-x86_64/PKGBUILD (from rev 326803, haskell-libmpd/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-22 03:44:39 UTC (rev 326804)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributer: Colin Woodbury <colingw at gmail.com>
+# Contributer: Leif Warner <abimelech at gmail.com>
+# Contributor: Cedric Girard <girard.cedric at gmail.com>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=libmpd
+pkgname=haskell-libmpd
+pkgver=0.9.0.8
+pkgrel=10
+pkgdesc='Client library for MPD, the Music Player Daemon'
+url='https://hackage.haskell.org/package/libmpd'
+license=('MIT')
+arch=('x86_64')
+depends=('ghc-libs' 'gmp' 'haskell-attoparsec' 'haskell-bytestring' 'haskell-containers' 'haskell-data-default'
+ 'haskell-filepath' 'haskell-network' 'haskell-time' 'haskell-utf8-string'
+ 'haskell-primitive')
+makedepends=('ghc')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/vimus/libmpd-haskell/archive/v${pkgver}.tar.gz)
+sha512sums=('5cc24fe3a81f59b9a7dff96771e9e5312a5e64e0947e191439447838f00f176fc5dbe086fb8fc774dd4896480eb552640e4f0d93ab947f78bf01c72aa93f6907')
+
+build() {
+ 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
+ runhaskell Setup build
+ runhaskell Setup haddock
+ runhaskell Setup register --gen-script
+ runhaskell Setup unregister --gen-script
+ sed -i -r -e "s|ghc-pkg.*update[^ ]* |&'--force' |" register.sh
+ sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh
+}
+package() {
+ 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"
+ runhaskell Setup copy --destdir="${pkgdir}"
+
+ install -Dm 644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ install -Dm 644 README.md changelog.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+ ln -s /usr/share/doc/${pkgname}/html "${pkgdir}/usr/share/doc/ghc/html/libraries/${_hkgname}"
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list