[arch-commits] Commit in haskell-parser-combinators/repos (4 files)
Felix Yan
felixonmars at archlinux.org
Fri Sep 22 18:24:19 UTC 2017
Date: Friday, September 22, 2017 @ 18:24:18
Author: felixonmars
Revision: 259681
archrelease: copy trunk to community-i686, community-x86_64
Added:
haskell-parser-combinators/repos/community-i686/PKGBUILD
(from rev 259680, haskell-parser-combinators/trunk/PKGBUILD)
haskell-parser-combinators/repos/community-x86_64/PKGBUILD
(from rev 259680, haskell-parser-combinators/trunk/PKGBUILD)
Deleted:
haskell-parser-combinators/repos/community-i686/PKGBUILD
haskell-parser-combinators/repos/community-x86_64/PKGBUILD
---------------------------+
/PKGBUILD | 80 ++++++++++++++++++++++++++++++++++++++++++++
community-i686/PKGBUILD | 43 -----------------------
community-x86_64/PKGBUILD | 43 -----------------------
3 files changed, 80 insertions(+), 86 deletions(-)
Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD 2017-09-22 18:23:36 UTC (rev 259680)
+++ community-i686/PKGBUILD 2017-09-22 18:24:18 UTC (rev 259681)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=parser-combinators
-pkgname=haskell-parser-combinators
-pkgver=0.2.0
-pkgrel=1
-pkgdesc="Lightweight package providing commonly useful parser combinators"
-url="https://github.com/mrkkrp/parser-combinators"
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('37287833048ed408920cd72b362667d3ba976a302d5340dd859f0e2cba0edabb2ed7228f838356b31f1e1f9fd65fe2c707e4cc4c7ab217b3e912e630c9124030')
-
-build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
- -f-dev
- 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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
-}
Copied: haskell-parser-combinators/repos/community-i686/PKGBUILD (from rev 259680, haskell-parser-combinators/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2017-09-22 18:24:18 UTC (rev 259681)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=parser-combinators
+pkgname=haskell-parser-combinators
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Lightweight package providing commonly useful parser combinators"
+url="https://github.com/mrkkrp/parser-combinators"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('37287833048ed408920cd72b362667d3ba976a302d5340dd859f0e2cba0edabb2ed7228f838356b31f1e1f9fd65fe2c707e4cc4c7ab217b3e912e630c9124030')
+
+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 \
+ -f-dev
+ 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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}
Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD 2017-09-22 18:23:36 UTC (rev 259680)
+++ community-x86_64/PKGBUILD 2017-09-22 18:24:18 UTC (rev 259681)
@@ -1,43 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
-
-_hkgname=parser-combinators
-pkgname=haskell-parser-combinators
-pkgver=0.2.0
-pkgrel=1
-pkgdesc="Lightweight package providing commonly useful parser combinators"
-url="https://github.com/mrkkrp/parser-combinators"
-license=("custom:BSD3")
-arch=('i686' 'x86_64')
-depends=('ghc-libs')
-makedepends=('ghc')
-source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
-sha512sums=('37287833048ed408920cd72b362667d3ba976a302d5340dd859f0e2cba0edabb2ed7228f838356b31f1e1f9fd65fe2c707e4cc4c7ab217b3e912e630c9124030')
-
-build() {
- cd "${srcdir}/${_hkgname}-${pkgver}"
-
- runhaskell Setup configure -O --enable-shared --enable-executable-dynamic \
- --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \
- --dynlibdir=/usr/lib --libsubdir=\$compiler/site-local/\$pkgid \
- -f-dev
- 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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
- rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
-
- # Remove static libs
- find "$pkgdir"/usr/lib -name "*.a" -delete
-}
Copied: haskell-parser-combinators/repos/community-x86_64/PKGBUILD (from rev 259680, haskell-parser-combinators/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2017-09-22 18:24:18 UTC (rev 259681)
@@ -0,0 +1,40 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Arch Haskell Team <arch-haskell at haskell.org>
+
+_hkgname=parser-combinators
+pkgname=haskell-parser-combinators
+pkgver=0.2.0
+pkgrel=2
+pkgdesc="Lightweight package providing commonly useful parser combinators"
+url="https://github.com/mrkkrp/parser-combinators"
+license=("custom:BSD3")
+arch=('i686' 'x86_64')
+depends=('ghc-libs')
+makedepends=('ghc')
+source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz")
+sha512sums=('37287833048ed408920cd72b362667d3ba976a302d5340dd859f0e2cba0edabb2ed7228f838356b31f1e1f9fd65fe2c707e4cc4c7ab217b3e912e630c9124030')
+
+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 \
+ -f-dev
+ 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.md" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.md"
+ rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE.md"
+}
More information about the arch-commits
mailing list