Date: Sunday, March 24, 2013 @ 00:32:12 Author: arodseth Revision: 86893
archrelease: copy trunk to community-x86_64, community-i686 Added: haddock/repos/community-i686/PKGBUILD (from rev 86892, haddock/trunk/PKGBUILD) haddock/repos/community-i686/haddock.install (from rev 86892, haddock/trunk/haddock.install) haddock/repos/community-x86_64/PKGBUILD (from rev 86892, haddock/trunk/PKGBUILD) haddock/repos/community-x86_64/haddock.install (from rev 86892, haddock/trunk/haddock.install) Deleted: haddock/repos/community-i686/PKGBUILD haddock/repos/community-i686/haddock.install haddock/repos/community-x86_64/PKGBUILD haddock/repos/community-x86_64/haddock.install ----------------------------------+ /PKGBUILD | 94 +++++++++++++++++++++++++++++++++++++ /haddock.install | 50 +++++++++++++++++++ community-i686/PKGBUILD | 47 ------------------ community-i686/haddock.install | 25 --------- community-x86_64/PKGBUILD | 47 ------------------ community-x86_64/haddock.install | 25 --------- 6 files changed, 144 insertions(+), 144 deletions(-) Deleted: community-i686/PKGBUILD =================================================================== --- community-i686/PKGBUILD 2013-03-23 23:31:59 UTC (rev 86892) +++ community-i686/PKGBUILD 2013-03-23 23:32:12 UTC (rev 86893) @@ -1,47 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: Vesa Kaihlavirta <v...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=haddock -pkgver=2.13.1 -pkgrel=2 -pkgdesc='Tool for generating documentation for Haskell libraries' -url='http://hackage.haskell.org/package/haddock/' -license=('custom:BSD3') -arch=('x86_64' 'i686') -makedepends=('alex' 'happy') -depends=('ghc=7.6.2-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths=0.1.0.8') -install=$pkgname.install -source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/"$pkgname" \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - 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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh" - install -m744 unregister.sh \ - "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" - install -dm755 "$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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" - mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal" -} - -# vim:set ts=2 sw=2 et: Copied: haddock/repos/community-i686/PKGBUILD (from rev 86892, haddock/trunk/PKGBUILD) =================================================================== --- community-i686/PKGBUILD (rev 0) +++ community-i686/PKGBUILD 2013-03-23 23:32:12 UTC (rev 86893) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Vesa Kaihlavirta <v...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=haddock +pkgver=2.13.1 +pkgrel=3 +pkgdesc='Tool for generating documentation for Haskell libraries' +url='http://hackage.haskell.org/package/haddock/' +license=('custom:BSD3') +arch=('x86_64' 'i686') +makedepends=('alex' 'happy') +depends=('ghc=7.6.2-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths') +install=$pkgname.install +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/"$pkgname" \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + 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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh" + install -m744 unregister.sh \ + "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" + install -dm755 "$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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" + mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal" +} + +# vim:set ts=2 sw=2 et: Deleted: community-i686/haddock.install =================================================================== --- community-i686/haddock.install 2013-03-23 23:31:59 UTC (rev 86892) +++ community-i686/haddock.install 2013-03-23 23:32:12 UTC (rev 86893) @@ -1,25 +0,0 @@ -pkgname=haddock -HS_DIR=usr/share/haskell/haddock - -post_upgrade() { - ${HS_DIR}/register.sh &> /dev/null - post_remove -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null -} - -pre_remove() { - ${HS_DIR}/unregister.sh &> /dev/null -} - -post_install() { - post_upgrade -} - -pre_upgrade() { - pre_remove -} - -# vim:set ts=2 sw=2 et: Copied: haddock/repos/community-i686/haddock.install (from rev 86892, haddock/trunk/haddock.install) =================================================================== --- community-i686/haddock.install (rev 0) +++ community-i686/haddock.install 2013-03-23 23:32:12 UTC (rev 86893) @@ -0,0 +1,25 @@ +pkgname=haddock +HS_DIR=usr/share/haskell/haddock + +post_upgrade() { + ${HS_DIR}/register.sh &> /dev/null + post_remove +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null +} + +pre_remove() { + ${HS_DIR}/unregister.sh &> /dev/null +} + +post_install() { + post_upgrade +} + +pre_upgrade() { + pre_remove +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/PKGBUILD =================================================================== --- community-x86_64/PKGBUILD 2013-03-23 23:31:59 UTC (rev 86892) +++ community-x86_64/PKGBUILD 2013-03-23 23:32:12 UTC (rev 86893) @@ -1,47 +0,0 @@ -# $Id$ -# Maintainer: Alexander Rødseth <rods...@gmail.com> -# Contributor: Vesa Kaihlavirta <v...@archlinux.org> -# Contributor: Arch Haskell Team <arch-hask...@haskell.org> - -pkgname=haddock -pkgver=2.13.1 -pkgrel=2 -pkgdesc='Tool for generating documentation for Haskell libraries' -url='http://hackage.haskell.org/package/haddock/' -license=('custom:BSD3') -arch=('x86_64' 'i686') -makedepends=('alex' 'happy') -depends=('ghc=7.6.2-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths=0.1.0.8') -install=$pkgname.install -source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") -sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ - --prefix=/usr --docdir=/usr/share/doc/"$pkgname" \ - --libsubdir=\$compiler/site-local/\$pkgid - runhaskell Setup build - runhaskell Setup haddock - 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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh" - install -m744 unregister.sh \ - "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" - install -dm755 "$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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" - mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal" -} - -# vim:set ts=2 sw=2 et: Copied: haddock/repos/community-x86_64/PKGBUILD (from rev 86892, haddock/trunk/PKGBUILD) =================================================================== --- community-x86_64/PKGBUILD (rev 0) +++ community-x86_64/PKGBUILD 2013-03-23 23:32:12 UTC (rev 86893) @@ -0,0 +1,47 @@ +# $Id$ +# Maintainer: Alexander Rødseth <rods...@gmail.com> +# Contributor: Vesa Kaihlavirta <v...@archlinux.org> +# Contributor: Arch Haskell Team <arch-hask...@haskell.org> + +pkgname=haddock +pkgver=2.13.1 +pkgrel=3 +pkgdesc='Tool for generating documentation for Haskell libraries' +url='http://hackage.haskell.org/package/haddock/' +license=('custom:BSD3') +arch=('x86_64' 'i686') +makedepends=('alex' 'happy') +depends=('ghc=7.6.2-1' 'haskell-xhtml=3000.2.1' 'haskell-ghc-paths') +install=$pkgname.install +source=("http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('6e5e2295cd191e43a046c12544f2f4e8b4260cfda8282d48b15a7a35d8a24e7f') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + runhaskell Setup configure -O -p --enable-split-objs --enable-shared \ + --prefix=/usr --docdir=/usr/share/doc/"$pkgname" \ + --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup build + runhaskell Setup haddock + 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 -Dm744 register.sh "$pkgdir/usr/share/haskell/$pkgname/register.sh" + install -m744 unregister.sh \ + "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" + install -dm755 "$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 -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" + mv "$pkgdir/usr/bin/haddock" "$pkgdir/usr/bin/haddock-cabal" +} + +# vim:set ts=2 sw=2 et: Deleted: community-x86_64/haddock.install =================================================================== --- community-x86_64/haddock.install 2013-03-23 23:31:59 UTC (rev 86892) +++ community-x86_64/haddock.install 2013-03-23 23:32:12 UTC (rev 86893) @@ -1,25 +0,0 @@ -pkgname=haddock -HS_DIR=usr/share/haskell/haddock - -post_upgrade() { - ${HS_DIR}/register.sh &> /dev/null - post_remove -} - -post_remove() { - (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null -} - -pre_remove() { - ${HS_DIR}/unregister.sh &> /dev/null -} - -post_install() { - post_upgrade -} - -pre_upgrade() { - pre_remove -} - -# vim:set ts=2 sw=2 et: Copied: haddock/repos/community-x86_64/haddock.install (from rev 86892, haddock/trunk/haddock.install) =================================================================== --- community-x86_64/haddock.install (rev 0) +++ community-x86_64/haddock.install 2013-03-23 23:32:12 UTC (rev 86893) @@ -0,0 +1,25 @@ +pkgname=haddock +HS_DIR=usr/share/haskell/haddock + +post_upgrade() { + ${HS_DIR}/register.sh &> /dev/null + post_remove +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null +} + +pre_remove() { + ${HS_DIR}/unregister.sh &> /dev/null +} + +post_install() { + post_upgrade +} + +pre_upgrade() { + pre_remove +} + +# vim:set ts=2 sw=2 et: