[arch-commits] Commit in haskell-xcffib/repos/community-staging-x86_64 (2 files)
Felix Yan
felixonmars at archlinux.org
Mon May 21 10:53:28 UTC 2018
Date: Monday, May 21, 2018 @ 10:53:27
Author: felixonmars
Revision: 326026
archrelease: copy trunk to community-staging-x86_64
Added:
haskell-xcffib/repos/community-staging-x86_64/PKGBUILD
(from rev 326025, haskell-xcffib/trunk/PKGBUILD)
Deleted:
haskell-xcffib/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 88 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 44 insertions(+), 44 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-05-21 10:53:03 UTC (rev 326025)
+++ PKGBUILD 2018-05-21 10:53:27 UTC (rev 326026)
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-_hkgname=xcffib
-pkgname=haskell-xcffib
-pkgver=0.6.0
-pkgrel=26
-pkgdesc="A cffi-based python binding for X"
-url="https://github.com/tych0/xcffib"
-license=('Apache')
-arch=('x86_64')
-depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 'haskell-language-python'
- 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('99f391e5495ec1bfdef7707b49a783568b8ce610e2a5acb885bb8cb9b9c6608068667291d6b67732ec7b28c820b3cee76fb40cb96a2c952600d6763edf9251dc')
-
-prepare() {
- cd $_hkgname-$pkgver
- sed -i '/semigroups/d' $_hkgname.cabal
-}
-
-build() {
- cd "${srcdir}/${_hkgname}-${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 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 "${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-xcffib/repos/community-staging-x86_64/PKGBUILD (from rev 326025, haskell-xcffib/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-05-21 10:53:27 UTC (rev 326026)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+_hkgname=xcffib
+pkgname=haskell-xcffib
+pkgver=0.6.0
+pkgrel=27
+pkgdesc="A cffi-based python binding for X"
+url="https://github.com/tych0/xcffib"
+license=('Apache')
+arch=('x86_64')
+depends=('ghc-libs' 'haskell-attoparsec' 'haskell-either' 'haskell-filemanip' 'haskell-language-python'
+ 'haskell-optparse-applicative' 'haskell-split' 'haskell-xcb-types')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('99f391e5495ec1bfdef7707b49a783568b8ce610e2a5acb885bb8cb9b9c6608068667291d6b67732ec7b28c820b3cee76fb40cb96a2c952600d6763edf9251dc')
+
+prepare() {
+ cd $_hkgname-$pkgver
+ sed -i '/semigroups/d' $_hkgname.cabal
+}
+
+build() {
+ cd "${srcdir}/${_hkgname}-${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 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 "${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