diff options
author | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 22:29:52 -0300 |
---|---|---|
committer | Nicolas Reynolds <fauno@kiwwwi.com.ar> | 2012-02-26 22:29:52 -0300 |
commit | 258bafde6bf3c83e4108230457073e8136719a73 (patch) | |
tree | a6132a3a8316be50ff77e3cfcf5c41f94747bd2c /community-staging | |
parent | 9b703cb6980ff009ca181cecd900cb2e78f5d54e (diff) | |
parent | f6a79a3f5989efc8db63af942851c56f0c462bb1 (diff) |
Merge branch 'master' of ssh://vparabola/home/parabola/abslibre-pre-mips64el
Conflicts:
community/pigeonhole/PKGBUILD
community/pv/PKGBUILD
community/python-gnupginterface/PKGBUILD
community/tdl/PKGBUILD
extra/clisp/PKGBUILD
extra/expect/PKGBUILD
extra/gtkpod/PKGBUILD
extra/hspell/PKGBUILD
extra/id3lib/PKGBUILD
extra/imake/PKGBUILD
extra/libfontenc/PKGBUILD
extra/libice/PKGBUILD
extra/libsm/PKGBUILD
extra/libspectre/PKGBUILD
extra/libtasn1/PKGBUILD
extra/libxau/PKGBUILD
extra/libxaw/PKGBUILD
extra/libxxf86dga/PKGBUILD
extra/mp3splt/PKGBUILD
extra/multitail/PKGBUILD
extra/nss_ldap/PKGBUILD
extra/pam_ldap/PKGBUILD
extra/recode/PKGBUILD
extra/ruby/PKGBUILD
extra/squid/PKGBUILD
extra/ssmtp/PKGBUILD
extra/umfpack/PKGBUILD
extra/xorg-xbacklight/PKGBUILD
extra/xorg-xbiff/PKGBUILD
extra/xorg-xcalc/PKGBUILD
extra/xorg-xconsole/PKGBUILD
extra/xorg-xedit/PKGBUILD
extra/xorg-xeyes/PKGBUILD
extra/xorg-xvinfo/PKGBUILD
Diffstat (limited to 'community-staging')
20 files changed, 592 insertions, 0 deletions
diff --git a/community-staging/haskell-binary/PKGBUILD b/community-staging/haskell-binary/PKGBUILD new file mode 100644 index 000000000..99a4677d7 --- /dev/null +++ b/community-staging/haskell-binary/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 66479 2012-02-25 14:56:03Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Vesa Kaihlavirta <vesa@archlinux.org> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> + +pkgname=haskell-binary +pkgver=0.5.1.0 +pkgrel=1 +pkgdesc="Binary serialisation for Haskell values using lazy ByteStrings" +url="http://hackage.haskell.org/package/binary" +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=(ghc=7.4.1 sh) +options=('strip') +source=("http://hackage.haskell.org/packages/archive/binary/$pkgver/binary-$pkgver.tar.gz") +install=haskell-binary.install +sha256sums=('2ad477b47e9158d61517689f5f0c7b0240ff891059418d6758879020800351a3') + +build() { + cd "$srcdir/binary-$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/binary-$pkgver" + + install -Dm 744 register.sh \ + "$pkgdir/usr/share/haskell/$pkgname/register.sh" + install -m 744 unregister.sh \ + "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" + install -dm 755 "$pkgdir/usr/share/doc/ghc/html/libraries" + ln -s "/usr/share/doc/$pkgname/html" \ + "$pkgdir/usr/share/doc/ghc/html/libraries/binary" + runhaskell Setup copy --destdir="$pkgdir" + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/haskell-binary/haskell-binary.install b/community-staging/haskell-binary/haskell-binary.install new file mode 100644 index 000000000..844b8a67c --- /dev/null +++ b/community-staging/haskell-binary/haskell-binary.install @@ -0,0 +1,24 @@ +HS_DIR=usr/share/haskell/haskell-binary + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +post_upgrade() { + ${HS_DIR}/register.sh + post_remove +} + +post_install() { + post_upgrade +} + +pre_remove() { + pre_upgrade +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/haskell-ghc-paths/PKGBUILD b/community-staging/haskell-ghc-paths/PKGBUILD new file mode 100644 index 000000000..46c267182 --- /dev/null +++ b/community-staging/haskell-ghc-paths/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: PKGBUILD 66483 2012-02-25 15:06:14Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> + +pkgname=haskell-ghc-paths +pkgver=0.1.0.8 +pkgrel=6 +pkgdesc="Knowledge of GHC's installation directories" +url="http://hackage.haskell.org/package/ghc-paths" +license=('custom:BSD3') +arch=('x86_64' 'i686') +makedepends=() +depends=(ghc=7.4.1) +options=('strip') +source=("http://hackage.haskell.org/packages/archive/ghc-paths/$pkgver/ghc-paths-$pkgver.tar.gz") +install=haskell-ghc-paths.install +md5sums=('d2b23dc563888e380588501d2ce1d82b') + +build() { + cd "$srcdir/ghc-paths-$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/ghc-paths-$pkgver" + + install -Dm 744 register.sh \ + "$pkgdir/usr/share/haskell/$pkgname/register.sh" + install -m 744 unregister.sh \ + "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" + install -dm 755 "$pkgdir/usr/share/doc/ghc/html/libraries" + ln -s "/usr/share/doc/$pkgname/html" \ + "$pkgdir/usr/share/doc/ghc/html/libraries/ghc-paths" + runhaskell Setup copy --destdir="$pkgdir" + install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/haskell-ghc-paths/haskell-ghc-paths.install b/community-staging/haskell-ghc-paths/haskell-ghc-paths.install new file mode 100644 index 000000000..4fd2c6c56 --- /dev/null +++ b/community-staging/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-staging/haskell-stm/PKGBUILD b/community-staging/haskell-stm/PKGBUILD new file mode 100644 index 000000000..fa9819d51 --- /dev/null +++ b/community-staging/haskell-stm/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Vesa Kaihlavirta <vesa@archlinux.org> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> +# Package generated by cabal2arch 0.7.5 +_hkgname=stm +pkgname=haskell-stm +pkgver=2.2.0.1 +pkgrel=3 +pkgdesc="A modular composable concurrency abstraction." +url="http://hackage.haskell.org/package/stm" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.4.1' 'sh') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/$pkgver/${_hkgname}-$pkgver.tar.gz) +install=${pkgname}.install +md5sums=('b1cf03ed315e00c33160746feeee8682') + +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-staging/haskell-stm/haskell-stm.install b/community-staging/haskell-stm/haskell-stm.install new file mode 100644 index 000000000..0283c2fc5 --- /dev/null +++ b/community-staging/haskell-stm/haskell-stm.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-stm +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-staging/haskell-syb/PKGBUILD b/community-staging/haskell-syb/PKGBUILD new file mode 100644 index 000000000..9223379b2 --- /dev/null +++ b/community-staging/haskell-syb/PKGBUILD @@ -0,0 +1,37 @@ +# Maintainer: Rémy Oudompheng <remy@archlinux.org> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> +_hkgname=syb +pkgname=haskell-syb +pkgver=0.3.6 +pkgrel=1 +pkgdesc="A library for client-side HTTP" +url="http://hackage.haskell.org/package/${_hkgname}" +license=('custom:BSD3') +arch=('i686' 'x86_64') +depends=('ghc=7.4.1' sh) +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('0d807bb244fdeb95fa546b4311fcd8df') + +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup configure -O -p --enable-split-objs --enable-shared --prefix=/usr --docdir=/usr/share/doc/${pkgname} + 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-staging/haskell-syb/haskell-syb.install b/community-staging/haskell-syb/haskell-syb.install new file mode 100644 index 000000000..080055165 --- /dev/null +++ b/community-staging/haskell-syb/haskell-syb.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-syb +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-staging/haskell-tar/PKGBUILD b/community-staging/haskell-tar/PKGBUILD new file mode 100644 index 000000000..7b98d8a82 --- /dev/null +++ b/community-staging/haskell-tar/PKGBUILD @@ -0,0 +1,46 @@ +# $Id: PKGBUILD 66489 2012-02-25 15:51:44Z arodseth $ +# Maintainer: Alexander Rødseth <rodseth@gmail.com> +# Contributor: Arch Haskell Team <arch-haskell@haskell.org> + +pkgname=haskell-tar +pkgver=0.4.0.0 +pkgrel=1 +pkgdesc="Reading, writing and manipulating \".tar\" archive files." +url="http://hackage.haskell.org/package/tar" +license=('custom:BSD3') +arch=('x86_64' 'i686') +depends=('ghc=7.4.1') +options=('strip') +source=("http://hackage.haskell.org/packages/archive/tar/$pkgver/tar-$pkgver.tar.gz") +install=haskell-tar.install +sha256sums=('a3d37be1b8666c16c6371d193a0795b8abe7b0216e81870a2666e1e85d931113') + +build() { + cd "$srcdir/tar-$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/tar-$pkgver" + + install -Dm 744 register.sh \ + "$pkgdir/usr/share/haskell/$pkgname/register.sh" + install -m 744 unregister.sh \ + "$pkgdir/usr/share/haskell/$pkgname/unregister.sh" + install -dm 755 "$pkgdir/usr/share/doc/ghc/html/libraries" + ln -s "/usr/share/doc/$pkgname/html" \ + "$pkgdir/usr/share/doc/ghc/html/libraries/tar" + runhaskell Setup copy --destdir="$pkgdir" + install -Dm 644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + rm -f "$pkgdir/usr/share/doc/$pkgname/LICENSE" +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/haskell-tar/haskell-tar.install b/community-staging/haskell-tar/haskell-tar.install new file mode 100644 index 000000000..7e0383621 --- /dev/null +++ b/community-staging/haskell-tar/haskell-tar.install @@ -0,0 +1,24 @@ +HS_DIR=usr/share/haskell/haskell-tar + +post_install() { + ${HS_DIR}/register.sh + post_remove +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + post_install +} + +pre_remove() { + pre_upgrade +} + +post_remove() { + (cd usr/share/doc/ghc/html/libraries; ./gen_contents_index) +} + +# vim:set ts=2 sw=2 et: diff --git a/community-staging/haskell-x11-xft/PKGBUILD b/community-staging/haskell-x11-xft/PKGBUILD new file mode 100644 index 000000000..93dd4ab28 --- /dev/null +++ b/community-staging/haskell-x11-xft/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: PKGBUILD 66502 2012-02-25 19:03:17Z jelle $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +_hkgname=X11-xft +pkgname=haskell-x11-xft +pkgver=0.3.1 +pkgrel=3 +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.4.1' 'haskell-x11=1.5.0.1' 'haskell-utf8-string=0.3.7' 'libxft') +options=('strip') +install=haskell-x11-xft.install +source=(http://hackage.haskell.org/packages/archive/X11-xft/$pkgver/X11-xft-$pkgver.tar.gz) +md5sums=('ad885150a59f63de328e73abe5ffc79e') + +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-staging/haskell-x11-xft/haskell-x11-xft.install b/community-staging/haskell-x11-xft/haskell-x11-xft.install new file mode 100644 index 000000000..a0ff8dac8 --- /dev/null +++ b/community-staging/haskell-x11-xft/haskell-x11-xft.install @@ -0,0 +1,18 @@ +HS_DIR=/usr/share/haskell/haskell-x11-xft +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-staging/haskell-x11/PKGBUILD b/community-staging/haskell-x11/PKGBUILD new file mode 100644 index 000000000..c867814e4 --- /dev/null +++ b/community-staging/haskell-x11/PKGBUILD @@ -0,0 +1,41 @@ +# $Id: PKGBUILD 66493 2012-02-25 17:16:46Z jelle $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: shild <sxp@bk.ru> +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> + +_hkgname=X11 +pkgname=haskell-x11 +pkgver=1.5.0.1 +pkgrel=2 +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.4.1" "haskell-syb=0.3.6" 'libx11' 'libxinerama') +conflicts=(haskell-x11-extras) +install=hsmod.install +source=(http://hackage.haskell.org/packages/archive/X11/$pkgver/X11-$pkgver.tar.gz) +md5sums=('7d69b204f773a0335828ced0e1e069f2') + +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-staging/haskell-x11/hsmod.install b/community-staging/haskell-x11/hsmod.install new file mode 100644 index 000000000..45c23b979 --- /dev/null +++ b/community-staging/haskell-x11/hsmod.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-x11 +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-staging/xmonad/PKGBUILD b/community-staging/xmonad/PKGBUILD new file mode 100644 index 000000000..fa3779df6 --- /dev/null +++ b/community-staging/xmonad/PKGBUILD @@ -0,0 +1,49 @@ +# $Id: PKGBUILD 66511 2012-02-25 22:21:22Z jelle $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Maintainer: Vesa Kaihlavirta <vegai@iki.fi> +# Contributor: shild <shildv@gmail.com> + +pkgname=xmonad +pkgver=0.10 +pkgrel=3 +pkgdesc="A lightweight X11 tiled window manager written in Haskell" +arch=('i686' 'x86_64') +url="http://xmonad.org/" +license=('BSD') +depends=('ghc=7.4.1' 'gmp' 'haskell-x11=1.5.0.1' 'sh' 'haskell-mtl=2.0.1.0' 'haskell-utf8-string=0.3.7') +optdepends=('xorg-xmessage: for displaying visual error messages') +install='xmonad.install' +source=(http://hackage.haskell.org/packages/archive/$pkgname/$pkgver/$pkgname-$pkgver.tar.gz + xmonad.desktop + xmonad.session + xmonad.svg) +md5sums=('f8381e1ec15137863558a454d4466467' + 'f8e3d84a9f154d1b5d7fcffbc0a058c9' + '9d1bc84a7f32897d32f3fc71ef76228e' + '72bfa5e62e4e44fe7fa59b6a7593d993') + +build() { + cd $srcdir/$pkgname-$pkgver + 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 + 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 +# runhaskell util/GenerateManpage.hs + + install -D -m644 man/xmonad.1 $pkgdir/usr/share/man/man1/xmonad.1 + + install -D -m644 LICENSE $pkgdir/usr/share/licenses/xmonad/LICENSE + + 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 +} diff --git a/community-staging/xmonad/xmonad.desktop b/community-staging/xmonad/xmonad.desktop new file mode 100644 index 000000000..0af0f2d9b --- /dev/null +++ b/community-staging/xmonad/xmonad.desktop @@ -0,0 +1,7 @@ +[Desktop Entry] +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 diff --git a/community-staging/xmonad/xmonad.install b/community-staging/xmonad/xmonad.install new file mode 100644 index 000000000..6659247db --- /dev/null +++ b/community-staging/xmonad/xmonad.install @@ -0,0 +1,22 @@ +HS_DIR=/usr/share/haskell/xmonad + +post_install() { + ${HS_DIR}/register.sh + echo "xmonad now has dynamic configuration via ~/.xmonad/xmonad.hs" + echo "See http://haskell.org/haskellwiki/Xmonad/Config_archive for examples" + echo + echo "If you would like to run xmonad as a window manager inside GNOME, please see" + echo "http://www.haskell.org/haskellwiki/Xmonad/Using_xmonad_in_Gnome#Setting_up_Gnome_to_use_Xmonad" +} + +pre_upgrade() { + ${HS_DIR}/unregister.sh +} + +post_upgrade() { + ${HS_DIR}/register.sh +} + +pre_remove() { + ${HS_DIR}/unregister.sh +} diff --git a/community-staging/xmonad/xmonad.png b/community-staging/xmonad/xmonad.png Binary files differnew file mode 100644 index 000000000..d957f62f8 --- /dev/null +++ b/community-staging/xmonad/xmonad.png diff --git a/community-staging/xmonad/xmonad.session b/community-staging/xmonad/xmonad.session new file mode 100644 index 000000000..c0bd16781 --- /dev/null +++ b/community-staging/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 diff --git a/community-staging/xmonad/xmonad.svg b/community-staging/xmonad/xmonad.svg new file mode 100644 index 000000000..5fc884213 --- /dev/null +++ b/community-staging/xmonad/xmonad.svg @@ -0,0 +1,77 @@ +<?xml version="1.0" encoding="UTF-8" standalone="no"?> +<!-- Created with Inkscape (http://www.inkscape.org/) --> +<svg + xmlns:dc="http://purl.org/dc/elements/1.1/" + xmlns:cc="http://web.resource.org/cc/" + xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" + xmlns:svg="http://www.w3.org/2000/svg" + xmlns="http://www.w3.org/2000/svg" + xmlns:sodipodi="http://sodipodi.sourceforge.net/DTD/sodipodi-0.dtd" + xmlns:inkscape="http://www.inkscape.org/namespaces/inkscape" + id="svg2211" + sodipodi:version="0.32" + inkscape:version="0.45.1" + width="47" + height="73" + version="1.0" + sodipodi:docbase="/home/sjanssen/xmonad-web/images" + sodipodi:docname="logo.svg" + inkscape:output_extension="org.inkscape.output.svg.inkscape" + inkscape:export-filename="/home/sjanssen/xmonad-web/images/logo.png" + inkscape:export-xdpi="90" + inkscape:export-ydpi="90"> + <metadata + id="metadata2216"> + <rdf:RDF> + <cc:Work + rdf:about=""> + <dc:format>image/svg+xml</dc:format> + <dc:type + rdf:resource="http://purl.org/dc/dcmitype/StillImage" /> + </cc:Work> + </rdf:RDF> + </metadata> + <defs + id="defs2214" /> + <sodipodi:namedview + inkscape:window-height="778" + inkscape:window-width="1278" + inkscape:pageshadow="2" + inkscape:pageopacity="1" + guidetolerance="10.0" + gridtolerance="10.0" + objecttolerance="10.0" + borderopacity="1.0" + bordercolor="#666666" + pagecolor="#ffffff" + id="base" + inkscape:zoom="4" + inkscape:cx="23.5" + inkscape:cy="22.689137" + inkscape:window-x="0" + inkscape:window-y="20" + inkscape:current-layer="g3208" /> + <g + id="g3208" + transform="translate(-44.517797,4.0967298)"> + <g + id="g3212" + transform="matrix(1.0216109,0,0,1.0127041,45.533715,-4.3577662)"> + <path + style="font-size:73.7244339px;font-style:normal;font-weight:normal;fill:#aeaeae;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + d="M 22.62043,20.307707 L 36.04778,0.32867349 L 43.859402,0.32867349 L 26.580238,26.139425 L 22.080456,31.215179 L 6.8531925,54.074074 L -0.9944279,54.074074 L 18.192644,25.383462" + id="text2220" + sodipodi:nodetypes="cccccccc" /> + <path + id="path3206" + d="M 1.4534537,0.32867349 L 9.2650758,0.32867349 L 45.011347,54.074074 L 37.199725,54.074074 L 22.080456,31.215179 L 6.8531925,54.074074 L -0.9944279,54.074074 L 18.192644,25.383462 L 1.4534537,0.32867349" + style="font-size:73.7244339px;font-style:normal;font-weight:normal;fill:#000000;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans" + sodipodi:nodetypes="ccccccccc" /> + </g> + <path + style="font-size:28.207407px;font-style:normal;font-variant:normal;font-weight:normal;font-stretch:normal;text-align:start;line-height:125%;writing-mode:lr-tb;text-anchor:start;fill:#ee0a00;fill-opacity:1;stroke:none;stroke-width:1px;stroke-linecap:butt;stroke-linejoin:miter;stroke-opacity:1;font-family:Bitstream Vera Sans Mono" + d="M 44.517797,65.480602 L 55.836194,59.828049 L 44.517797,54.228655 L 44.517797,51.056847 L 58.809298,58.321883 L 58.809298,61.298776 L 44.517797,68.652411 M 44.517797,68.652411 L 44.517797,65.480602 M 73.929389,61.298776 L 59.637889,68.652411 L 59.637889,65.480602 L 70.956287,59.828049 L 59.637889,54.228655 L 59.637889,51.056847 L 73.929389,58.321883 L 73.929389,61.298776 z M 91.517797,57.382744 L 77.270452,57.382744 L 77.270452,54.405851 L 91.517797,54.405851 L 91.517797,57.382744 z M 91.517797,65.267967 L 77.270452,65.267967 L 77.270452,62.291073 L 91.517797,62.291073 L 91.517797,65.267967 z " + id="text3216" + sodipodi:nodetypes="ccccccccccccccccccccccccccc" /> + </g> +</svg> |