Date: Saturday, September 23, 2017 @ 17:08:13 Author: felixonmars Revision: 260205
archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-cpphs/repos/community-i686/PKGBUILD (from rev 260204, haskell-cpphs/trunk/PKGBUILD) haskell-cpphs/repos/community-x86_64/PKGBUILD (from rev 260204, haskell-cpphs/trunk/PKGBUILD) Deleted: haskell-cpphs/repos/community-i686/PKGBUILD haskell-cpphs/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 74 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 40 ----------------------- community-x86_64/PKGBUILD | 40 ----------------------- 3 files changed, 74 insertions(+), 80 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2017-09-23 17:07:34 UTC (rev 260204) +++ community-i686/PKGBUILD 2017-09-23 17:08:13 UTC (rev 260205) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=cpphs -pkgname=haskell-cpphs -pkgver=1.20.8 -pkgrel=2 -pkgdesc="A liberalised re-implementation of cpp, the C pre-processor." -url="http://projects.haskell.org/cpphs/" -license=("LGPL") -arch=('i686' 'x86_64') -depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" "haskell-polyparse") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747') - -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 - 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}" - - # Remove static libs - find "$pkgdir"/usr/lib -name "*.a" -delete -} Copied: haskell-cpphs/repos/community-i686/PKGBUILD (from rev 260204, haskell-cpphs/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-23 17:08:13 UTC (rev 260205) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=cpphs +pkgname=haskell-cpphs +pkgver=1.20.8 +pkgrel=3 +pkgdesc="A liberalised re-implementation of cpp, the C pre-processor." +url="http://projects.haskell.org/cpphs/" +license=("LGPL") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" "haskell-polyparse") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747') + +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}" +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-09-23 17:07:34 UTC (rev 260204) +++ community-x86_64/PKGBUILD 2017-09-23 17:08:13 UTC (rev 260205) @@ -1,40 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -_hkgname=cpphs -pkgname=haskell-cpphs -pkgver=1.20.8 -pkgrel=2 -pkgdesc="A liberalised re-implementation of cpp, the C pre-processor." -url="http://projects.haskell.org/cpphs/" -license=("LGPL") -arch=('i686' 'x86_64') -depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" "haskell-polyparse") -makedepends=('ghc') -source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") -sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747') - -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 - 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}" - - # Remove static libs - find "$pkgdir"/usr/lib -name "*.a" -delete -} Copied: haskell-cpphs/repos/community-x86_64/PKGBUILD (from rev 260204, haskell-cpphs/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-09-23 17:08:13 UTC (rev 260205) @@ -0,0 +1,37 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +_hkgname=cpphs +pkgname=haskell-cpphs +pkgver=1.20.8 +pkgrel=3 +pkgdesc="A liberalised re-implementation of cpp, the C pre-processor." +url="http://projects.haskell.org/cpphs/" +license=("LGPL") +arch=('i686' 'x86_64') +depends=('ghc-libs' "haskell-old-locale" "haskell-old-time" "haskell-polyparse") +makedepends=('ghc') +source=("https://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha512sums=('ec9323f9e1cb6de450d8af6b6b98005bf46427c2926694e1cba942fd54a03d9d36a7e8f2541eb095949110ddaf6317597699b7c4472942a509d496cb9b4da747') + +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}" +}