diff options
author | root <root@rshg054.dnsready.net> | 2011-09-19 23:14:46 +0000 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2011-09-19 23:14:46 +0000 |
commit | df65be2b18070d63ffd056e8563279e4646bee9a (patch) | |
tree | db83bf14cc793eaa739a4c65f7af96583cc56576 /community | |
parent | f57b139ded4e8c4b10555985513b3f9a70a70e12 (diff) |
Mon Sep 19 23:14:46 UTC 2011
Diffstat (limited to 'community')
-rwxr-xr-x | community/emesene/PKGBUILD | 12 | ||||
-rw-r--r-- | community/haskell-bytestring-show/PKGBUILD | 44 | ||||
-rw-r--r-- | community/haskell-bytestring-show/haskell-bytestring-show.install | 24 | ||||
-rw-r--r-- | community/hedgewars/PKGBUILD | 17 | ||||
-rw-r--r-- | community/libraw/PKGBUILD | 10 | ||||
-rw-r--r-- | community/python-bsddb/PKGBUILD | 37 |
6 files changed, 101 insertions, 43 deletions
diff --git a/community/emesene/PKGBUILD b/community/emesene/PKGBUILD index f6a188c92..292183a79 100755 --- a/community/emesene/PKGBUILD +++ b/community/emesene/PKGBUILD @@ -1,23 +1,21 @@ -# $Id: PKGBUILD 53195 2011-07-31 21:48:19Z rvanharen $ +# $Id: PKGBUILD 55723 2011-09-18 07:15:35Z rvanharen $ # Maintainer: Ronald van Haren <ronald.archlinux.org> # Contributor: Claudio Riva <firetux83@gmail.com> pkgname=emesene pkgver=2.11.7 -pkgrel=1 +pkgrel=2 pkgdesc="A pygtk MSN Messenger client" url="http://www.emesene.org/" license=('custom:PSF' 'GPL' 'LGPL2.1') arch=('i686' 'x86_64') # libmimic is hardcoded, so no 'any' package -#depends=('python2' 'pygtk' 'hicolor-icon-theme' 'xdg-utils') depends=('python2' 'pygtk' 'python-dnspython' 'pylint' 'python-notify' 'openssl' \ -'papyon' 'python-imaging' 'dbus-python' 'xdg-utils' 'hicolor-icon-theme') +'papyon' 'python-imaging' 'dbus-python' 'xdg-utils' 'hicolor-icon-theme' \ +'gstreamer0.10-python' 'gstreamer0.10-good') makedepends=('python2-distribute') optdepends=('gnome-python-extras: spell-check plugin' 'gtkspell: spell-check plugin' - 'aspell: spell-check plugin (also need aspell dictionary)' - 'gstreamer0.10-python: webcam support' - 'gstreamer0.10-good-plugins: webcam support' + 'farsight2: webcam support' 'pywebkitgtk: for alternative conversation window' 'xmpppy: for gtalk and facebook chat support' 'pyqt: alternative qt4 interface (emesene -e main:qt4_main') diff --git a/community/haskell-bytestring-show/PKGBUILD b/community/haskell-bytestring-show/PKGBUILD new file mode 100644 index 000000000..2ee9c0cb4 --- /dev/null +++ b/community/haskell-bytestring-show/PKGBUILD @@ -0,0 +1,44 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> + +pkgname=haskell-bytestring-show +pkgver=0.3.5 +pkgrel=1 +pkgdesc="Efficient conversion of values into readable byte strings." +url="http://code.haskell.org/~dolio/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3" + "haskell-array=0.3.0.2" + "haskell-binary=0.5.0.2" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0") +options=('strip') +install="${pkgname}.install" +source=("http://hackage.haskell.org/packages/archive/bytestring-show/${pkgver}/bytestring-show-${pkgver}.tar.gz") +md5sums=('934edba94aeceef6e9fc1b174d4f94ea') + +build() { + cd ${srcdir}/bytestring-show-${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}/bytestring-show-${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/bytestring-show + 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-bytestring-show/haskell-bytestring-show.install b/community/haskell-bytestring-show/haskell-bytestring-show.install new file mode 100644 index 000000000..335fc37cd --- /dev/null +++ b/community/haskell-bytestring-show/haskell-bytestring-show.install @@ -0,0 +1,24 @@ +pkgname=haskell-bytestring-show +HS_DIR=usr/share/haskell/${pkgname} + +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/hedgewars/PKGBUILD b/community/hedgewars/PKGBUILD index 69e8e34ca..05ae00236 100644 --- a/community/hedgewars/PKGBUILD +++ b/community/hedgewars/PKGBUILD @@ -1,9 +1,9 @@ -# $Id: PKGBUILD 36219 2010-12-28 10:43:33Z spupykin $ +# $Id: PKGBUILD 55746 2011-09-18 23:20:17Z spupykin $ # Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> pkgname=hedgewars -pkgver=0.9.15 -pkgrel=1 +pkgver=0.9.16 +pkgrel=2 pkgdesc="Free Worms-like turn based strategy game" arch=('i686' 'x86_64') url="http://hedgewars.org" @@ -11,23 +11,28 @@ license=('GPL' 'custom') depends=('qt' 'sdl' 'sdl_mixer' 'sdl_image' 'sdl_net' 'sdl_ttf' 'lua') makedepends=('fpc' 'cmake' 'ghc' 'haskell-utf8-string' 'haskell-dataenc' 'haskell-network' - 'haskell-hslogger') + 'haskell-hslogger' 'haskell-bytestring-show' 'haskell-deepseq') source=(http://download.gna.org/hedgewars/hedgewars-src-$pkgver.tar.bz2 hedgewars.desktop hedgewars.png) -md5sums=('a7d5e9082d3377dba573b7fee4bc833d' +md5sums=('04f28f454e370a101cbf0d82c6d39bce' '48c66a3204d4fa0a69e9aa46f7c31e0c' 'eeb14d50df39063549ac5eca9dbc65d1') build() { cd $srcdir/$pkgname-src-$pkgver +# sed -i 's|.*misc/liblua.*||' CMakeLists.txt cmake \ -DCMAKE_INSTALL_PREFIX=/usr \ -DDATA_INSTALL_DIR=/usr/share \ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake \ -DQT_MOC_EXECUTABLE=/usr/bin/moc \ - -DWITH_SERVER=1 + -DWITH_SERVER=1 . make +} + +package() { + cd $srcdir/$pkgname-src-$pkgver make DESTDIR=$pkgdir install install -D -m644 Fonts_LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/Fonts_LICENSE.txt install -D -m644 $srcdir/hedgewars.png $pkgdir/usr/share/pixmaps/hedgewars.png diff --git a/community/libraw/PKGBUILD b/community/libraw/PKGBUILD index 73661a48b..62a22ddf2 100644 --- a/community/libraw/PKGBUILD +++ b/community/libraw/PKGBUILD @@ -1,11 +1,11 @@ -# $Id: PKGBUILD 52082 2011-07-20 03:04:09Z bfanella $ -# Maintainer : Ionut Biru <ibiru@archlinux.org> -# Maintainer: Brad Fanella <bradfanella@archlinux.us> +# $Id: PKGBUILD 55740 2011-09-18 19:52:04Z bfanella $ +# Contributor: Ionut Biru <ibiru@archlinux.org> # Contributor: Joeny Ang <ang(dot)joeny(at)gmail(dot)com> +# Maintainer: Brad Fanella <bradfanella@archlinux.us> pkgname=libraw _pkgbasename=LibRaw -pkgver=0.13.7 +pkgver=0.13.8 pkgrel=1 pkgdesc="A library for reading RAW files obtained from digital photo cameras (CRW/CR2, NEF, RAF, DNG, and others)" arch=('i686' 'x86_64') @@ -14,7 +14,7 @@ license=('CDDL' 'LGPL' 'custom') depends=('lcms') options=('!makeflags') source=(http://www.libraw.org/data/${_pkgbasename}-${pkgver}.tar.gz) -md5sums=('5c189e16d61f423162da57333b7c8873') +md5sums=('62cd5fee94915add0c43a97ec6909bbb') build() { cd ${srcdir}/${_pkgbasename}-${pkgver} diff --git a/community/python-bsddb/PKGBUILD b/community/python-bsddb/PKGBUILD index 578d0921d..d0a61cb60 100644 --- a/community/python-bsddb/PKGBUILD +++ b/community/python-bsddb/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 50695 2011-06-29 15:25:25Z stephane $ +# $Id: PKGBUILD 55744 2011-09-18 22:24:47Z stephane $ # Maintainer: Kaiting Chen <kaitocracy@gmail.com> # Contributor: Stéphane Gaudreault <stephane@archlinux.org> # Contributor: Douglas Soares de Andrade <dsandrade@gmail.com> @@ -6,48 +6,35 @@ pkgbase=python-bsddb pkgname=('python2-bsddb' 'python-bsddb') -_hgrel=600 -pkgver=5.1.2.${_hgrel} +pkgver=5.2.0 pkgrel=1 pkgdesc="Python interface for BerkeleyDB" license=('MIT') arch=('i686' 'x86_64') url="http://www.jcea.es/programacion/pybsddb.htm" -makedepends=('python2-distribute' 'python-distribute' 'mercurial') -source=("ftp://ftp.archlinux.org/other/community/${pkgbase}/${pkgbase}-${pkgver}.src.tar.xz" - 'LICENSE') -sha1sums=('50e7b4c9c11b06c6d871dd93af1cc228687a0227' - 'ef4e4caf618781104dbf5824279ed39d127b4713') - -# source PKGBUILD && mksource -mksource() { - _hgroot="http://hg.jcea.es/pybsddb/" - _hgrepo=pybsddb - [ -d "${_hgrepo}" ] && hg pull -u -r ${_hgrel} || hg clone ${_hgroot} -r ${_hgrel} - - _dirname=${pkgbase}-${pkgver} - mv ${_hgrepo} ${_dirname} - tar -cJvf ${_dirname}.src.tar.xz ${_dirname} - rm -fr ${_dirname} -} +makedepends=('python2-distribute' 'python-distribute') +source=(http://pypi.python.org/packages/source/b/bsddb3/bsddb3-${pkgver}.tar.gz + LICENSE) +sha1sums=('4395c125807fc8c4bac4d367f4556e623605c7a8' + 'ef4e4caf618781104dbf5824279ed39d127b4713') build () { cd "${srcdir}" - cp -r ${pkgbase}-${pkgver}{,-python2} + cp -r bsddb3-${pkgver}{,-python2} # Build python 3 module - cd ${pkgbase}-${pkgver} + cd bsddb3-${pkgver} python setup.py --berkeley-db=/usr build # Build python 2 module - cd ../${pkgbase}-${pkgver}-python2 + cd ../bsddb3-${pkgver}-python2 python2 setup.py --berkeley-db=/usr build } package_python2-bsddb() { depends=('db' 'python2>=2.7') - cd "${srcdir}/${pkgbase}-${pkgver}-python2" + cd "${srcdir}/bsddb3-${pkgver}-python2" python2 setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1 install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE @@ -55,7 +42,7 @@ package_python2-bsddb() { package_python-bsddb() { depends=('db' 'python>=3.2') - cd "${srcdir}/${pkgbase}-${pkgver}" + cd "${srcdir}/bsddb3-${pkgver}" python setup.py --berkeley-db=/usr install --root="${pkgdir}" --skip-build --optimize=1 install -Dm644 "${srcdir}"/LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE |