Date: Tuesday, February 5, 2013 @ 08:43:19 Author: td123 Revision: 83782
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: xmonad-contrib/repos/community-staging-i686/ xmonad-contrib/repos/community-staging-i686/PKGBUILD (from rev 83781, xmonad-contrib/trunk/PKGBUILD) xmonad-contrib/repos/community-staging-i686/xmonad-contrib.install (from rev 83781, xmonad-contrib/trunk/xmonad-contrib.install) xmonad-contrib/repos/community-staging-x86_64/ xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 83781, xmonad-contrib/trunk/PKGBUILD) xmonad-contrib/repos/community-staging-x86_64/xmonad-contrib.install (from rev 83781, xmonad-contrib/trunk/xmonad-contrib.install) -------------------------------------------------+ community-staging-i686/PKGBUILD | 35 ++++++++++++++++++++++ community-staging-i686/xmonad-contrib.install | 17 ++++++++++ community-staging-x86_64/PKGBUILD | 35 ++++++++++++++++++++++ community-staging-x86_64/xmonad-contrib.install | 17 ++++++++++ 4 files changed, 104 insertions(+) Copied: xmonad-contrib/repos/community-staging-i686/PKGBUILD (from rev 83781, xmonad-contrib/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2013-02-05 07:43:19 UTC (rev 83782) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: orbisvicis <gmail.com> + +pkgname=xmonad-contrib +pkgver=0.11 +pkgrel=2 +pkgdesc="Add-ons for xmonad" +arch=('i686' 'x86_64') +url="http://xmonad.org/" +license=('BSD') +depends=('ghc=7.6.2-1' 'xmonad=0.11-2' 'sh' 'haskell-x11=1.6.0.2-2' 'haskell-x11-xft=0.3.1-6' 'haskell-utf8-string=0.3.7-4' 'haskell-random=1.0.1.1-4') +install='xmonad-contrib.install' +source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('05fba258ac6063e49b50786a0869bd1f') + +build() { + cd $srcdir/$pkgname-$pkgver + + runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \ + --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.*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 + runhaskell Setup.lhs copy --destdir=$pkgdir + install -D LICENSE $pkgdir/usr/share/licenses/xmonad-contrib/LICENSE +} Copied: xmonad-contrib/repos/community-staging-i686/xmonad-contrib.install (from rev 83781, xmonad-contrib/trunk/xmonad-contrib.install) =================================================================== --- community-staging-i686/xmonad-contrib.install (rev 0) +++ community-staging-i686/xmonad-contrib.install 2013-02-05 07:43:19 UTC (rev 83782) @@ -0,0 +1,17 @@ +HS_DIR=usr/share/haskell/xmonad-contrib + +post_install() { + ${HS_DIR}/register.sh +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} Copied: xmonad-contrib/repos/community-staging-x86_64/PKGBUILD (from rev 83781, xmonad-contrib/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2013-02-05 07:43:19 UTC (rev 83782) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Maintainer: Vesa Kaihlavirta <ve...@iki.fi> +# Contributor: orbisvicis <gmail.com> + +pkgname=xmonad-contrib +pkgver=0.11 +pkgrel=2 +pkgdesc="Add-ons for xmonad" +arch=('i686' 'x86_64') +url="http://xmonad.org/" +license=('BSD') +depends=('ghc=7.6.2-1' 'xmonad=0.11-2' 'sh' 'haskell-x11=1.6.0.2-2' 'haskell-x11-xft=0.3.1-6' 'haskell-utf8-string=0.3.7-4' 'haskell-random=1.0.1.1-4') +install='xmonad-contrib.install' +source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) +md5sums=('05fba258ac6063e49b50786a0869bd1f') + +build() { + cd $srcdir/$pkgname-$pkgver + + runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr -fuse_xft \ + --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.*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 + runhaskell Setup.lhs copy --destdir=$pkgdir + install -D LICENSE $pkgdir/usr/share/licenses/xmonad-contrib/LICENSE +} Copied: xmonad-contrib/repos/community-staging-x86_64/xmonad-contrib.install (from rev 83781, xmonad-contrib/trunk/xmonad-contrib.install) =================================================================== --- community-staging-x86_64/xmonad-contrib.install (rev 0) +++ community-staging-x86_64/xmonad-contrib.install 2013-02-05 07:43:19 UTC (rev 83782) @@ -0,0 +1,17 @@ +HS_DIR=usr/share/haskell/xmonad-contrib + +post_install() { + ${HS_DIR}/register.sh +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh +} + +pre_remove() { + ${HS_DIR}/unregister.sh +}