Date: Tuesday, November 24, 2015 @ 15:26:04 Author: fyan Revision: 147666
archrelease: copy trunk to community-i686, community-x86_64 Added: hlint/repos/community-i686/PKGBUILD (from rev 147665, hlint/trunk/PKGBUILD) hlint/repos/community-i686/hlint.install (from rev 147665, hlint/trunk/hlint.install) hlint/repos/community-x86_64/PKGBUILD (from rev 147665, hlint/trunk/PKGBUILD) hlint/repos/community-x86_64/hlint.install (from rev 147665, 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 | 88 +++++++++++++++++++++++++++++++++++++++ /hlint.install | 36 +++++++++++++++ community-i686/PKGBUILD | 44 ------------------- community-i686/hlint.install | 18 ------- community-x86_64/PKGBUILD | 44 ------------------- community-x86_64/hlint.install | 18 ------- 6 files changed, 124 insertions(+), 124 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2015-11-24 14:25:37 UTC (rev 147665) +++ community-i686/PKGBUILD 2015-11-24 14:26:04 UTC (rev 147666) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hlint -pkgver=1.9.24 -pkgrel=1 -pkgdesc="Source code suggestions" -url="http://community.haskell.org/~ndm/hlint/" -license=("custom:BSD3") -arch=('i686' 'x86_64') -depends=("ghc=7.10.2" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" - "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" - "haskell-refact") -options=('staticlibs') -source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=('a830f049bf732f2e1bb79095a7c835e6aca8298098ad4cfa0ac79b813f98ba84') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O --enable-library-profiling --enable-shared \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ - --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() { - cd "${srcdir}/${pkgname}-${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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}" - runhaskell Setup copy --destdir="${pkgdir}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: hlint/repos/community-i686/PKGBUILD (from rev 147665, hlint/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2015-11-24 14:26:04 UTC (rev 147666) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hlint +pkgver=1.9.25 +pkgrel=1 +pkgdesc="Source code suggestions" +url="http://community.haskell.org/~ndm/hlint/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=7.10.2" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" + "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" + "haskell-refact") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=('df91b43493f0c408fc6b7f9a1f65802e9dc49ff5c126b5b8f8464d8db7443f95') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --enable-library-profiling --enable-shared \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ + --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() { + cd "${srcdir}/${pkgname}-${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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}" + 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-i686/hlint.install =================================================================== --- community-i686/hlint.install 2015-11-24 14:25:37 UTC (rev 147665) +++ community-i686/hlint.install 2015-11-24 14:26:04 UTC (rev 147666) @@ -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 147665, hlint/trunk/hlint.install) =================================================================== --- community-i686/hlint.install (rev 0) +++ community-i686/hlint.install 2015-11-24 14:26:04 UTC (rev 147666) @@ -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 2015-11-24 14:25:37 UTC (rev 147665) +++ community-x86_64/PKGBUILD 2015-11-24 14:26:04 UTC (rev 147666) @@ -1,44 +0,0 @@ -# $Id$ -# Maintainer: Felix Yan <felixonm...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=hlint -pkgver=1.9.24 -pkgrel=1 -pkgdesc="Source code suggestions" -url="http://community.haskell.org/~ndm/hlint/" -license=("custom:BSD3") -arch=('i686' 'x86_64') -depends=("ghc=7.10.2" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" - "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" - "haskell-refact") -options=('staticlibs') -source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") -install="${pkgname}.install" -sha256sums=('a830f049bf732f2e1bb79095a7c835e6aca8298098ad4cfa0ac79b813f98ba84') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - runhaskell Setup configure -O --enable-library-profiling --enable-shared \ - --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ - --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() { - cd "${srcdir}/${pkgname}-${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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}" - runhaskell Setup copy --destdir="${pkgdir}" - install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" - rm -f "${pkgdir}/usr/share/doc/${pkgname}/LICENSE" -} Copied: hlint/repos/community-x86_64/PKGBUILD (from rev 147665, hlint/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2015-11-24 14:26:04 UTC (rev 147666) @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Felix Yan <felixonm...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=hlint +pkgver=1.9.25 +pkgrel=1 +pkgdesc="Source code suggestions" +url="http://community.haskell.org/~ndm/hlint/" +license=("custom:BSD3") +arch=('i686' 'x86_64') +depends=("ghc=7.10.2" "haskell-ansi-terminal" "haskell-cmdargs" "haskell-cpphs" + "haskell-extra" "haskell-src-exts" "haskell-hscolour" "haskell-uniplate" + "haskell-refact") +options=('staticlibs') +source=("http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=('df91b43493f0c408fc6b7f9a1f65802e9dc49ff5c126b5b8f8464d8db7443f95') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + + runhaskell Setup configure -O --enable-library-profiling --enable-shared \ + --prefix=/usr --docdir="/usr/share/doc/${pkgname}" \ + --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() { + cd "${srcdir}/${pkgname}-${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/${pkgname}/html" "${pkgdir}/usr/share/doc/ghc/html/libraries/${pkgname}" + 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/hlint.install =================================================================== --- community-x86_64/hlint.install 2015-11-24 14:25:37 UTC (rev 147665) +++ community-x86_64/hlint.install 2015-11-24 14:26:04 UTC (rev 147666) @@ -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 147665, hlint/trunk/hlint.install) =================================================================== --- community-x86_64/hlint.install (rev 0) +++ community-x86_64/hlint.install 2015-11-24 14:26:04 UTC (rev 147666) @@ -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) +}