Date: Saturday, September 23, 2017 @ 16:20:33 Author: felixonmars Revision: 260103
archrelease: copy trunk to community-i686, community-x86_64 Added: haskell-cryptohash-md5/repos/community-i686/PKGBUILD (from rev 260102, haskell-cryptohash-md5/trunk/PKGBUILD) haskell-cryptohash-md5/repos/community-x86_64/PKGBUILD (from rev 260102, haskell-cryptohash-md5/trunk/PKGBUILD) Deleted: haskell-cryptohash-md5/repos/community-i686/PKGBUILD haskell-cryptohash-md5/repos/community-x86_64/PKGBUILD ---------------------------+ /PKGBUILD | 84 ++++++++++++++++++++++++++++++++++++++++++++ community-i686/PKGBUILD | 45 ----------------------- community-x86_64/PKGBUILD | 45 ----------------------- 3 files changed, 84 insertions(+), 90 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2017-09-23 16:19:43 UTC (rev 260102) +++ community-i686/PKGBUILD 2017-09-23 16:20:33 UTC (rev 260103) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_hkgname=cryptohash-md5 -pkgname=haskell-cryptohash-md5 -pkgver=0.11.100.1 -pkgrel=3 -pkgdesc="Fast, pure and practical MD5 implementation" -url="https://github.com/hvr/cryptohash-md5" -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") -sha256sums=('710bd48770fa3e9a3b05428c6dc77fb72c91956d334a1eb89ded11bb843e18f9') - -prepare() { - sed -i 's/base >= 4.5 && < 4.10/base >= 4.5/' $_hkgname-$pkgver/$_hkgname.cabal -} - -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}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" - - # Remove static libs - find "$pkgdir"/usr/lib -name "*.a" -delete -} Copied: haskell-cryptohash-md5/repos/community-i686/PKGBUILD (from rev 260102, haskell-cryptohash-md5/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2017-09-23 16:20:33 UTC (rev 260103) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_hkgname=cryptohash-md5 +pkgname=haskell-cryptohash-md5 +pkgver=0.11.100.1 +pkgrel=4 +pkgdesc="Fast, pure and practical MD5 implementation" +url="https://github.com/hvr/cryptohash-md5" +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=('f2efb197005ed5f12a7c2be490a64a83186cacb34eaedec6cbd76e52c30221733da1d31201c5209538226508db760fd9eed0afc8d72643e1509b32c7287cb12e') + +prepare() { + sed -i 's/base >= 4.5 && < 4.10/base >= 4.5/' $_hkgname-$pkgver/$_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" +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2017-09-23 16:19:43 UTC (rev 260102) +++ community-x86_64/PKGBUILD 2017-09-23 16:20:33 UTC (rev 260103) @@ -1,45 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> - -_hkgname=cryptohash-md5 -pkgname=haskell-cryptohash-md5 -pkgver=0.11.100.1 -pkgrel=3 -pkgdesc="Fast, pure and practical MD5 implementation" -url="https://github.com/hvr/cryptohash-md5" -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") -sha256sums=('710bd48770fa3e9a3b05428c6dc77fb72c91956d334a1eb89ded11bb843e18f9') - -prepare() { - sed -i 's/base >= 4.5 && < 4.10/base >= 4.5/' $_hkgname-$pkgver/$_hkgname.cabal -} - -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}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" - - # Remove static libs - find "$pkgdir"/usr/lib -name "*.a" -delete -} Copied: haskell-cryptohash-md5/repos/community-x86_64/PKGBUILD (from rev 260102, haskell-cryptohash-md5/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2017-09-23 16:20:33 UTC (rev 260103) @@ -0,0 +1,42 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> + +_hkgname=cryptohash-md5 +pkgname=haskell-cryptohash-md5 +pkgver=0.11.100.1 +pkgrel=4 +pkgdesc="Fast, pure and practical MD5 implementation" +url="https://github.com/hvr/cryptohash-md5" +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=('f2efb197005ed5f12a7c2be490a64a83186cacb34eaedec6cbd76e52c30221733da1d31201c5209538226508db760fd9eed0afc8d72643e1509b32c7287cb12e') + +prepare() { + sed -i 's/base >= 4.5 && < 4.10/base >= 4.5/' $_hkgname-$pkgver/$_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" +}