diff options
Diffstat (limited to '~fauno')
36 files changed, 1265 insertions, 0 deletions
diff --git a/~fauno/bibutils-dynamic/PKGBUILD b/~fauno/bibutils-dynamic/PKGBUILD new file mode 100644 index 000000000..cc8f371a6 --- /dev/null +++ b/~fauno/bibutils-dynamic/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: Ivy Foster <joyfulgirl (at) archlinux (dot) us> + +pkgname=bibutils-dynamic +_basename=bibutils +pkgver=4.12 +pkgrel=1 +pkgdesc="Bibliography conversion tools, with dynamic libs" +arch=("i686" "x86_64") +url="http://www.scripps.edu/~cdputnam/software/bibutils" +license=('GPL2') +makedepends=('tcsh') +provides=('bibutils') +source=("${url}/${_basename}_${pkgver}_src.tgz") +md5sums=('395f46393eca8e184652c5e8e1ae83b6') + +build() { + cd "${srcdir}/${_basename}_$pkgver" + ./configure --dynamic \ + --install-dir ${pkgdir}/usr/bin \ + --install-lib ${pkgdir}/usr/lib + make +} + +package() { + install -d ${pkgdir}/usr/{bin,lib} + cd "${srcdir}/${_basename}_$pkgver" + make install +} + +# vim:set ts=2 sw=2 et: diff --git a/~fauno/distccd-zeroconf/PKGBUILD b/~fauno/distccd-zeroconf/PKGBUILD new file mode 100644 index 000000000..2faf6acb3 --- /dev/null +++ b/~fauno/distccd-zeroconf/PKGBUILD @@ -0,0 +1,50 @@ +# $Id: PKGBUILD 59085 2009-11-20 06:29:43Z giovanni $ +# Maintainer: Judd Vinet <jvinet@zeroflux.org> +# Contributor: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=distcc-zeroconf +_pkgname=distcc +pkgver=3.1 +pkgrel=1 +pkgdesc="A distributed C, C++, Obj C compiler with zeroconf support" +arch=('i686' 'x86_64') +url="http://code.google.com/p/distcc/" +license=('GPL') +depends=('gcc' 'popt' 'avahi') +makedepends=('gtk2' 'pkgconfig') +optdepends=('gtk2: for distccmon-gnome') +provides=('distcc') +conflicts=('distcc') +replaces=('distcc') +backup=(etc/conf.d/distccd) +options=(!distcc) +source=(http://distcc.googlecode.com/files/${_pkgname}-${pkgver}.tar.bz2 + distccd + distccd.conf.d) +md5sums=('a1a9d3853df7133669fffec2a9aab9f3' + '1c918474372c09304772c20c4de484fa' + '89aaf6e9072092e283465a14e83f0f94') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + ./configure --prefix=/usr \ + --with-gtk \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --disable-Werror + make +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + make DESTDIR="${pkgdir}/" install + install -D -m644 ${srcdir}/distccd.conf.d ${pkgdir}/etc/conf.d/distccd + install -D -m755 ${srcdir}/distccd ${pkgdir}/etc/rc.d/distccd + + install -d ${pkgdir}/usr/lib/${_pkgname}/bin + ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/cc + ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/gcc + ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/g++ + ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/cpp + ln -sf /usr/bin/${_pkgname} ${pkgdir}/usr/lib/${_pkgname}/bin/c++ +} diff --git a/~fauno/distccd-zeroconf/distccd b/~fauno/distccd-zeroconf/distccd new file mode 100755 index 000000000..4702d6820 --- /dev/null +++ b/~fauno/distccd-zeroconf/distccd @@ -0,0 +1,38 @@ +#!/bin/bash + +[ -f /etc/conf.d/distccd ] && . /etc/conf.d/distccd + +. /etc/rc.conf +. /etc/rc.d/functions + +PID=`pidof -o %PPID /usr/bin/distccd` +case "$1" in + start) + stat_busy "Starting distcc Daemon" + [ -z "$PID" ] && /usr/bin/distccd --daemon ${DISTCC_ARGS} + if [ $? -gt 0 ]; then + stat_fail + else + add_daemon distccd + stat_done + fi + ;; + stop) + stat_busy "Stopping distcc Daemon" + [ ! -z "$PID" ] && kill $PID &> /dev/null + if [ $? -gt 0 ]; then + stat_fail + else + rm_daemon distccd + stat_done + fi + ;; + restart) + $0 stop + sleep 1 + $0 start + ;; + *) + echo "usage: $0 {start|stop|restart}" +esac +exit 0 diff --git a/~fauno/distccd-zeroconf/distccd.conf.d b/~fauno/distccd-zeroconf/distccd.conf.d new file mode 100644 index 000000000..8f90cb503 --- /dev/null +++ b/~fauno/distccd-zeroconf/distccd.conf.d @@ -0,0 +1,8 @@ +# +# Parameters to be passed to distccd +# +# You must explicitly add IPs (or subnets) that are allowed to connect, +# using the --allow switch. See the distccd manpage for more info. +# +DISTCC_ARGS="--user nobody --allow 127.0.0.1" + diff --git a/~fauno/emerillon/PKGBUILD b/~fauno/emerillon/PKGBUILD new file mode 100644 index 000000000..621ed04bb --- /dev/null +++ b/~fauno/emerillon/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Isaac Dupree <id@isaac.cedarswampstudios.org> +# Contributor: yannsen <ynnsen@gmail.com> +pkgname=emerillon +arch=('i686' 'x86_64') +pkgver=0.1.90 +pkgrel=2 +pkgdesc="OpenStreetMap viewer" +url="http://projects.gnome.org/emerillon/" +license=('GPL2') +depends=('libpeas' 'geoclue' 'libsoup-gnome' 'libchamplain>=0.12.0' 'librest' 'ethos') +makedepends=('intltool' 'gnome-common' 'vala' 'gtk-doc') +options=(!libtool) +install=${pkgname}.install +source=(http://download.gnome.org/sources/emerillon/0.1/${pkgname}-${pkgver}.tar.xz) +md5sums=('d740ee4d5fcd7b39fde15e75b4ee7a3a') + +build() { + cd ${srcdir}/${pkgname}-${pkgver} + + ./configure --prefix=/usr + make +} +package() { + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=$pkgdir install +} diff --git a/~fauno/emerillon/emerillon.install b/~fauno/emerillon/emerillon.install new file mode 100644 index 000000000..77c7018ea --- /dev/null +++ b/~fauno/emerillon/emerillon.install @@ -0,0 +1,12 @@ +post_install() { + usr/bin/glib-compile-schemas usr/share/glib-2.0/schemas +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install $1 +} + diff --git a/~fauno/ethos/PKGBUILD b/~fauno/ethos/PKGBUILD new file mode 100644 index 000000000..f05c8fa8b --- /dev/null +++ b/~fauno/ethos/PKGBUILD @@ -0,0 +1,24 @@ +# Contributor: yannsen <ynnsen@gmail.com> +pkgname=ethos +pkgver=0.2.2 +pkgrel=6 +arch=('i686' 'x86_64') +pkgdesc="Plugin framework for GLib" +url="http://git.dronelabs.com/ethos/about/" +license="LGPL" +depends=(python2 gtk2) +makedepends=(intltool pygtk) +source=(http://ftp.dronelabs.com/sources/$pkgname/0.2/$pkgname-$pkgver.tar.gz) +md5sums=('36cf1ef444a224556bba4d441c400300') +options=(!libtool) + +build() { + cd $srcdir/$pkgname-$pkgver + ./configure --prefix=/usr + make +} + +package() { + cd $srcdir/$pkgname-$pkgver + make DESTDIR=$pkgdir install +} diff --git a/~fauno/geoclue/PKGBUILD b/~fauno/geoclue/PKGBUILD new file mode 100644 index 000000000..e370197c7 --- /dev/null +++ b/~fauno/geoclue/PKGBUILD @@ -0,0 +1,28 @@ +# mAINTAIner: Isaac Dupree <id@isaac.cedarswampstudios.org> +# Contributor: Daniel J Griffiths <ghost1227@archlinux.us> +# Contributor: Kurama <kurama_luka@yahoo.it> + +pkgname=geoclue +pkgver=0.12 +pkgrel=2 +pkgdesc="Modular geoinformation service built on the D-Bus messaging system." +arch=('i686' 'x86_64') +url="http://geoclue.freedesktop.org" +license=('LGPL') +depends=('gconf') +makedepends=('gtk-doc' 'libtool') +source=(http://cgit.freedesktop.org/${pkgname}/snapshot/${pkgname}-${pkgver}.tar.gz) + +build() { + cd ${srcdir}/${pkgname}-${pkgver} +# unset LDFLAGS + ./autogen.sh --prefix=/usr --libexecdir=/usr/lib + find -name 'Makefile' -print0 | xargs -0 sed -i "s/-Werror //" + make +} + +package(){ + cd ${srcdir}/${pkgname}-${pkgver} + make DESTDIR=${pkgdir} install +} +md5sums=('684e24d1ff3683953c968fed210b2982') diff --git a/~fauno/haskell-base64-bytestring/PKGBUILD b/~fauno/haskell-base64-bytestring/PKGBUILD new file mode 100644 index 000000000..9943e7e15 --- /dev/null +++ b/~fauno/haskell-base64-bytestring/PKGBUILD @@ -0,0 +1,45 @@ +# custom variables +_hkgname=base64-bytestring +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-base64-bytestring +pkgver=0.1.0.3 +pkgrel=1 +pkgdesc="Fast base64 encoding and deconding for ByteStrings" +url="https://github.com/bos/base64-bytestring" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("a3d76d27f2271c603990d909fed0a4f175628e9c6e19427cc8387dd4c2429234") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install new file mode 100644 index 000000000..55a35b6d2 --- /dev/null +++ b/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-base64-bytestring +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-citeproc-hs/PKGBUILD b/~fauno/haskell-citeproc-hs/PKGBUILD new file mode 100644 index 000000000..32f06094b --- /dev/null +++ b/~fauno/haskell-citeproc-hs/PKGBUILD @@ -0,0 +1,60 @@ +# custom variables +_hkgname=citeproc-hs +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-citeproc-hs +pkgver=0.3.3 +pkgrel=1 +pkgdesc="A Citation Style Language implementation in Haskell" +url="http://gorgias.mine.nu/repos/citeproc-hs/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-http=4000.1.1" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-directory=1.1.0.0" + "haskell-filepath=1.2.0.0" + "haskell-hs-bibutils=4.12" + "haskell-json=0.4.4" + "haskell-mtl=2.0.1.0" + "haskell-network=2.3.0.2" + "haskell-old-locale=1.0.0.2" + "haskell-pandoc-types=1.8.2" + "haskell-parsec=3.1.1" + "haskell-syb=0.3" + "haskell-time=1.2.0.3" + "haskell-utf8-string=0.3.6" + "haskell-xml=1.3.9") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("249bc0ec589fc79b098867502732c3c47ce032ad32f82d3280c1ca9373c71f7a") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install new file mode 100644 index 000000000..6bf4872f1 --- /dev/null +++ b/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-citeproc-hs +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-digest/PKGBUILD b/~fauno/haskell-digest/PKGBUILD new file mode 100644 index 000000000..724a600af --- /dev/null +++ b/~fauno/haskell-digest/PKGBUILD @@ -0,0 +1,46 @@ +# custom variables +_hkgname=digest +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-digest +pkgver=0.0.1.0 +pkgrel=1 +pkgdesc="Various cryptographic hashes for bytestrings; CRC32 and Adler32 for now." +url="http://hackage.haskell.org/package/${_hkgname}" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10" + "zlib") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("40319762afc05823920126f13cba02b06544ba039e08c3f63db2ed084a9a4edc") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-digest/haskell-digest.install b/~fauno/haskell-digest/haskell-digest.install new file mode 100644 index 000000000..7aa8e0003 --- /dev/null +++ b/~fauno/haskell-digest/haskell-digest.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-digest +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-dlist/PKGBUILD b/~fauno/haskell-dlist/PKGBUILD new file mode 100644 index 000000000..6b68c97c3 --- /dev/null +++ b/~fauno/haskell-dlist/PKGBUILD @@ -0,0 +1,43 @@ +# custom variables +_hkgname=dlist +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-dlist +pkgver=0.5 +pkgrel=18 +pkgdesc="Differences lists" +url="http://code.haskell.org/~dons/code/dlist/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +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" +sha256sums=("4780e5409eff55bbfdd7470ef802a087a04048c9cd5efe0482c82878292f19ea") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-dlist/haskell-dlist.install b/~fauno/haskell-dlist/haskell-dlist.install new file mode 100644 index 000000000..f20fb2952 --- /dev/null +++ b/~fauno/haskell-dlist/haskell-dlist.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-dlist +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-hs-bibutils/PKGBUILD b/~fauno/haskell-hs-bibutils/PKGBUILD new file mode 100644 index 000000000..46816e9c2 --- /dev/null +++ b/~fauno/haskell-hs-bibutils/PKGBUILD @@ -0,0 +1,48 @@ +# Maintainer: Ivy Foster <joyfulgirl (at) archlinux (dot) # us> +# Contributor: Alexander Dunlap <alexander.dunlap at gmail # dot com> + +_hkgname=hs-bibutils +pkgname=haskell-hs-bibutils +pkgver=4.12 +pkgrel=4 +pkgdesc="Haskell bindings to bibutils, the bibliography conversion utilities." +url="http://hackage.haskell.org/package/${_hkgname}" +license=('GPL') +arch=('i686' 'x86_64') +makedepends=() +depends=('ghc' 'haskell-syb=0.3' 'bibutils-dynamic') +options=('strip') +source=(http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz) +install=${pkgname}.install +md5sums=('4c4647b34246a4d35f1d1cfb10e6720a') + +build() { + cd ${srcdir}/${_hkgname}-${pkgver} + runhaskell Setup configure -O \ + --enable-split-objs \ + --enable-shared \ + --prefix=/usr \ + --docdir=/usr/share/doc/${pkgname} \ + --libsubdir=\$compiler/site-local/\$pkgid \ + --enable-library-profiling + 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} +} diff --git a/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install new file mode 100644 index 000000000..454c6ff37 --- /dev/null +++ b/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install @@ -0,0 +1,18 @@ +HS_DIR=usr/share/haskell/haskell-hs-bibutils +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/~fauno/haskell-json/PKGBUILD b/~fauno/haskell-json/PKGBUILD new file mode 100644 index 000000000..2a1da8a47 --- /dev/null +++ b/~fauno/haskell-json/PKGBUILD @@ -0,0 +1,51 @@ +# custom variables +_hkgname=json +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-json +pkgver=0.4.4 +pkgrel=18 +pkgdesc="Support for serialising Haskell to and from JSON" +url="http://hackage.haskell.org/package/${_hkgname}" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-array=0.3.0.2" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-mtl=2.0.1.0" + "haskell-parsec=3.1.1" + "haskell-pretty=1.0.1.2" + "haskell-syb=0.3") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("010157c267e156489771a3a9466f9de74393d9bc82053c1463af8a55caaf5880") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-json/haskell-json.install b/~fauno/haskell-json/haskell-json.install new file mode 100644 index 000000000..10d6b7279 --- /dev/null +++ b/~fauno/haskell-json/haskell-json.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-json +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-pandoc-types/PKGBUILD b/~fauno/haskell-pandoc-types/PKGBUILD new file mode 100644 index 000000000..954514ebe --- /dev/null +++ b/~fauno/haskell-pandoc-types/PKGBUILD @@ -0,0 +1,46 @@ +# custom variables +_hkgname=pandoc-types +_licensefile=COPYING + +# PKGBUILD options/directives +pkgname=haskell-pandoc-types +pkgver=1.8.2 +pkgrel=1 +pkgdesc="Types for representing a structured document" +url="http://johnmacfarlane.net/pandoc" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-containers=0.4.0.0" + "haskell-syb=0.3") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("6a580be1ec25a747db2ee9df1c98b1f3a778493b98e5148bf8ce5ed1289e9013") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-pandoc-types/haskell-pandoc-types.install b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install new file mode 100644 index 000000000..34622807c --- /dev/null +++ b/~fauno/haskell-pandoc-types/haskell-pandoc-types.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-pandoc-types +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-tagsoup/PKGBUILD b/~fauno/haskell-tagsoup/PKGBUILD new file mode 100644 index 000000000..0de1f165b --- /dev/null +++ b/~fauno/haskell-tagsoup/PKGBUILD @@ -0,0 +1,47 @@ +# custom variables +_hkgname=tagsoup +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-tagsoup +pkgver=0.12.3 +pkgrel=1 +pkgdesc="Parsing and extracting information from (possibly malformed) HTML/XML documents" +url="http://community.haskell.org/~ndm/tagsoup/" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-text=0.11.0.5") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("8bed50b3958a794422563ad93d82fb6d4e806d1884623f35f454ff360d9b8138") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-tagsoup/haskell-tagsoup.install b/~fauno/haskell-tagsoup/haskell-tagsoup.install new file mode 100644 index 000000000..dc61b4049 --- /dev/null +++ b/~fauno/haskell-tagsoup/haskell-tagsoup.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-tagsoup +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-texmath/PKGBUILD b/~fauno/haskell-texmath/PKGBUILD new file mode 100644 index 000000000..95e88912a --- /dev/null +++ b/~fauno/haskell-texmath/PKGBUILD @@ -0,0 +1,48 @@ +# custom variables +_hkgname=texmath +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-texmath +pkgver=0.5.0.1 +pkgrel=19 +pkgdesc="Conversion of LaTeX math formulas to MathML." +url="http://github.com/jgm/texmath" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-containers=0.4.0.0" + "haskell-parsec=3.1.1" + "haskell-syb=0.3" + "haskell-xml=1.3.9") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("bedd883728fbd84bf07c1d1c851440db6d8be6b9e221024533851cd7c21a824f") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-texmath/haskell-texmath.install b/~fauno/haskell-texmath/haskell-texmath.install new file mode 100644 index 000000000..b95fd0d9f --- /dev/null +++ b/~fauno/haskell-texmath/haskell-texmath.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-texmath +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-xml/PKGBUILD b/~fauno/haskell-xml/PKGBUILD new file mode 100644 index 000000000..fc42941b3 --- /dev/null +++ b/~fauno/haskell-xml/PKGBUILD @@ -0,0 +1,45 @@ +# custom variables +_hkgname=xml +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-xml +pkgver=1.3.9 +pkgrel=1 +pkgdesc="A simple XML library." +url="http://code.galois.com" +license=("BSD3") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-bytestring=0.9.1.10") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("821b368d5b06e695f9a3d35e92b3159c500dbe03f0bc04b0229e5da65b99a6eb") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-xml/haskell-xml.install b/~fauno/haskell-xml/haskell-xml.install new file mode 100644 index 000000000..741ef9ee0 --- /dev/null +++ b/~fauno/haskell-xml/haskell-xml.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-xml +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/haskell-zip-archive/PKGBUILD b/~fauno/haskell-zip-archive/PKGBUILD new file mode 100644 index 000000000..ace343317 --- /dev/null +++ b/~fauno/haskell-zip-archive/PKGBUILD @@ -0,0 +1,57 @@ +# custom variables +_hkgname=zip-archive +_licensefile=LICENSE + +# PKGBUILD options/directives +pkgname=haskell-zip-archive +pkgver=0.1.1.7 +pkgrel=18 +pkgdesc="Library for creating and modifying zip archives." +url="http://github.com/jgm/zip-archive" +license=("GPL") +arch=('i686' 'x86_64') +makedepends=() +depends=("ghc=7.0.3-2" + "sh" + "haskell-array=0.3.0.2" + "haskell-binary=0.5.0.2" + "haskell-bytestring=0.9.1.10" + "haskell-containers=0.4.0.0" + "haskell-digest=0.0.0.9" + "haskell-directory=1.1.0.0" + "haskell-filepath=1.2.0.0" + "haskell-mtl=2.0.1.0" + "haskell-old-time=1.0.0.6" + "haskell-pretty=1.0.1.2" + "haskell-unix=2.4.2.0" + "haskell-utf8-string=0.3.6" + "haskell-zlib=0.5.3.1") +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +install="${pkgname}.install" +sha256sums=("88c096d469d8b4d816dbe15571f2c1e61e31c1cd67f931672240063a51d8a2e0") + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} +} diff --git a/~fauno/haskell-zip-archive/haskell-zip-archive.install b/~fauno/haskell-zip-archive/haskell-zip-archive.install new file mode 100644 index 000000000..c19836db7 --- /dev/null +++ b/~fauno/haskell-zip-archive/haskell-zip-archive.install @@ -0,0 +1,26 @@ +# custom variables +pkgname=haskell-zip-archive +HS_DIR=usr/share/haskell/${pkgname} + +# functions +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/~fauno/librest/PKGBUILD b/~fauno/librest/PKGBUILD new file mode 100644 index 000000000..a66c4559e --- /dev/null +++ b/~fauno/librest/PKGBUILD @@ -0,0 +1,28 @@ +# Contributor: Berseker <berseker86 at gmail dot com> + +pkgname=librest +_realname=rest + +pkgver=0.7.10 +pkgrel=1 +pkgdesc="a library to access 'RESTful' web services" +arch=('i686' 'x86_64') +url="http://moblin.org/projects/librest/" +license=('GPL') +source=(http://ftp.gnome.org/pub/GNOME/sources/rest/0.7/${_realname}-${pkgver}.tar.bz2) +options=('!libtool') +depends=('libsoup-gnome' 'libxml2') +makedepends=('gtk-doc') + +build() { + cd "$srcdir/${_realname}-${pkgver}" + + ./configure --prefix=/usr #--without-gnome + make +} + +package() { + cd "$srcdir/${_realname}-${pkgver}" + make DESTDIR="$pkgdir/" install +} +md5sums=('f47850d26bfb6148d1a3db9e74426e20') diff --git a/~fauno/notmuch/PKGBUILD b/~fauno/notmuch/PKGBUILD new file mode 100644 index 000000000..81cc7981d --- /dev/null +++ b/~fauno/notmuch/PKGBUILD @@ -0,0 +1,63 @@ +# Maintainer: fauno <fauno at kiwwwi.com.ar> +# Maintainer: Olivier Ramonat <olivier at ramonat dot fr> +# Maintainer: Richard Murri <admin@richardmurri.com> + +pkgname=notmuch +pkgver=0.10 +pkgrel=1 +pkgdesc="Notmuch is not much of an email program" +arch=(i686 x86_64 mips64el) +url="http://notmuchmail.org/" +license=('GPL3') +depends=('xapian-core' 'gmime' 'talloc') +makedepends=('python2' 'emacs-nox' 'gnupg' 'ruby' 'pkgconfig') +optdepends=('emacs: for using the emacs interface' + 'vim: for using the vim interface' + 'python2: for using the python bindings' + 'ruby: for using the ruby bindings' + 'gnupg: for email encryption') +source=("http://notmuchmail.org/releases/${pkgname}-${pkgver}.tar.gz") + +build() { + cd "$srcdir/${pkgname}-${pkgver}" + + ./configure --prefix=/usr --sysconfdir=/etc + make + + cd bindings/ruby + ruby extconf.rb + make +} + +check() { + cd "$srcdir/${pkgname}-${pkgver}" + make test +} + +package(){ + cd "$srcdir/${pkgname}-${pkgver}" + make DESTDIR="$pkgdir/" LIBDIR_IN_LDCONFIG=0 install + + install -D notmuch $pkgdir/usr/sbin/notmuch + + mkdir -p $pkgdir/usr/share/vim/vimfiles/{plugin,syntax} + + cd vim && make PREFIX="$pkgdir/usr/share/vim/vimfiles" install + + # Install python bindings + + cd "$srcdir/${pkgname}-${pkgver}/bindings/python" + + find "." -name '*.py' -print0 |xargs -0 \ + sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \ + -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,' +# ln -s ../../lib/libnotmuch.so.1 libnotmuch.so.1 + env LD_LIBRARY_PATH="." python2 setup.py build + env LD_LIBRARY_PATH="." python2 setup.py install --prefix=/usr --root=$pkgdir + +# Install ruby bindings + cd "$srcdir/${pkgname}-${pkgver}/bindings/ruby" + sed -i -e 's,/site_ruby,,g' Makefile + make prefix=${pkgdir}/usr install +} +md5sums=('58c005357395bb6f66d06cfa07534d22') diff --git a/~fauno/pandoc/PKGBUILD b/~fauno/pandoc/PKGBUILD new file mode 100644 index 000000000..4d9a12809 --- /dev/null +++ b/~fauno/pandoc/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Nicolas Reynolds <fauno@kiwwwi.com.ar> +# Based on haskell-pandoc +# custom variables +_hkgname=pandoc +_licensefile=COPYING + +# PKGBUILD options/directives +pkgname=pandoc +pkgver=1.8.2.1 +pkgrel=2 +pkgdesc='Conversion between markup formats (no Haskell libs)' +url='http://johnmacfarlane.net/pandoc' +license=('GPL') +arch=('i686' 'x86_64') +makedepends=('ghc' 'sh' 'haskell-http' 'haskell-base64-bytestring' +'haskell-bytestring' 'haskell-citeproc-hs' 'haskell-containers' +'haskell-directory' 'haskell-dlist' 'haskell-extensible-exceptions' +'haskell-filepath' 'haskell-json' 'haskell-mtl' 'haskell-network' +'haskell-old-time' 'haskell-pandoc-types' 'haskell-parsec' 'haskell-process' +'haskell-random' 'haskell-syb' 'haskell-tagsoup' 'haskell-texmath' +'haskell-utf8-string' 'haskell-xhtml' 'haskell-xml' 'haskell-zip-archive') +options=('strip') +source=("http://hackage.haskell.org/packages/archive/${_hkgname}/${pkgver}/${_hkgname}-${pkgver}.tar.gz") +sha256sums=('f1025377b2c78043b06d7963eb61ce66c2290d2580f2488a8186c82c24f09433') +conflicts=('haskell-pandoc') + +# PKGBUILD functions +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 ${_licensefile} ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE + rm -f ${pkgdir}/usr/share/doc/${pkgname}/${_licensefile} + + msg2 "Removing Haskell libs" + rm -rvf ${pkgdir}/usr/lib +} diff --git a/~fauno/ruby-mustache/PKGBUILD b/~fauno/ruby-mustache/PKGBUILD new file mode 100644 index 000000000..7b396434c --- /dev/null +++ b/~fauno/ruby-mustache/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: David Campbell <davekong@archlinux.us> +pkgname=ruby-mustache +pkgver=0.99.4 +pkgrel=1 +pkgdesc="A framework-agnostic way to render logic-free views." +arch=('any') +url="http://github.com/defunkt/mustache" +license=(MIT) +depends=('ruby') +makedepends=('rubygems') +source=("http://gems.rubyforge.org/gems/mustache-${pkgver}.gem") +noextract=("mustache-${pkgver}.gem") + +build() { + cd $srcdir + local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')" + gem install --ignore-dependencies -i "$pkgdir$_gemdir" mustache-$pkgver.gem \ + -n "$pkgdir/usr/bin" + + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/LICENSE \ + $pkgdir/usr/share/licenses/$pkgname/LICENSE + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.1 \ + $pkgdir/usr/share/man/man1/mustache.1 + install -Dm644 $pkgdir/usr/lib/ruby/gems/1.9.1/gems/mustache-$pkgver/man/mustache.5 \ + $pkgdir/usr/share/man/man5/mustache.5 +} + +# vim:set ts=2 sw=2 et: +md5sums=('650194ec2c166feb087377647414b9dc') diff --git a/~fauno/transmission-remote-cli/PKGBUILD b/~fauno/transmission-remote-cli/PKGBUILD new file mode 100644 index 000000000..869a2ebff --- /dev/null +++ b/~fauno/transmission-remote-cli/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: fauno <fauno@kiwwwi.com.ar> +pkgname=transmission-remote-cli +pkgver=0.10.4 +pkgrel=1 +pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission" +arch=('any') +url="http://github.com/fagga/transmission-remote-cli" +license=('GPL3') +depends=('python2') +optdepends=('transmission-daemon>=2.40: for local transmission management' + 'adns-python: Resolve IPs to host names' + 'python-geoip: Guess which country peers come from') +makedepends=('git') +conflicts=('transmission-remote-cli-git') +replaces=('transmission-remote-cli-git') +source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz + python2.patch) +md5sums=('df3cdde879275fbffb1af17872e9c860' + '6273609fb3a7294328aeaa526b76411c') + +_gitroot="http://github.com/fagga/transmission-remote-cli.git" +_gitname="transmission-remote-cli" + +mksource() { + echo "Connecting to the GIT repository..." + + if [ -d "$_gitname" ] ; then + pushd $_gitname + git -b 2.40 origin/2.40 + git pull origin + echo "The local files are updated." + popd + else + git clone $_gitroot + cd $_gitroot + git checkout -b 2.40 origin/2.40 + fi + + echo "GIT checkout done or server timeout" + + git archive --prefix=${pkgname}-${pkgver}/ | gzip > ${pkgname}-${pkgver}.tar.gz +} + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + msg "Starting make..." + + patch -Np1 -i ${srcdir}/python2.patch + + install -d ${pkgdir}/usr/bin/ + install -D transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli + +} diff --git a/~fauno/transmission-remote-cli/python2.patch b/~fauno/transmission-remote-cli/python2.patch new file mode 100644 index 000000000..256b676f0 --- /dev/null +++ b/~fauno/transmission-remote-cli/python2.patch @@ -0,0 +1,9 @@ +diff -Nur transmission-remote-cli/transmission-remote-cli.py transmission-remote-cli-python2//transmission-remote-cli.py +--- transmission-remote-cli/transmission-remote-cli.py 2010-10-19 10:33:49.544594708 -0300 ++++ transmission-remote-cli-python2//transmission-remote-cli.py 2010-10-19 10:42:51.278983745 -0300 +@@ -1,4 +1,4 @@ +-#!/usr/bin/env python ++#!/usr/bin/env python2 + ######################################################################## + # This is transmission-remote-cli, whereas 'cli' stands for 'Curses # + # Luminous Interface', a client for the daemon of the BitTorrent # |