From 715631caf52784c47c8ed3aeb6cbdba2715a08db Mon Sep 17 00:00:00 2001 From: root Date: Sun, 26 Jun 2011 23:06:14 +0000 Subject: Sun Jun 26 23:06:14 UTC 2011 --- community/darcs/PKGBUILD | 37 +++++++++++++++++++ community/haddock/PKGBUILD | 40 ++++++++++++++++++++ community/haddock/haddock.install | 18 +++++++++ community/haskell-binary/PKGBUILD | 39 ++++++++++++++++++++ community/haskell-binary/haskell-binary.install | 18 +++++++++ community/haskell-dataenc/PKGBUILD | 39 ++++++++++++++++++++ community/haskell-dataenc/haskell-dataenc.install | 18 +++++++++ community/haskell-ghc-paths/PKGBUILD | 35 ++++++++++++++++++ .../haskell-ghc-paths/haskell-ghc-paths.install | 18 +++++++++ community/haskell-haskeline/PKGBUILD | 39 ++++++++++++++++++++ .../haskell-haskeline/haskell-haskeline.install | 18 +++++++++ community/haskell-mmap/PKGBUILD | 38 +++++++++++++++++++ community/haskell-mmap/haskell-mmap.install | 18 +++++++++ community/haskell-tar/PKGBUILD | 37 +++++++++++++++++++ community/haskell-tar/haskell-tar.install | 18 +++++++++ community/haskell-terminfo/PKGBUILD | 38 +++++++++++++++++++ .../haskell-terminfo/haskell-terminfo.install | 18 +++++++++ community/haskell-utf8-string/PKGBUILD | 39 ++++++++++++++++++++ .../haskell-utf8-string.install | 18 +++++++++ community/haskell-x11-xft/PKGBUILD | 6 +-- community/haskell-x11/PKGBUILD | 6 +-- community/libtorrent/PKGBUILD | 31 +++++++++------- community/picard/PKGBUILD | 31 +++++++++------- community/picard/install | 12 ++++++ community/qtcreator/PKGBUILD | 8 ++-- community/rtorrent/PKGBUILD | 43 ++++++++++++---------- community/xmonad-contrib/PKGBUILD | 8 ++-- community/xmonad/PKGBUILD | 22 +++++------ community/xmonad/xmonad.desktop | 15 +++----- community/xmonad/xmonad.session | 6 +++ 30 files changed, 650 insertions(+), 81 deletions(-) create mode 100644 community/darcs/PKGBUILD create mode 100644 community/haddock/PKGBUILD create mode 100644 community/haddock/haddock.install create mode 100644 community/haskell-binary/PKGBUILD create mode 100644 community/haskell-binary/haskell-binary.install create mode 100644 community/haskell-dataenc/PKGBUILD create mode 100644 community/haskell-dataenc/haskell-dataenc.install create mode 100644 community/haskell-ghc-paths/PKGBUILD create mode 100644 community/haskell-ghc-paths/haskell-ghc-paths.install create mode 100644 community/haskell-haskeline/PKGBUILD create mode 100644 community/haskell-haskeline/haskell-haskeline.install create mode 100644 community/haskell-mmap/PKGBUILD create mode 100644 community/haskell-mmap/haskell-mmap.install create mode 100644 community/haskell-tar/PKGBUILD create mode 100644 community/haskell-tar/haskell-tar.install create mode 100644 community/haskell-terminfo/PKGBUILD create mode 100644 community/haskell-terminfo/haskell-terminfo.install create mode 100644 community/haskell-utf8-string/PKGBUILD create mode 100644 community/haskell-utf8-string/haskell-utf8-string.install create mode 100644 community/picard/install create mode 100644 community/xmonad/xmonad.session (limited to 'community') diff --git a/community/darcs/PKGBUILD b/community/darcs/PKGBUILD new file mode 100644 index 000000000..d23e917a5 --- /dev/null +++ b/community/darcs/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 116991 2011-03-27 10:10:32Z remy $ +# Maintainer: Vesa Kaihlavirta +# Contributor: Simo Leone + +pkgname=darcs +pkgver=2.5.2 +pkgrel=1.1 +pkgdesc="Decentralized replacement for CVS with roots in quantum mechanics" +arch=(i686 x86_64) +url="http://darcs.net/" +license=('GPL') +depends=('curl' 'gmp' 'ncurses>=5.6-7') +makedepends=('ghc' 'haskell-tar<0.4' 'haskell-text<0.12' + 'haskell-hashed-storage<0.6' 'haskell-haskeline<0.7' + 'haskell-html<1.1' 'haskell-parsec<3.2' 'haskell-regex-compat<0.94') +source=("http://darcs.net/releases/$pkgname-$pkgver.tar.gz") +md5sums=('491b6ca01dec245a16112ad2c7e07dc1') + +build() { + cd $srcdir/$pkgname-$pkgver + runhaskell Setup.lhs configure --ghc -O --prefix=/usr \ + --disable-library-for-ghci --libsubdir=\$compiler/site-local/\$pkgid + runhaskell Setup.lhs build +} + +check() { + cd ${srcdir}/$pkgname-$pkgver + runhaskell Setup.lhs test +} + +package() { + cd $srcdir/$pkgname-$pkgver + runhaskell Setup.lhs copy --destdir=$pkgdir + rm -r $pkgdir/usr/lib/ + chmod 755 $pkgdir/usr/share/man/man1/$pkgname.1 +} + diff --git a/community/haddock/PKGBUILD b/community/haddock/PKGBUILD new file mode 100644 index 000000000..c52029b85 --- /dev/null +++ b/community/haddock/PKGBUILD @@ -0,0 +1,40 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# As generated by cabal2arch 0.7.6 +pkgname=haddock +pkgver=2.9.2 +pkgrel=2 +pkgdesc="Documentation-generation tool for Haskell libraries" +url="http://hackage.haskell.org/package/${pkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +makedepends=(alex happy) +depends=(ghc=7.0.3-2 sh 'haskell-mtl=2.0.1.0-3.1' 'haskell-xhtml=3000.2.0.1-7.1' 'haskell-ghc-paths=0.1.0.8-4.1') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${pkgname}/${pkgver}/${pkgname}-${pkgver}.tar.gz) +install=${pkgname}.install + +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 -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 + mv $pkgdir/usr/bin/haddock $pkgdir/usr/bin/haddock-cabal +} + +md5sums=('04928e132827a1da20ace52babb43e47') diff --git a/community/haddock/haddock.install b/community/haddock/haddock.install new file mode 100644 index 000000000..278da355e --- /dev/null +++ b/community/haddock/haddock.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haddock +post_install() { + ${HS_DIR}/register.sh &> /dev/null + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null +} +pre_upgrade() { + ${HS_DIR}/unregister.sh &> /dev/null +} +post_upgrade() { + ${HS_DIR}/register.sh &> /dev/null + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null +} +pre_remove() { + ${HS_DIR}/unregister.sh &> /dev/null +} +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) &> /dev/null +} diff --git a/community/haskell-binary/PKGBUILD b/community/haskell-binary/PKGBUILD new file mode 100644 index 000000000..f682bb59a --- /dev/null +++ b/community/haskell-binary/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 +_hkgname=binary +pkgname=haskell-binary +pkgver=0.5.0.2 +pkgrel=7.1 +pkgdesc="Binary serialisation for Haskell values using lazy ByteStrings" +url="http://hackage.haskell.org/package/binary" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=(ghc=7.0.3-2 sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('6bf8f3d1441602c9ab09a75e3bd6e926') + +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-binary/haskell-binary.install b/community/haskell-binary/haskell-binary.install new file mode 100644 index 000000000..0084ebef8 --- /dev/null +++ b/community/haskell-binary/haskell-binary.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-binary +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) +} diff --git a/community/haskell-dataenc/PKGBUILD b/community/haskell-dataenc/PKGBUILD new file mode 100644 index 000000000..cd94ed17c --- /dev/null +++ b/community/haskell-dataenc/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.5 +_hkgname=dataenc +pkgname=haskell-dataenc +pkgver=0.13.0.4 +pkgrel=3.2 +pkgdesc="Data encoding library" +url="http://hackage.haskell.org/package/dataenc" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=(ghc=7.0.3-2 sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('4764fa7f75ed3ee95a759d67d1347d46') + +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-dataenc/haskell-dataenc.install b/community/haskell-dataenc/haskell-dataenc.install new file mode 100644 index 000000000..9c1bbff01 --- /dev/null +++ b/community/haskell-dataenc/haskell-dataenc.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-dataenc +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) +} diff --git a/community/haskell-ghc-paths/PKGBUILD b/community/haskell-ghc-paths/PKGBUILD new file mode 100644 index 000000000..a7a4be130 --- /dev/null +++ b/community/haskell-ghc-paths/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: Arch Haskell Team +_hkgname=ghc-paths +pkgname=haskell-ghc-paths +pkgver=0.1.0.8 +pkgrel=4.1 +pkgdesc="Knowledge of GHC's installation directories" +url="http://hackage.haskell.org/package/${_hkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +makedepends=() +depends=(ghc=7.0.3-2) # cannot have stricter dep here due to haddock +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('d2b23dc563888e380588501d2ce1d82b') +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-ghc-paths/haskell-ghc-paths.install b/community/haskell-ghc-paths/haskell-ghc-paths.install new file mode 100644 index 000000000..4fd2c6c56 --- /dev/null +++ b/community/haskell-ghc-paths/haskell-ghc-paths.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-ghc-paths +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) +} diff --git a/community/haskell-haskeline/PKGBUILD b/community/haskell-haskeline/PKGBUILD new file mode 100644 index 000000000..5a6124fd3 --- /dev/null +++ b/community/haskell-haskeline/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 +_hkgname=haskeline +pkgname=haskell-haskeline +pkgver=0.6.3.2 +pkgrel=2.2 +pkgdesc="A command-line interface for user input, written in Haskell." +url="http://hackage.haskell.org/package/haskeline" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.0.3-2' sh 'haskell-utf8-string=0.3.6-7.2' 'haskell-mtl=2.0.1.0-3.1' 'haskell-terminfo=0.3.1.3') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('d75863f63a1cfb499d0198e4f28ac2af') + +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup configure \ + -O -p --enable-split-objs --enable-shared -fterminfo --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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-haskeline/haskell-haskeline.install b/community/haskell-haskeline/haskell-haskeline.install new file mode 100644 index 000000000..27cb4a093 --- /dev/null +++ b/community/haskell-haskeline/haskell-haskeline.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-haskeline +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) +} diff --git a/community/haskell-mmap/PKGBUILD b/community/haskell-mmap/PKGBUILD new file mode 100644 index 000000000..b1002be46 --- /dev/null +++ b/community/haskell-mmap/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +_hkgname=mmap +pkgname=haskell-mmap +pkgver=0.5.7 +pkgrel=3.2 +pkgdesc="Memory mapped files for POSIX and Windows" +url="http://hackage.haskell.org/package/mmap" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.0.3-2' sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('1f74b3f59617332b06e277f5212423c1') + +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-mmap/haskell-mmap.install b/community/haskell-mmap/haskell-mmap.install new file mode 100644 index 000000000..68fe74f4e --- /dev/null +++ b/community/haskell-mmap/haskell-mmap.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-mmap +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) +} diff --git a/community/haskell-tar/PKGBUILD b/community/haskell-tar/PKGBUILD new file mode 100644 index 000000000..459f288bd --- /dev/null +++ b/community/haskell-tar/PKGBUILD @@ -0,0 +1,37 @@ +# Contributor: Arch Haskell Team +_hkgname=tar +pkgname=haskell-tar +pkgver=0.3.1.0 +pkgrel=4.2 +pkgdesc="Reading, writing and manipulating \".tar\" archive files." +url="http://hackage.haskell.org/package/tar" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.0.3-2' sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('10b54856495f9ef0a42aa270085c7d5e') + +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-tar/haskell-tar.install b/community/haskell-tar/haskell-tar.install new file mode 100644 index 000000000..e8c2f6293 --- /dev/null +++ b/community/haskell-tar/haskell-tar.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-tar +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) +} diff --git a/community/haskell-terminfo/PKGBUILD b/community/haskell-terminfo/PKGBUILD new file mode 100644 index 000000000..51e968853 --- /dev/null +++ b/community/haskell-terminfo/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +_hkgname=terminfo +pkgname=haskell-terminfo +pkgver=0.3.1.3 +pkgrel=4.2 +pkgdesc="Haskell bindings to the terminfo library." +url="http://hackage.haskell.org/package/${_hkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.0.3-2' sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('8c0e052340f628b76f5687fa23379628') + +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-terminfo/haskell-terminfo.install b/community/haskell-terminfo/haskell-terminfo.install new file mode 100644 index 000000000..40d39f42b --- /dev/null +++ b/community/haskell-terminfo/haskell-terminfo.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-terminfo +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) +} diff --git a/community/haskell-utf8-string/PKGBUILD b/community/haskell-utf8-string/PKGBUILD new file mode 100644 index 000000000..e6d27dfad --- /dev/null +++ b/community/haskell-utf8-string/PKGBUILD @@ -0,0 +1,39 @@ +# Maintainer: Vesa Kaihlavirta +# Contributor: Arch Haskell Team +# Package generated by cabal2arch 0.7.6 +_hkgname=utf8-string +pkgname=haskell-utf8-string +pkgver=0.3.6 +pkgrel=7.2 +pkgdesc="Support for reading and writing UTF8 Strings" +url="http://hackage.haskell.org/package/${_hkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.0.3-2' sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('be8c5ef52a0824babdc89d60c1e9b600') + +build() { + cd ${srcdir}/${_hkgname}-${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}/${_hkgname}-${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/${_hkgname} + runhaskell Setup copy --destdir=${pkgdir} + install -D -m644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/LICENSE +} diff --git a/community/haskell-utf8-string/haskell-utf8-string.install b/community/haskell-utf8-string/haskell-utf8-string.install new file mode 100644 index 000000000..0f64366b2 --- /dev/null +++ b/community/haskell-utf8-string/haskell-utf8-string.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-utf8-string +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) +} diff --git a/community/haskell-x11-xft/PKGBUILD b/community/haskell-x11-xft/PKGBUILD index 5d7da4448..c8a9ae0f9 100644 --- a/community/haskell-x11-xft/PKGBUILD +++ b/community/haskell-x11-xft/PKGBUILD @@ -1,14 +1,14 @@ -# $Id: PKGBUILD 41278 2011-03-04 23:15:52Z remy $ +# $Id: PKGBUILD 49962 2011-06-22 19:43:36Z vegai $ # Maintainer: Sergej Pupykin _hkgname=X11-xft pkgname=haskell-x11-xft pkgver=0.3 -pkgrel=19.2 +pkgrel=19.4 pkgdesc="Bindings to the Xft, X Free Type interface library, and some Xrender parts" url="http://hackage.haskell.org/package/${_hkgname}" license=('LGPL') arch=('i686' 'x86_64') -depends=('ghc=7.0.2' 'haskell-x11=1.5.0.0' 'haskell-utf8-string=0.3.6' 'libxft') +depends=('ghc=7.0.3-2' 'haskell-x11=1.5.0.0-7.3' 'haskell-utf8-string=0.3.6-7.2' 'libxft') options=('strip') source=(http://hackage.haskell.org/packages/archive/X11-xft/$pkgver/X11-xft-$pkgver.tar.gz) install=haskell-x11-xft.install diff --git a/community/haskell-x11/PKGBUILD b/community/haskell-x11/PKGBUILD index 9c1f0bf8b..417b6daab 100644 --- a/community/haskell-x11/PKGBUILD +++ b/community/haskell-x11/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 41253 2011-03-04 22:32:41Z remy $ +# $Id: PKGBUILD 49953 2011-06-22 19:21:47Z vegai $ # Maintainer: Sergej Pupykin # Contributor: shild # Maintainer: Vesa Kaihlavirta @@ -6,13 +6,13 @@ _hkgname=X11 pkgname=haskell-x11 pkgver=1.5.0.0 -pkgrel=7.2 +pkgrel=7.3 pkgdesc="A Haskell binding to the X11 graphics library." arch=(i686 x86_64) url="http://hackage.haskell.org/cgi-bin/hackage-scripts/package/X11" license=('custom:BSD3') options=('strip') -depends=("ghc=7.0.2" "haskell-syb=0.3" 'libx11' 'libxinerama') +depends=("ghc=7.0.3-2" "haskell-syb=0.3-2.1" 'libx11' 'libxinerama') conflicts=(haskell-x11-extras) install=hsmod.install source=(http://hackage.haskell.org/packages/archive/X11/$pkgver/X11-$pkgver.tar.gz) diff --git a/community/libtorrent/PKGBUILD b/community/libtorrent/PKGBUILD index a3c670b43..a15316f09 100644 --- a/community/libtorrent/PKGBUILD +++ b/community/libtorrent/PKGBUILD @@ -3,24 +3,29 @@ # Contributor: sh__ pkgname=libtorrent -pkgver=0.12.6 -pkgrel=2 -pkgdesc="BitTorrent library written in C++" -arch=('i686' 'x86_64') -url="http://libtorrent.rakshasa.no" +pkgver=0.12.9 +pkgrel=1 +pkgdesc='BitTorrent library written in C++' +url='http://libtorrent.rakshasa.no/' license=('GPL') +arch=('i686' 'x86_64') depends=('libsigc++2.0' 'openssl') options=('!libtool') -source=(http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz) -md5sums=('037499ed708aaf72988cee60e5a8d96b') +source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz") +sha1sums=('176a836c6e685e4dad71ac08c0e09caaa5b7757c') build() { - cd "$srcdir/$pkgname-$pkgver" + cd "${srcdir}/${pkgname}-${pkgver}" - CXXFLAGS="$CXXFLAGS -fno-strict-aliasing" \ - ./configure --prefix=/usr --disable-debug || return 1 - make || return 1 - make DESTDIR="$pkgdir" install + export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + ./configure \ + --prefix=/usr \ + --disable-debug \ + + make } -# vim:set ts=2 sw=2 et: +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install +} diff --git a/community/picard/PKGBUILD b/community/picard/PKGBUILD index d63ac162d..96ec12311 100644 --- a/community/picard/PKGBUILD +++ b/community/picard/PKGBUILD @@ -1,22 +1,27 @@ -# $Id: PKGBUILD 42161 2011-03-14 16:27:36Z mherych $ -# Maintainer Mateusz Herych -# Contributor sysrq +# $Id: PKGBUILD 50174 2011-06-25 20:20:09Z bisson $ +# Maintainer: Mateusz Herych +# Contributor: sysrq pkgname=picard -pkgver=0.13 +pkgver=0.14 pkgrel=1 -pkgdesc="Next generation MusicBrainz tagging application (QT4 interface)" -arch=('i686' 'x86_64') -url="http://musicbrainz.org/doc/PicardQt" +pkgdesc='Official MusicBrainz tagger' +url='http://musicbrainz.org/doc/MusicBrainz_Picard' license=('GPL') +arch=('i686' 'x86_64') depends=('python2-qt' 'mutagen' 'libofa' 'ffmpeg') optdepends=('libdiscid: CD-Lookup feature') -install=picard.install -source=(http://ftp.musicbrainz.org/pub/musicbrainz/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('bc8dc9109de218b544204669119d10c5') +source=("http://ftp.musicbrainz.org/pub/musicbrainz/${pkgname}/${pkgname}-${pkgver}.tar.gz") +md5sums=('bbc6aee61e779153b77e381e8cd2ba08') + +install=install build() { - cd $srcdir/picard-$pkgver - python2 setup.py config - python2 setup.py install --root=$pkgdir + cd "${srcdir}/picard-${pkgver}" + python2 setup.py config +} + +package() { + cd "${srcdir}/picard-${pkgver}" + python2 setup.py install --root="${pkgdir}" } diff --git a/community/picard/install b/community/picard/install new file mode 100644 index 000000000..b46fab005 --- /dev/null +++ b/community/picard/install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &>/dev/null + update-desktop-database -q &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/community/qtcreator/PKGBUILD b/community/qtcreator/PKGBUILD index 866bff343..4fd8b9f42 100644 --- a/community/qtcreator/PKGBUILD +++ b/community/qtcreator/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 50079 2011-06-24 08:49:19Z svenstaro $ +# $Id: PKGBUILD 50126 2011-06-25 11:05:26Z svenstaro $ # Maintainer: Imanol Celaya # Maintainer: Sven-Hendrik Haase # Contributor: Lukas Jirkovsky @@ -11,7 +11,7 @@ pkgbase=qtcreator #pkgname=('qtcreator' 'qtcreator-todo-plugin' 'qtcreator-artisticstyle-plugin') pkgname=('qtcreator' 'qtcreator-todo-plugin') pkgver=2.2.1 -pkgrel=2 +pkgrel=3 pkgdesc='Lightweight, cross-platform integrated development environment' arch=('i686' 'x86_64') url='http://qt.nokia.com/products/developer-tools' @@ -88,7 +88,7 @@ package_qtcreator() { package_qtcreator-todo-plugin() { license=('BSD') - depends=('qtcreator=2.2.0') + depends=("qtcreator=$pkgver") pkgdesc='TODO plugin for QtCreator' url='http://gitorious.org/qt-creator-tod install -Dm644 ${srcdir}/qtcreator.desktop \ @@ -105,7 +105,7 @@ package_qtcreator-todo-plugin() { #package_qtcreator-artisticstyle-plugin() { # license=('GPL3' 'LGPL') -# depends=('qtcreator=2.2.0') +# depends=("qtcreator=$pkgver") # pkgdesc='ArtisticStyle plugin for QtCreator' # url='http://astyleplugin.berlios.de/index.php' # diff --git a/community/rtorrent/PKGBUILD b/community/rtorrent/PKGBUILD index e106bd12c..0f387097d 100644 --- a/community/rtorrent/PKGBUILD +++ b/community/rtorrent/PKGBUILD @@ -3,30 +3,33 @@ # Contributor: sh__ pkgname=rtorrent -pkgver=0.8.6 -pkgrel=3 -pkgdesc="Ncurses BitTorrent client based on libTorrent" -arch=('i686' 'x86_64') -url="http://libtorrent.rakshasa.no" +pkgver=0.8.9 +pkgrel=2 +pkgdesc='Ncurses BitTorrent client based on libTorrent' +url='http://libtorrent.rakshasa.no/' license=('GPL') -depends=('libtorrent=0.12.6' 'curl>=7.14.3' 'xmlrpc-c>=1858') -source=("http://libtorrent.rakshasa.no/downloads/$pkgname-$pkgver.tar.gz" \ - ncurses58.patch) -options=(!strip) +arch=('i686' 'x86_64') +depends=('libtorrent=0.12.9' 'curl' 'xmlrpc-c') +source=("http://libtorrent.rakshasa.no/downloads/${pkgname}-${pkgver}.tar.gz") +sha1sums=('0ac51c185e98b5a386e5f1a07bca9a9963e2d6ce') build() { - cd "$srcdir/$pkgname-$pkgver" - patch -Np0 -i $srcdir/ncurses58.patch + cd "${srcdir}/${pkgname}-${pkgver}" - CXXFLAGS="$CXXFLAGS -g -fno-strict-aliasing" \ - ./configure --prefix=/usr --enable-debug --with-xmlrpc-c - make - make DESTDIR="$pkgdir" install + export CXXFLAGS="${CXXFLAGS} -fno-strict-aliasing" + ./configure \ + --prefix=/usr \ + --enable-debug \ + --with-xmlrpc-c \ + + make } +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install -# vim:set ts=2 sw=2 et: -md5sums=('b804c45c01c40312926bcea6b55bb084' - 'b8fcd9b6d3385a85ff31de6f32e60e7d') -md5sums=('b804c45c01c40312926bcea6b55bb084' - '1a525adddc0424c23ed9a4aa31c0164a') + install -D doc/faq.xml "${pkgdir}"/usr/share/doc/rtorrent/faq.xml + install -D doc/rtorrent.1 "${pkgdir}"/usr/share/man/man1/rtorrent.1 + install -D doc/rtorrent.rc "${pkgdir}"/usr/share/doc/rtorrent/rtorrent.rc +} diff --git a/community/xmonad-contrib/PKGBUILD b/community/xmonad-contrib/PKGBUILD index 1e43ff570..84455217a 100644 --- a/community/xmonad-contrib/PKGBUILD +++ b/community/xmonad-contrib/PKGBUILD @@ -1,16 +1,16 @@ -# $Id: PKGBUILD 41293 2011-03-04 23:37:55Z remy $ +# $Id: PKGBUILD 49972 2011-06-22 19:52:11Z vegai $ # Maintainer: Sergej Pupykin # Maintainer: Vesa Kaihlavirta # Contributor: orbisvicis pkgname=xmonad-contrib pkgver=0.9.2 -pkgrel=1.2 +pkgrel=2.1 pkgdesc="Add-ons for xmonad" arch=('i686' 'x86_64') url="http://xmonad.org/" license=('BSD') -depends=('ghc=7.0.2' 'xmonad=0.9.2' 'sh' 'haskell-x11=1.5.0.0' +depends=('ghc=7.0.3-2' 'xmonad=0.9.2-2.1' 'sh' 'haskell-x11=1.5.0.0' 'haskell-x11-xft=0.3' 'haskell-utf8-string=0.3.6') install='xmonad-contrib.install' source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz) @@ -18,7 +18,7 @@ md5sums=('616cbc632bbde5cd4cdb643ee47e74d2') build() { cd $srcdir/$pkgname-$pkgver - runhaskell Setup.lhs configure --ghc --enable-split-objs --prefix=/usr -fuse_xft \ + 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 diff --git a/community/xmonad/PKGBUILD b/community/xmonad/PKGBUILD index 63bad6732..d669fc325 100644 --- a/community/xmonad/PKGBUILD +++ b/community/xmonad/PKGBUILD @@ -1,26 +1,23 @@ -# $Id: PKGBUILD 41283 2011-03-04 23:20:31Z remy $ +# $Id: PKGBUILD 49967 2011-06-22 19:45:42Z vegai $ # Maintainer: Sergej Pupykin # Maintainer: Vesa Kaihlavirta # Contributor: shild pkgname=xmonad pkgver=0.9.2 -pkgrel=1.2 +pkgrel=2.1 pkgdesc="A lightweight X11 tiled window manager written in Haskell" arch=('i686' 'x86_64') url="http://xmonad.org/" license=('BSD') -depends=('ghc=7.0.2' 'gmp' 'haskell-x11=1.5.0.0' 'sh' 'haskell-mtl=2.0.1.0' 'haskell-utf8-string=0.3.6') +depends=('ghc=7.0.3' 'gmp' 'haskell-x11=1.5.0.0' 'sh' 'haskell-mtl=2.0.1.0' 'haskell-utf8-string=0.3.6') install='xmonad.install' source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz - xmonad.desktop xmonad.svg) -md5sums=('5a4117f798664d772d2a834ea6c90f1c' - 'f61961459f190b6d948f1f2782afa7a7' - '72bfa5e62e4e44fe7fa59b6a7593d993') + xmonad.desktop xmonad.session xmonad.svg) build() { cd $srcdir/$pkgname-$pkgver - runhaskell Setup.lhs configure --ghc --enable-split-objs --prefix=/usr \ + runhaskell Setup.lhs configure --ghc --enable-shared --enable-split-objs --prefix=/usr \ --libsubdir=\$compiler/site-local/\$pkgid runhaskell Setup build runhaskell Setup register --gen-script @@ -39,8 +36,11 @@ package() { install -D -m644 LICENSE $pkgdir/usr/share/licenses/xmonad/LICENSE - install -D -m644 $srcdir/xmonad.desktop $pkgdir/usr/share/applications/xmonad.desktop - mkdir -p $pkgdir/etc/X11/sessions - ln -s /usr/share/applications/xmonad.desktop $pkgdir/etc/X11/sessions/xmonad.desktop + install -D -m644 $srcdir/xmonad.desktop $pkgdir/usr/share/xsessions/xmonad.desktop + install -D -m644 $srcdir/xmonad.session $pkgdir/usr/share/gnome-session/sessions/xmonad.session install -D -m644 $srcdir/xmonad.svg $pkgdir/usr/share/pixmaps/xmonad.svg } +md5sums=('5a4117f798664d772d2a834ea6c90f1c' + 'f8e3d84a9f154d1b5d7fcffbc0a058c9' + '9d1bc84a7f32897d32f3fc71ef76228e' + '72bfa5e62e4e44fe7fa59b6a7593d993') diff --git a/community/xmonad/xmonad.desktop b/community/xmonad/xmonad.desktop index a99be19f9..0af0f2d9b 100644 --- a/community/xmonad/xmonad.desktop +++ b/community/xmonad/xmonad.desktop @@ -1,12 +1,7 @@ [Desktop Entry] -Encoding=UTF-8 -Name=xmonad +Name=Xmonad GNOME +Comment=Tiling window manager +TryExec=/usr/bin/gnome-session +Exec=gnome-session --session=xmonad +Type=XSession Icon=/usr/share/pixmaps/xmonad.svg -Comment=This session starts xmonad -Exec=/usr/bin/xmonad -Type=Application -NoDisplay=true -X-GNOME-WMName=Xmonad -X-GNOME-Autostart-Phase=WindowManager -X-GNOME-Provides=windowmanager -X-GNOME-Autostart-Notify=false diff --git a/community/xmonad/xmonad.session b/community/xmonad/xmonad.session new file mode 100644 index 000000000..c0bd16781 --- /dev/null +++ b/community/xmonad/xmonad.session @@ -0,0 +1,6 @@ +[GNOME Session] +Name=Xmonad session +RequiredComponents=gnome-panel;gnome-settings-daemon; +RequiredProviders=windowmanager;notifications; +DefaultProvider-windowmanager=xmonad +DefaultProvider-notifications=notification-daemon -- cgit v1.2.3-54-g00ecf