Date: Wednesday, January 20, 2016 @ 16:51:30 Author: fyan Revision: 158315
archrelease: copy trunk to community-i686, community-x86_64 Added: hlint/repos/community-i686/PKGBUILD (from rev 158314, hlint/trunk/PKGBUILD) hlint/repos/community-i686/haskell-hlint.install (from rev 158314, hlint/trunk/haskell-hlint.install) hlint/repos/community-i686/hlint.install (from rev 158314, hlint/trunk/hlint.install) hlint/repos/community-x86_64/PKGBUILD (from rev 158314, hlint/trunk/PKGBUILD) hlint/repos/community-x86_64/haskell-hlint.install (from rev 158314, hlint/trunk/haskell-hlint.install) hlint/repos/community-x86_64/hlint.install (from rev 158314, hlint/trunk/hlint.install) Deleted: hlint/repos/community-i686/PKGBUILD hlint/repos/community-i686/hlint.install hlint/repos/community-x86_64/PKGBUILD hlint/repos/community-x86_64/hlint.install ----------------------------------------+ /PKGBUILD | 110 +++++++++++++++++++++++++++++++ /hlint.install | 36 ++++++++++ community-i686/PKGBUILD | 32 --------- community-i686/haskell-hlint.install | 18 +++++ community-i686/hlint.install | 18 ----- community-x86_64/PKGBUILD | 32 --------- community-x86_64/haskell-hlint.install | 18 +++++ community-x86_64/hlint.install | 18 ----- 8 files changed, 182 insertions(+), 100 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2016-01-20 15:50:52 UTC (rev 158314) +++ community-i686/PKGBUILD 2016-01-20 15:51:30 UTC (rev 158315) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hlint -pkgver=1.9.26 -pkgrel=4 -pkgdesc="Source code suggestions" -url="http://community.haskell.org/~ndm/hlint/" -license=("custom:BSD3") -arch=('i686' 'x86_64') -depends=('gmp' 'libffi') -makedepends=("ghc=7.10.3" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" - "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" - "haskell-refact") -source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('f9dcb152d05472c16572e9519494b376c12b748a886f79f74ffcfcb973c33553') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - runhaskell Setup configure -O --prefix=/usr \ - --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ - -fgpl -fthreaded - runhaskell Setup build -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - runhaskell Setup copy --destdir="${pkgdir}" - rm -r "$pkgdir"/usr/{lib,share/doc} - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: hlint/repos/community-i686/PKGBUILD (from rev 158314, hlint/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2016-01-20 15:51:30 UTC (rev 158315) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgbase=hlint +pkgname=(hlint haskell-hlint) +pkgver=1.9.26 +pkgrel=5 +pkgdesc="Source code suggestions" +url="http://community.haskell.org/~ndm/hlint/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +makedepends=("ghc=7.10.3" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" + "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" + "haskell-refact") +source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz") +sha256sums=('f9dcb152d05472c16572e9519494b376c12b748a886f79f74ffcfcb973c33553') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + runhaskell Setup configure -O --enable-library-profiling --enable-shared \ + --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgbase" \ + --libsubdir=\$compiler/site-local/\$pkgid \ + -fgpl -fthreaded + runhaskell Setup build + runhaskell Setup haddock --hoogle --html + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package_hlint() { + depends=('gmp' 'libffi') + + cd "${srcdir}/${pkgbase}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -r "$pkgdir"/usr/{lib,share/doc} + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_haskell-hlint() { + pkgdesc="Source code suggestions (docs and libraries)" + depends=("${makedepends[@]}" 'hlint') + install="haskell-hlint.install" + + cd "${srcdir}/${pkgbase}-${pkgver}" + + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/${pkgname}/register.sh" + install -m744 unregister.sh "${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh" + install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + ln -s "/usr/share/doc/${pkgbase}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3" + rm -r "$pkgdir"/usr/{bin,share/${pkgbase}} +} Copied: hlint/repos/community-i686/haskell-hlint.install (from rev 158314, hlint/trunk/haskell-hlint.install) =================================================================== --- community-i686/haskell-hlint.install (rev 0) +++ community-i686/haskell-hlint.install 2016-01-20 15:51:30 UTC (rev 158315) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hlint +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Deleted: community-i686/hlint.install =================================================================== --- community-i686/hlint.install 2016-01-20 15:50:52 UTC (rev 158314) +++ community-i686/hlint.install 2016-01-20 15:51:30 UTC (rev 158315) @@ -1,18 +0,0 @@ -HS_DIR=usr/share/haskell/hlint -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} -pre_upgrade() { - ${HS_DIR}/unregister.sh -} -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} -pre_remove() { - ${HS_DIR}/unregister.sh -} -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} Copied: hlint/repos/community-i686/hlint.install (from rev 158314, hlint/trunk/hlint.install) =================================================================== --- community-i686/hlint.install (rev 0) +++ community-i686/hlint.install 2016-01-20 15:51:30 UTC (rev 158315) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/hlint +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2016-01-20 15:50:52 UTC (rev 158314) +++ community-x86_64/PKGBUILD 2016-01-20 15:51:30 UTC (rev 158315) @@ -1,32 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hlint -pkgver=1.9.26 -pkgrel=4 -pkgdesc="Source code suggestions" -url="http://community.haskell.org/~ndm/hlint/" -license=("custom:BSD3") -arch=('i686' 'x86_64') -depends=('gmp' 'libffi') -makedepends=("ghc=7.10.3" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" - "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" - "haskell-refact") -source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -sha256sums=('f9dcb152d05472c16572e9519494b376c12b748a886f79f74ffcfcb973c33553') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - runhaskell Setup configure -O --prefix=/usr \ - --docdir="/usr/share/doc/${pkgname}" --datasubdir="$pkgname" \ - -fgpl -fthreaded - runhaskell Setup build -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - runhaskell Setup copy --destdir="${pkgdir}" - rm -r "$pkgdir"/usr/{lib,share/doc} - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" -} Copied: hlint/repos/community-x86_64/PKGBUILD (from rev 158314, hlint/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2016-01-20 15:51:30 UTC (rev 158315) @@ -0,0 +1,55 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgbase=hlint +pkgname=(hlint haskell-hlint) +pkgver=1.9.26 +pkgrel=5 +pkgdesc="Source code suggestions" +url="http://community.haskell.org/~ndm/hlint/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +makedepends=("ghc=7.10.3" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" + "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" + "haskell-refact") +source=("http://hackage.haskell.org/packages/archive/${pkgbase}/${pkgver}/${pkgbase}-${pkgver}.tar.gz") +sha256sums=('f9dcb152d05472c16572e9519494b376c12b748a886f79f74ffcfcb973c33553') + +build() { + cd "${srcdir}/${pkgbase}-${pkgver}" + runhaskell Setup configure -O --enable-library-profiling --enable-shared \ + --prefix=/usr --docdir="/usr/share/doc/${pkgbase}" --datasubdir="$pkgbase" \ + --libsubdir=\$compiler/site-local/\$pkgid \ + -fgpl -fthreaded + runhaskell Setup build + runhaskell Setup haddock --hoogle --html + runhaskell Setup register --gen-script + runhaskell Setup unregister --gen-script + sed -i -r -e "s|ghc-pkg.*unregister[^ ]* |&'--force' |" unregister.sh +} + +package_hlint() { + depends=('gmp' 'libffi') + + cd "${srcdir}/${pkgbase}-${pkgver}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -r "$pkgdir"/usr/{lib,share/doc} + install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +} + +package_haskell-hlint() { + pkgdesc="Source code suggestions (docs and libraries)" + depends=("${makedepends[@]}" 'hlint') + install="haskell-hlint.install" + + cd "${srcdir}/${pkgbase}-${pkgver}" + + install -D -m744 register.sh "${pkgdir}/usr/share/haskell/${pkgname}/register.sh" + install -m744 unregister.sh "${pkgdir}/usr/share/haskell/${pkgname}/unregister.sh" + install -d -m755 "${pkgdir}/usr/share/doc/ghc/html/libraries" + ln -s "/usr/share/doc/${pkgbase}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgbase}" + runhaskell Setup copy --destdir="${pkgdir}" + rm -f "${pkgdir}/usr/share/doc/${pkgname}/COPYING.BSD3" + rm -r "$pkgdir"/usr/{bin,share/${pkgbase}} +} Copied: hlint/repos/community-x86_64/haskell-hlint.install (from rev 158314, hlint/trunk/haskell-hlint.install) =================================================================== --- community-x86_64/haskell-hlint.install (rev 0) +++ community-x86_64/haskell-hlint.install 2016-01-20 15:51:30 UTC (rev 158315) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hlint +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} Deleted: community-x86_64/hlint.install =================================================================== --- community-x86_64/hlint.install 2016-01-20 15:50:52 UTC (rev 158314) +++ community-x86_64/hlint.install 2016-01-20 15:51:30 UTC (rev 158315) @@ -1,18 +0,0 @@ -HS_DIR=usr/share/haskell/hlint -post_install() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} -pre_upgrade() { - ${HS_DIR}/unregister.sh -} -post_upgrade() { - ${HS_DIR}/register.sh - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} -pre_remove() { - ${HS_DIR}/unregister.sh -} -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) -} Copied: hlint/repos/community-x86_64/hlint.install (from rev 158314, hlint/trunk/hlint.install) =================================================================== --- community-x86_64/hlint.install (rev 0) +++ community-x86_64/hlint.install 2016-01-20 15:51:30 UTC (rev 158315) @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/hlint +post_install() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_upgrade() { + ${HS_DIR}/unregister.sh +} +post_upgrade() { + ${HS_DIR}/register.sh + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} +pre_remove() { + ${HS_DIR}/unregister.sh +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +}