[arch-commits] Commit in haskell-yesod-persistent/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 21 17:42:35 UTC 2018
Date: Monday, May 21, 2018 @ 17:42:34
Author: felixonmars
Revision: 326440
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD
(from rev 326439, haskell-yesod-persistent/trunk/PKGBUILD)
Deleted:
haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 92 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 46 insertions(+), 46 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 17:42:04 UTC (rev 326439)
+++ PKGBUILD 2018-05-21 17:42:34 UTC (rev 326440)
@@ -1,46 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=yesod-persistent
-pkgname=haskell-yesod-persistent
-pkgver=1.6.0
-pkgrel=5
-pkgdesc="Some helpers for using Persistent from Yesod."
-url="http://www.yesodweb.com/"
-license=("MIT")
-arch=('x86_64')
-depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" "haskell-persistent"
- "haskell-persistent-template" "haskell-resource-pool" "haskell-resourcet"
- "haskell-yesod-core")
-makedepends=('ghc' 'haskell-hspec' 'haskell-wai-extra' 'haskell-persistent-sqlite')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('8000d9f9a3406aff157652989946b915ba54e4241e59afc29c51c647f5c45d05cad7d46a92423fa3811a9a6238f6a4a759320309b337d369346fe5470d927982')
-
-build() {
- cd "${srcdir}/${_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
- runhaskell Setup build
- 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
-}
-
-check() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
- runhaskell Setup test
-}
-
-package() {
- cd "${srcdir}/${_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}"
- install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
-}
Copied: haskell-yesod-persistent/repos/community-staging-x86_64/PKGBUILD (from rev 326439, haskell-yesod-persistent/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-21 17:42:34 UTC (rev 326440)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=yesod-persistent
+pkgname=haskell-yesod-persistent
+pkgver=1.6.0
+pkgrel=6
+pkgdesc="Some helpers for using Persistent from Yesod."
+url="http://www.yesodweb.com/"
+license=("MIT")
+arch=('x86_64')
+depends=('ghc-libs' "haskell-blaze-builder" "haskell-conduit" "haskell-persistent"
+ "haskell-persistent-template" "haskell-resource-pool" "haskell-resourcet"
+ "haskell-yesod-core")
+makedepends=('ghc' 'haskell-hspec' 'haskell-wai-extra' 'haskell-persistent-sqlite')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('8000d9f9a3406aff157652989946b915ba54e4241e59afc29c51c647f5c45d05cad7d46a92423fa3811a9a6238f6a4a759320309b337d369346fe5470d927982')
+
+build() {
+ cd "${srcdir}/${_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
+ runhaskell Setup build
+ 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
+}
+
+check() {
+ cd "${srcdir}/${_hkgname}-${pkgver}"
+ runhaskell Setup test
+}
+
+package() {
+ cd "${srcdir}/${_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}"
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE"
+}
More information about the arch-commits
mailing list