diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-08-29 10:01:45 -0300 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2013-08-29 10:01:45 -0300 |
commit | 7b5f5a5e83341d02f22816d9b4c0494703c3b094 (patch) | |
tree | ed96bfcb5991585c85e097c2764bd62bb5aedf50 /~fauno | |
parent | 0b1f916eefc5e12d52c0e9b52d9c1505b0748dfd (diff) | |
parent | 7a1ce582d431ebee67c93c4b15dc62d9cd4bbb54 (diff) | |
download | abslibre-7b5f5a5e83341d02f22816d9b4c0494703c3b094.tar.gz abslibre-7b5f5a5e83341d02f22816d9b4c0494703c3b094.tar.bz2 abslibre-7b5f5a5e83341d02f22816d9b4c0494703c3b094.zip |
Merge branch 'master' of vparabola:abslibre
Diffstat (limited to '~fauno')
54 files changed, 0 insertions, 2216 deletions
diff --git a/~fauno/afew/LICENSE b/~fauno/afew/LICENSE deleted file mode 100644 index aab8c3624..000000000 --- a/~fauno/afew/LICENSE +++ /dev/null @@ -1,15 +0,0 @@ -# -# Copyright (c) Justus Winter <4winter@informatik.uni-hamburg.de> -# -# Permission to use, copy, modify, and distribute this software for any -# purpose with or without fee is hereby granted, provided that the above -# copyright notice and this permission notice appear in all copies. -# -# THE SOFTWARE IS PROVIDED "AS IS" AND THE AUTHOR DISCLAIMS ALL WARRANTIES -# WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES OF -# MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL THE AUTHOR BE LIABLE FOR -# ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES -# WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN -# ACTION OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF -# OR IN CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE. -# diff --git a/~fauno/afew/PKGBUILD b/~fauno/afew/PKGBUILD deleted file mode 100644 index 1256ad4d3..000000000 --- a/~fauno/afew/PKGBUILD +++ /dev/null @@ -1,29 +0,0 @@ -# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com> -pkgname=afew -pkgver=2012.07.11 -_gitver=20120711 -pkgrel=1 -pkgdesc="afew is an initial tagging script for notmuch mail" -arch=(any) -url="https://github.com/teythoon/afew" -license=('custom:BSD') -depends=('python2' 'notmuch' 'dbacl') -source=("https://repo.parabolagnulinux.org/other/${pkgname}-${_gitver}-${pkgrel}-any.src.tar.gz" - 'LICENSE') - -build() { - cd "$srcdir/$pkgname" - - python2 setup.py build -} - -package() { - cd "$srcdir/$pkgname" - python2 setup.py install --prefix="$pkgdir/usr" - - install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" -} - -# vim:set ts=2 sw=2 et: -md5sums=('99e501fb8f99ec58eccf8c08d572dab2' - '295b245540aa61538f9a3556c4be846c') diff --git a/~fauno/afew/SRCBUILD b/~fauno/afew/SRCBUILD deleted file mode 100644 index 0ac3b5d75..000000000 --- a/~fauno/afew/SRCBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com> -pkgname=afew -pkgver=20120711 -pkgrel=1 -pkgdesc="afew is an initial tagging script for notmuch mail" -arch=(any) -url="https://github.com/teythoon/afew" -license=('custom:BSD') -makedepends=('git') - -_gitroot='https://github.com/teythoon/afew.git' -_gitname='afew' - -build() { - cd "$srcdir" - msg "Connecting to GIT server...." - - if [[ -d "$_gitname" ]]; then - cd "$_gitname" && git pull origin - msg "The local files are updated." - else - git clone "$_gitroot" "$_gitname" - fi - - msg "GIT checkout done or server timeout" - -} - -package() { - PKGEXT=${SRCEXT} - PKGDEST=${SRCDEST} - cp -a ${srcdir}/* ${pkgdir}/ -} - -# vim:set ts=2 sw=2 et: - diff --git a/~fauno/bibutils-dynamic/PKGBUILD b/~fauno/bibutils-dynamic/PKGBUILD deleted file mode 100644 index cc8f371a6..000000000 --- a/~fauno/bibutils-dynamic/PKGBUILD +++ /dev/null @@ -1,30 +0,0 @@ -# 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/dbacl/PKGBUILD b/~fauno/dbacl/PKGBUILD deleted file mode 100644 index a92679444..000000000 --- a/~fauno/dbacl/PKGBUILD +++ /dev/null @@ -1,32 +0,0 @@ -# Maintainer: Kazuo Teramoto <kaz.rag at gmail.com? -pkgname=dbacl -pkgver=1.12 -pkgrel=1 -pkgdesc="Digramic Bayesian classifier" -arch=('i686' 'x86_64') -url="http://dbacl.sourceforge.net/" -license=('GPL') -depends=('gawk' 'perl') -source=(http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz) -md5sums=('048d8cf68e277ba2ab5d159dc395a65d') -sha256sums=('9fcb05a0951527c7b33aeb20735747f84bca88a4e122c93537120d1014f650e9') - -build() { - cd "$srcdir/$pkgname-$pkgver" - ./configure --prefix=/usr - make -} - -check() -{ - cd "$srcdir/$pkgname-$pkgver" - make -k check -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - make DESTDIR="$pkgdir/" install - mv "$pkgdir/usr/man" "$pkgdir/usr/share" -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/distccd-zeroconf/PKGBUILD b/~fauno/distccd-zeroconf/PKGBUILD deleted file mode 100644 index 2faf6acb3..000000000 --- a/~fauno/distccd-zeroconf/PKGBUILD +++ /dev/null @@ -1,50 +0,0 @@ -# $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 deleted file mode 100755 index 4702d6820..000000000 --- a/~fauno/distccd-zeroconf/distccd +++ /dev/null @@ -1,38 +0,0 @@ -#!/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 deleted file mode 100644 index 8f90cb503..000000000 --- a/~fauno/distccd-zeroconf/distccd.conf.d +++ /dev/null @@ -1,8 +0,0 @@ -# -# 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 deleted file mode 100644 index 621ed04bb..000000000 --- a/~fauno/emerillon/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 77c7018ea..000000000 --- a/~fauno/emerillon/emerillon.install +++ /dev/null @@ -1,12 +0,0 @@ -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 deleted file mode 100644 index f05c8fa8b..000000000 --- a/~fauno/ethos/PKGBUILD +++ /dev/null @@ -1,24 +0,0 @@ -# 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/faenza-icon-theme/PKGBUILD b/~fauno/faenza-icon-theme/PKGBUILD deleted file mode 100644 index 484764c73..000000000 --- a/~fauno/faenza-icon-theme/PKGBUILD +++ /dev/null @@ -1,25 +0,0 @@ -# Maintainer: Elia Notarangelo <elia.notarangelo AT gmail DOT com> -# Contributor: Frikilinux <frikilinux at frikilinux.com.ar> -# Contributor: graysky <graysky AT archlinux DOT us> -# Contributor: Samsagax <samsagax AT gmail DOT com> -# Contributor: simongmzlj <simongmzlj AT gmail DOT com> - -pkgname=faenza-icon-theme -pkgver=1.3 -pkgrel=1 -pkgdesc="Icon theme designed for Equinox GTK theme" -url="http://gnome-look.org/content/show.php/Faenza?content=128143" -license=('GPL3') -arch=('any') -makedepends=() -options=(!strip) -source=("http://ppa.launchpad.net/tiheum/equinox/ubuntu/pool/main/f/${pkgname}/${pkgname}_${pkgver}.orig.tar.gz") -md5sums=('763e0450b0853bd11f04c970ba3fd49f') - -package() { - cd "${srcdir}" - mkdir -p "${pkgdir}"/usr/share/icons - cp -rf Faenza{,-Dark,-Darkest,-Darker} "${pkgdir}"/usr/share/icons/ - -} - diff --git a/~fauno/geoclue/PKGBUILD b/~fauno/geoclue/PKGBUILD deleted file mode 100644 index e370197c7..000000000 --- a/~fauno/geoclue/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# 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 deleted file mode 100644 index 9943e7e15..000000000 --- a/~fauno/haskell-base64-bytestring/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# 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 deleted file mode 100644 index 55a35b6d2..000000000 --- a/~fauno/haskell-base64-bytestring/haskell-base64-bytestring.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 32f06094b..000000000 --- a/~fauno/haskell-citeproc-hs/PKGBUILD +++ /dev/null @@ -1,60 +0,0 @@ -# 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 deleted file mode 100644 index 6bf4872f1..000000000 --- a/~fauno/haskell-citeproc-hs/haskell-citeproc-hs.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 724a600af..000000000 --- a/~fauno/haskell-digest/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index 7aa8e0003..000000000 --- a/~fauno/haskell-digest/haskell-digest.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 6b68c97c3..000000000 --- a/~fauno/haskell-dlist/PKGBUILD +++ /dev/null @@ -1,43 +0,0 @@ -# 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 deleted file mode 100644 index f20fb2952..000000000 --- a/~fauno/haskell-dlist/haskell-dlist.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 46816e9c2..000000000 --- a/~fauno/haskell-hs-bibutils/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# 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 deleted file mode 100644 index 454c6ff37..000000000 --- a/~fauno/haskell-hs-bibutils/haskell-hs-bibutils.install +++ /dev/null @@ -1,18 +0,0 @@ -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 deleted file mode 100644 index 2a1da8a47..000000000 --- a/~fauno/haskell-json/PKGBUILD +++ /dev/null @@ -1,51 +0,0 @@ -# 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 deleted file mode 100644 index 10d6b7279..000000000 --- a/~fauno/haskell-json/haskell-json.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 954514ebe..000000000 --- a/~fauno/haskell-pandoc-types/PKGBUILD +++ /dev/null @@ -1,46 +0,0 @@ -# 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 deleted file mode 100644 index 34622807c..000000000 --- a/~fauno/haskell-pandoc-types/haskell-pandoc-types.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 0de1f165b..000000000 --- a/~fauno/haskell-tagsoup/PKGBUILD +++ /dev/null @@ -1,47 +0,0 @@ -# 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 deleted file mode 100644 index dc61b4049..000000000 --- a/~fauno/haskell-tagsoup/haskell-tagsoup.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 95e88912a..000000000 --- a/~fauno/haskell-texmath/PKGBUILD +++ /dev/null @@ -1,48 +0,0 @@ -# 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 deleted file mode 100644 index b95fd0d9f..000000000 --- a/~fauno/haskell-texmath/haskell-texmath.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index fc42941b3..000000000 --- a/~fauno/haskell-xml/PKGBUILD +++ /dev/null @@ -1,45 +0,0 @@ -# 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 deleted file mode 100644 index 741ef9ee0..000000000 --- a/~fauno/haskell-xml/haskell-xml.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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 deleted file mode 100644 index 0d0d91a11..000000000 --- a/~fauno/haskell-zip-archive/PKGBUILD +++ /dev/null @@ -1,49 +0,0 @@ -# custom variables -_hkgname=zip-archive -_licensefile=LICENSE - -# PKGBUILD options/directives -pkgname=haskell-zip-archive -pkgver=0.1.1.7 -pkgrel=20 -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" - "haskell-binary=0.5.0.2-8" - "haskell-digest=0.0.1.0-1" - "haskell-mtl=2.0.1.0-3.1" - "haskell-unix=2.4.2.0-2" - "haskell-utf8-string=0.3.6-7.2" - "haskell-zlib=0.5.3.1-2.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 deleted file mode 100644 index c19836db7..000000000 --- a/~fauno/haskell-zip-archive/haskell-zip-archive.install +++ /dev/null @@ -1,26 +0,0 @@ -# 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/kyotocabinet/PKGBUILD b/~fauno/kyotocabinet/PKGBUILD deleted file mode 100644 index 1636bfda0..000000000 --- a/~fauno/kyotocabinet/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Alexander Duscheleit <jinks@archlinux.us> -# Contributor: Joaquim Pedro (osmano807) <osmano807@gmail.com> -pkgname=kyotocabinet -pkgver=1.2.76 -pkgrel=1 -pkgdesc="a modern implementation of DBM in C++" -arch=('i686' 'x86_64') -url="http://fallabs.com/kyotocabinet" -license=('LGPL3') -makedepends=('gcc>=3.1' 'make' 'pkgconfig' 'zlib') -depends=('zlib' 'gcc-libs') -source=("http://fallabs.com/${pkgname}/pkg/${pkgname}-${pkgver}.tar.gz") - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make install DESTDIR="$pkgdir/" -} -sha512sums=('278db7b327eb4c21bf0137d9aa14fb67d74d5ce7ed1cb29fc9120d157a60de165ec0cf842903eb7952e8f998045ae585b958977fa973ba0e0773381de71d9f6a') diff --git a/~fauno/kyototycoon/PKGBUILD b/~fauno/kyototycoon/PKGBUILD deleted file mode 100644 index af88f6020..000000000 --- a/~fauno/kyototycoon/PKGBUILD +++ /dev/null @@ -1,26 +0,0 @@ -# Maintainer: Alexander Duscheleit <jinks@archlinux.us> -pkgname=kyototycoon -pkgver=0.9.56 -pkgrel=1 -pkgdesc="A lightweight conncurent remote frontend for Kyoto Cabinet." -arch=('i686' 'x86_64') -url="http://fallabs.com/kyototycoon" -license=('GPL3') -depends=('zlib' 'kyotocabinet') -source=("http://fallabs.com/${pkgname}/pkg/${pkgname}-${pkgver}.tar.gz") -sha256sums=('553e4ea83237d9153cc5e17881092cefe0b224687f7ebcc406b061b2f31c75c6') - -build() { - cd "$srcdir/$pkgname-$pkgver" - - ./configure --prefix=/usr - make -} - -package() { - cd "$srcdir/$pkgname-$pkgver" - - make install DESTDIR="$pkgdir/" -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/ldapscripts/PKGBUILD b/~fauno/ldapscripts/PKGBUILD deleted file mode 100644 index 59080b1cf..000000000 --- a/~fauno/ldapscripts/PKGBUILD +++ /dev/null @@ -1,20 +0,0 @@ -pkgname=ldapscripts -pkgver=2.0.1 -pkgrel=1 -pkgdesc="Shell scripts that allow to manage POSIX accounts (users, groups, machines) in an LDAP directory" -arch=('any') -url="http://contribs.martymac.org/" -license=('GPL') -depends=('sharutils') -source=(http://contribs.martymac.org/ldapscripts/${pkgname}-${pkgver}.tgz) -md5sums=('212a62b3e808faf8d347429ccd2cef09') - -build() { - cd "${srcdir}/${pkgname}-${pkgver}" - - make DESTDIR="${pkgdir}" \ - ETCDIR=/etc/ldapscripts \ - MANDIR=/usr/share/man \ - LIBDIR=/usr/share/ldapscripts \ - PREFIX=/usr install -} diff --git a/~fauno/librest/PKGBUILD b/~fauno/librest/PKGBUILD deleted file mode 100644 index a66c4559e..000000000 --- a/~fauno/librest/PKGBUILD +++ /dev/null @@ -1,28 +0,0 @@ -# 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/localepurge/PKGBUILD b/~fauno/localepurge/PKGBUILD deleted file mode 100644 index 263776a01..000000000 --- a/~fauno/localepurge/PKGBUILD +++ /dev/null @@ -1,38 +0,0 @@ -# Maintainer: Francesco Groccia <frgroccia gmail.com> -# Contributor: Dincer Celik <dincer@bornovali.com> - -pkgname=localepurge -pkgver=0.6.3 -pkgrel=2 -pkgdesc="Script to remove disk space wasted for unneeded localizations." -arch=('any') -url="http://packages.debian.org/source/sid/localepurge" -license=('GPL') -backup=('etc/locale.nopurge') -source=("http://ftp.de.debian.org/debian/pool/main/l/localepurge/${pkgname}_${pkgver}.tar.gz" - "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.patch" - "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.8.patch" - "http://fgr.bitbucket.org/im/localepurge-arch/${pkgname}.config.patch" - "http://fgr.bitbucket.org/im/localepurge-arch/locale.nopurge") -sha256sums=('02f7e4a8b5919221a736abb3a937dffc48ffd275f0968e56612d518e1e69c30b' - '3958818b2d54c9ca32a1974d757c3303b6e8e1b81d4302dfaec8b8a7af54d17d' - '3d45b1da93a0fc30dd3ae28d4ef7b319340c5ebaa302f4e375793934262e61fc' - '1cf4c0e9651589502f953ae25654e5b5347de18995055adfb7a6d183a1c4c912' - 'b9c28be93fa47d4f0315972159e501d9eef28bbab7ffe6e8e7c4a13c359f35e8') - -build() -{ - patch -uN ${srcdir}/${pkgname}/usr/sbin/localepurge < ${srcdir}/localepurge.patch - patch -uN ${srcdir}/${pkgname}/debian/localepurge.8 < ${srcdir}/localepurge.8.patch - patch -uN ${srcdir}/${pkgname}/debian/localepurge.config < ${srcdir}/localepurge.config.patch - install -D -m755 ${srcdir}/${pkgname}/usr/sbin/localepurge ${pkgdir}/usr/sbin/localepurge - install -D -m644 ${srcdir}/${pkgname}/debian/localepurge.8 ${pkgdir}/usr/share/man/man8/localepurge.8 - install -D -m755 ${srcdir}/${pkgname}/debian/localepurge.config ${pkgdir}/usr/sbin/localepurge.config - install -D -m644 locale.nopurge ${pkgdir}/etc/locale.nopurge - if [ ! -e /var/cache/localepurge/localelist ]; then - find /usr/share/locale -maxdepth 1 -type d -name "*" -printf "%f\n" | grep "^[a-z]" | cut -d" " -f1 | sort -u > ${srcdir}/localelist - else - cp /var/cache/localepurge/localelist ${srcdir}/localelist - fi - install -D -m644 ${srcdir}/localelist ${pkgdir}/var/cache/localepurge/localelist -} diff --git a/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD b/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD deleted file mode 100644 index 6fc5b1f16..000000000 --- a/~fauno/mips64el-unknown-linux-gnu-binutils/PKGBUILD +++ /dev/null @@ -1,62 +0,0 @@ -# $Id: PKGBUILD 60835 2011-12-18 22:14:40Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -_cross=mips64el-unknown-linux-gnu -pkgname=${_cross}-binutils -pkgver=2.22 -pkgrel=1 -_date=20111227 -_xprefix=/usr -pkgdesc="A set of programs to assemble and manipulate binary and object files" -arch=(i686 x86_64) -group=('mips64el-devel') -license=(GPL) -options=(!libtool) -url="http://www.gnu.org/software/binutils/" -depends=('glibc' 'zlib') -#makedepends=("${_cross}-libtool") -source=(http://mirrors.kernel.org/archlinux/other/binutils/binutils-${pkgver}_${_date}.tar.bz2) -md5sums=('c2377089c15bb1a1bfaeca8d0e59dd4d') - -build() { - cd $srcdir/binutils - - #export PATH=/usr/${_cross}/bin/:$PATH - - [ $NOEXTRACT -eq 1 ] || ./configure --prefix=${_xprefix} \ - --program-prefix=${_cross}- \ - --enable-shared \ - --disable-multilib \ - --with-lib-path=${_xprefix}/lib/binutils/${_cross} \ - --disable-nls \ - --target=${_cross} \ - --host=${CHOST} \ - --build=${CHOST} \ - --with-sysroot=/usr/${CHOST}/${_cross} \ - - make configure-host - make tooldir=$pkgdir/${_xprefix} - -} - -package() { - cd $srcdir/binutils - - make prefix=$pkgdir/${_xprefix} tooldir=$pkgdir/${_xprefix} install - - mkdir -p $pkgdir/${_xprefix}/lib/binutils/${_cross} - cp -v include/libiberty.h $pkgdir/${_xprefix}/lib/binutils/${_cross} - - rm -f $pkgdir/${_xprefix}/man/man1/{dlltool,nlmconv,windres}* - - rm -f $pkgdir/usr/bin/ar - rm -f $pkgdir/usr/bin/as - rm -f $pkgdir/usr/bin/ld - rm -f $pkgdir/usr/bin/nm - rm -f $pkgdir/usr/bin/objdump - rm -f $pkgdir/usr/bin/ranlib - rm -f $pkgdir/usr/bin/strip - rm -f $pkgdir/usr/bin/objcopy - rm -f $pkgdir/usr/lib/libiberty.a - rm -rf $pkgdir/usr/share -} diff --git a/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD b/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD deleted file mode 100644 index becc02cfe..000000000 --- a/~fauno/mips64el-unknown-linux-gnu-gcc-base/PKGBUILD +++ /dev/null @@ -1,58 +0,0 @@ -# $Id: PKGBUILD 60837 2011-12-18 22:34:22Z spupykin $ -# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> - -_cross=mips64el-unknown-linux-gnu -pkgname=${_cross}-gcc-base -pkgver=4.6.2 -pkgrel=1 -pkgdesc="The GNU Compiler Collection" -arch=(i686 x86_64) -license=('GPL' 'LGPL') -url="http://gcc.gnu.org" -depends=("${_cross}-binutils" 'libmpc' 'libelf') -options=(!libtool !emptydirs zipman docs !strip) -source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-core-${pkgver}.tar.bz2) -md5sums=('780f614ab18c7a9066dec6387d7490b2') - -build() { - cd $srcdir/gcc-$pkgver - - export CFLAGS="-O2 -pipe" - export CXXFLAGS="-O2 -pipe" - - [ $NOEXTRACT -eq 1 ] || rm -rf build - mkdir build - cd build - - [ $NOEXTRACT -eq 1 ] || ../configure --prefix=/usr \ - --target=${_cross} \ - --host=${CHOST} \ - --build=${CHOST} \ - --enable-shared --disable-nls --enable-languages=c --enable-multilib \ - --with-local-prefix=/usr/lib/${_cross} \ - --with-as=/usr/bin/${_cross}-as --with-ld=/usr/bin/${_cross}-ld \ - --with-sysroot=/usr/$CHOST/${_cross} - - make all-gcc all-target-libgcc -} - -package() { - cd $srcdir/gcc-$pkgver/build - - export CFLAGS="-O2 -pipe" - export CXXFLAGS="-O2 -pipe" - - make DESTDIR=$pkgdir install-gcc install-target-libgcc - - rm -f $pkgdir/usr/share/man/man7/fsf-funding.7* - rm -f $pkgdir/usr/share/man/man7/gfdl.7* - rm -f $pkgdir/usr/share/man/man7/gpl.7* - rm -rf $pkgdir/usr/share/info - - cp -r $pkgdir/usr/libexec/* $pkgdir/usr/lib/ - rm -rf $pkgdir/usr/libexec - - # strip it manually - strip $pkgdir/usr/bin/* 2>/dev/null || true - find $pkgdir/usr/lib -type f -exec ${_cross}-strip {} \; 2>/dev/null || true -} diff --git a/~fauno/spawn-fcgi-php/PKGBUILD b/~fauno/spawn-fcgi-php/PKGBUILD deleted file mode 100644 index a49858417..000000000 --- a/~fauno/spawn-fcgi-php/PKGBUILD +++ /dev/null @@ -1,40 +0,0 @@ -# Contributor: Piotr Rogoża <rogoza dot piotr at gmail dot com> -pkgname=spawn-fcgi-php -pkgver=1.1.1 -pkgrel=1 -pkgdesc="script to provide simple cgi-php support for nginx http daemon" -arch=('any') -url="http://aur.archlinux.org/packages.php?ID=37439" -license=('GPL') -depends=('php-cgi' 'spawn-fcgi') -backup=('etc/conf.d/spawn-fcgi-php.conf') -source=( - 'spawn-fcgi-php' - 'spawn-fcgi-php.conf' - 'server.conf.example' - 'nginx.conf.example' - 'public_html.conf.example' -) - -build() { - # Install script and configuration file - install -Dm775 spawn-fcgi-php \ - ${pkgdir}/etc/rc.d/spawn-fcgi-php || return 1 - install -Dm664 spawn-fcgi-php.conf \ - ${pkgdir}/etc/conf.d/spawn-fcgi-php.conf || return 1 - - # Install examples of configuration - install -Dm664 public_html.conf.example \ - ${pkgdir}/etc/nginx/conf/public_html.conf.example || return 1 - install -Dm644 server.conf.example \ - ${pkgdir}/etc/nginx/conf/server.conf.example || return 1 - install -Dm664 nginx.conf.example \ - ${pkgdir}/etc/nginx/conf/nginx.conf.example || return 1 -} - -# vim:set ts=2 sw=2 et ft=sh: -md5sums=('9088c130caebf43902f958c985200811' - 'a8bfb0b50120c91449c8a08144706c9b' - 'c02189e88531386cd67d3401924c18ae' - '00bf49fc8a0d8c9f6c96305fae8471d4' - '9202545dc3701d5933804890312667e6') diff --git a/~fauno/spawn-fcgi-php/nginx.conf.example b/~fauno/spawn-fcgi-php/nginx.conf.example deleted file mode 100644 index 35d0868f3..000000000 --- a/~fauno/spawn-fcgi-php/nginx.conf.example +++ /dev/null @@ -1,34 +0,0 @@ -user http; -worker_processes 1; - -error_log logs/error.log; - -#pid logs/nginx.pid; - -events { - worker_connections 1024; -} - - -http { - include mime.types; - default_type application/octet-stream; - - sendfile on; - #tcp_nopush on; - - #keepalive_timeout 0; - keepalive_timeout 65; - - #gzip on; - - # the file with mapping username per port - include /etc/nginx/conf/map_user2port.conf; - #or only - #include map_user2port.conf - - # Servers configurations ... - include server.conf.example; - - } -} diff --git a/~fauno/spawn-fcgi-php/public_html.conf.example b/~fauno/spawn-fcgi-php/public_html.conf.example deleted file mode 100644 index 74f6c2b4b..000000000 --- a/~fauno/spawn-fcgi-php/public_html.conf.example +++ /dev/null @@ -1,16 +0,0 @@ -location ~ ^/~([^/]+)(/?.*)$ { - set $username $1; - alias /home/$1/public_html/$2; - autoindex on; - location ~ \.php { - #fastcgi_pass 127.0.0.1:9000; - # or for multiusers, one port per user - fastcgi_pass 127.0.0.1:$port; - # or for unix domain sockets - #fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.$username.sock; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include /etc/nginx/conf/fastcgi_params; - } -} -# vi: ft=nginx diff --git a/~fauno/spawn-fcgi-php/server.conf.example b/~fauno/spawn-fcgi-php/server.conf.example deleted file mode 100644 index 06160cfb2..000000000 --- a/~fauno/spawn-fcgi-php/server.conf.example +++ /dev/null @@ -1,22 +0,0 @@ -server { - listen 80; - server_name domain.tld; - root /srv/http/domain.tld; - - index index.php index.html; - - access_log logs/access.log; - error_log logs/error.log; - - location ~ \.php { - # TCP - fastcgi_pass 127.0.0.1:9000; - # or SOCKET - #fastcgi_pass unix:/var/run/spawn-fcgi/spawn-fcgi.sock; - fastcgi_index index.php; - fastcgi_param SCRIPT_FILENAME $document_root$fastcgi_script_name; - include /etc/nginx/conf/fastcgi_params; - } - include public_html.conf.example; -} -# vi: ft=nginx diff --git a/~fauno/spawn-fcgi-php/spawn-fcgi-php b/~fauno/spawn-fcgi-php/spawn-fcgi-php deleted file mode 100755 index 607ebab8c..000000000 --- a/~fauno/spawn-fcgi-php/spawn-fcgi-php +++ /dev/null @@ -1,460 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions - -NAME=spawn-fcgi-php -CONF="/etc/conf.d/spawn-fcgi-php.conf" -#------------------------------------------------------------------------------- -# Return value for: -# for check_process -PROCNOPIDEXIST=-1 # none process is running and pidfile exist -PROCNOPIDNO=0 # none process is running -PROCRUNPIDEXIST=1 # process is running, pidfile exist and has size >0b -PROCRUNPID0=2 # process is running, pidfile has size 0b -PROCRUNPIDNO=3 # process is running, pidfile doesn't exist -OTHERERROR=255 -# check_daemon -DAEMONEXIST=0 -DAEMONNOEXIST=1 -#------------------------------------------------------------------------------- - -# Reading configuration -if [ -r "$CONF" ]; then - . $CONF -else - stat_fail - stat_busy "File $CONF not found" - stat_die -fi -check_config(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: check_config -# DESCRIPTION: Check configuration file -# PARAMETERS: -# RETURNS: 0 if all right -#=============================================================================== - # testing DAEMON - if [ ! -x "$DAEMON" ]; then - stat_fail - stat_busy "File $DAEMON isn't executable" - stat_die - fi - # testing USER and GROUP - if [ -z "$USER" -o -z "$GROUP" ]; then - stat_fail - stat_busy "The variable USER/GROUP isn't defined. I cann't run process $PHPCGI as root." - stat_die - fi - # testing directory of socket - if [ -n "$SOCKET" ]; then - local sockdir=$(dirname "$SOCKET") - if [ ! -d "$sockdir" ]; then - mkdir -p "$sockdir" - fi - fi - # testing directory for user's socket - if [ -n "$USERSOCKET" ]; then - local socksdir=$(dirname "$USERSOCKET") - if [ ! -d "$socksdir" ]; then - mkdir -p "$socksdir" - fi - fi - # testing directory of pidfile - if [ -n "$PIDFILE" ]; then - if [ ! -d $(dirname $PIDFILE) ]; then - mkdir -p $(dirname $PIDFILE) - fi - fi - # testing the program php-cgi - if [ -z "$PHPCGI" ]; then - stat_fail - stat_busy "The variable PHPCGI isn't defined" - stat_die - else - if [ ! -x "$PHPCGI" ]; then - stat_fail - stat_busy "The program $PHPCGI isn't executable" - stat_die - fi - fi - return 0 -} #}}} -check_process(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: check_process -# DESCRIPTION: Check that process is alive -# PARAMETERS: name of process and/or pidfile -# RETURNS: look at the beginning of the script -#=============================================================================== - local process - local pidfile - if [ $# -eq 2 ]; then - process=$1 - pidfile=$2 - elif [ $# -eq 1 ]; then - process=$1 - else - return $OTHERERROR - fi - - if get_pid $process >/dev/null; then - # process is running - if [ -s "$pidfile" ]; then - return $PROCRUNPIDEXIST - elif [ -r "$pidfile" ]; then - return $PROCRUNPID0 - else - return $PROCRUNPIDNO - fi - else - # process doesn't runnig - if [ -r "$pidfile" ]; then - return $PROCNOPIDEXIST - else - return $PROCNOPIDNO - fi - fi -} #}}} -get_userpid(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: get_userpid -# DESCRIPTION: looking for pid of process belong to user -# PARAMETERS: name of user, name of process -# RETURNS: pid of process or 1 if error -#=============================================================================== - local user=$1 - local process=$2 - if [ -n "$user" -a -n "$process" ]; then - local pid=$(ps aux | \ - awk -vuser=$user -vprocess=$process \ - '$1 == user && $8 ~ "s" && $11 == process {print $2}') - if [[ "$pid" =~ ^[0-9]+$ ]]; then - echo $pid - else - return 1 - fi - else - return 1 - fi -} #}}} -check_daemon(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: check_daemon -# DESCRIPTION: check that daemon exist in directory -# PARAMETERS: name of daemon -# RETURNS: look at the beginning of the script -#=============================================================================== - if ck_daemon $NAME; then - return $DAEMONEXIST - else - return $DAEMONEXIST - fi -} #}}} -start(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: start -# DESCRIPTION: check configuration, if a process is already running and running php-cgi daemon -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - stat_busy "Checking configuration" - check_config && - stat_done || \ - stat_die - - stat_busy "Starting server $NAME" #{{{ - check_process $PHPCGI $PIDFILE - local error=$? - if [ $error -ge $PROCRUNPIDEXIST -a $error -le $PROCRUNPIDNO ]; then - stat_fail - case $error in - $PROCRUNPIDEXIST) - stat_busy "The process $PHP is running" - ;; - $PROCRUNPID0) - stat_busy "The process $PHP is running and pidfile has size 0b" - ;; - $PROCRUNPIDNO) - stat_busy "The process $PHP is running and pidfile doesn't exist" - ;; - esac - stat_die $error - elif [ $error -eq $OTHERERROR ]; then - stat_fail - stat_busy "Something went wrong..." - stat_die $returnvalue - fi - - # run the main daemon - $DAEMON $OPTIONS >/dev/null - if [ $? -eq 0 ]; then - add_daemon $NAME - stat_done - else - stat_die - fi - #}}} - #{{{ start daemons for multiusers - if [ -n "$STARTMULTI" ]; then - stat_busy "Starting server $NAME for multiusers" - gen_all_uid - if [ -z "$USERSOCKET" ]; then - # Generate file map user 2 port - :>$MAPUSER2PORT - cat >> $MAPUSER2PORT <<- EOF - # Map username to port - map \$username \$port { - default $PORT; - - EOF - local userport=$PORT - local uid - for uid in ${ALLUID[@]}; do - local login=$(uid2login $uid) - if [ $? -eq 0 ]; then - userport=$((userport+1)) - echo -e "$login $userport;" >> $MAPUSER2PORT - local gid=$(id -g $login) - local group=$(gid2group $gid) - if [ -n "$USERPIDFILE" ]; then - local userpidfile=${USERPIDFILE}.${login}.pid - fi - USEROPTIONS="-a $IPADDR -p $userport -u $login ${group:+-g $group} -f $PHPCGI -C ${USER_PHP_FCGI_CHILDREN:-1} ${userpidfile:+-P $userpidfile}" - $DAEMON $USEROPTIONS &>/dev/null - if [ $? -ne 0 ]; then - stat_die - fi - fi - done - echo '}' >> $MAPUSER2PORT - stat_done - elif [ -n "$USERSOCKET" ]; then - local uid - for uid in ${ALLUID[@]}; do - local login=$(uid2login $uid) - if [ $? -eq 0 ]; then - local gid=$(id -g $login) - local group=$(gid2group $gid) - if [ -n "$USERPIDFILE" ]; then - local userpidfile=${USERPIDFILE}.${login}.pid - fi - local usersocket=${USERSOCKET}.${login}.sock - USEROPTIONS="-s ${usersocket} -u $login ${group:+-g $group} -f $PHPCGI -C ${USER_PHP_FCGI_CHILDREN:-1} ${userpidfile:+-P $userpidfile}" - $DAEMON $USEROPTIONS &>/dev/null - if [ $? -ne 0 ]; then - stat_die - fi - fi - done - stat_done - fi - fi - #}}} -} #}}} -stop(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: stop -# DESCRIPTION: check whether a process is running, stop the daemon php-cgi -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - stat_busy "Stopping server $NAME" #{{{ - # for main daemon - if ! get_pid $PHPCGI &>/dev/null; then - stat_fail - stat_busy "None process $PHPCGI isn't running" - stat_die - else - #process php-cgi is running - if [ -s "$PIDFILE" ]; then - # pidfile exists - kill $(<$PIDFILE) - if [ $? -eq 0 ]; then - rm -f $PIDFILE - rm_daemon $NAME - stat_done - else - stat_die - fi - else #pidfile doesn't exist - if [ -r "$PIDFILE" ]; then - #pidfile exists and has size 0b - stat_busy "Pidfile $PIDFILE exists and has size 0b.Removing it" - rm -f "$PIDFILE" && \ - stat_done || \ - stat_fail - fi - killall -9 $PHPCGI - if [ $? -eq 0 ]; then - stat_done - rm_daemon $NAME - else - stat_die - fi - fi - fi - #}}} - #{{{ for multiusers - if [ -n "$STARTMULTI" ]; then - # waiting to kill the main daemon - sleep 1 - if get_pid $PHPCGI &>/dev/null; then - stat_busy "Stopping server $NAME for multiusers" - killall $PHPCGI - # cleaning pidfiles - if [ -n "$USERPIDFILE" ]; then - gen_all_uid - for UserID in ${ALLUID[@]}; do - local login=$(uid2login $UserID) - if [ $? -eq 0 ]; then - rm -f ${USERPIDFILE}.${login}.pid - fi - done - fi #$USERPIDFILE - stat_done - fi - fi - #}}} -} #}}} -restart(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: restart -# DESCRIPTION: stop and start service -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - stat_busy "Restarting server $NAME" - stop - sleep 1 - start -} #}}} -status(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: status -# DESCRIPTION: check status of service -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - if ! get_pid $PHPCGI>/dev/null; then - stat_busy "None process $PHPCGI isn't running" - stat_done - else - stat_busy "Process $PHPCGI is running" - stat_done - if [ -s "$PIDFILE" ]; then - stat_busy "It's spawned by process: $(cat $PIDFILE|tr '\n' ' ')"; - stat_done - elif [ -r "$PIDFILE" ]; then - stat_fail - stat_busy "Pidfile $PIDFILE exists but has size 0b" - else - stat_busy "Pidfile $PIDFILE doesn't exist" - stat_done - fi - if [ -n "$STARTMULTI" -a -n "$USERSSTATUS" ]; then - gen_all_uid - local uid - for uid in ${ALLUID[@]}; do - local login=$(uid2login $uid) - if [ $? -eq 0 ]; then - if [ -n "$USERPIDFILE" ]; then - # USERPIDFILE defined - local userpidfile=${USERPIDFILE}.${login}.pid - if [ -s "$userpidfile" ]; then - stat_busy "Process $PHPCGI of user $login is spawned by process: $(cat $userpidfile|tr '\n' ' ')"; - stat_done - fi - else - local pid=$(get_userpid $login $PHPCGI) - if [ $? -eq 0 ]; then - stat_busy "Process $PHPCGI for user $login is running and it's spawned by: $pid"; - stat_done - fi - fi - fi - done - fi - fi -} #}}} -uid2login(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: uid2login -# DESCRIPTION: convert uid to username -# PARAMETERS: uid -# RETURNS: name of user for uid -#=============================================================================== - local uid=$1 - if [ ! $uid -gt 0 ]; then - return 1 - fi - local username=$(getent passwd | awk -vuid=$uid -F: '$3 == uid {print $1}') - if [ -z "$username" ]; then - return 1 - else - echo $username - fi -} #}}} -gid2group(){ #{{{ - #=== FUNCTION ================================================================ - # NAME: uid2group - # DESCRIPTION: convert gid to name of group - # PARAMETERS: gid - # RETURNS: name of group for gid - #=============================================================================== - local gid=$1 - if [ ! $gid -gt 0 ]; then - return 1 - fi - local groupname=$(getent group | awk -vgid=$1 -F: '$3 == gid {print $1}') - if [ -z "$groupname" ]; then - return 1 - else - echo $groupname - fi -} #}}} -gen_all_uid(){ #{{{ -#=== FUNCTION ================================================================ -# NAME: gen_all_uid -# DESCRIPTION: Generate array of all UID -# PARAMETERS: - -# RETURNS: - -#=============================================================================== - ALLUID=() - if [ -n "$RANGEUID" -a ${#RANGEUID[@]} -gt 0 ]; then - for line in ${RANGEUID[@]/,/ }; do - (( line )) || stat_die # not a number - if [[ ${line/-/} != $line ]]; then - for ((i=${line%-*}; i<=${line#*-}; i++)); do - ALLUID+=($i) - done - else - ALLUID+=($line) - fi - done - elif [ $FIRSTUID -gt 1 -a $LASTUID -gt 1 -a $LASTUID -ge $FIRSTUID ]; then - for ((line=FIRSTUID; line<=LASTUID; line++)); do - (( line )) || stat_die #not a number - ALLUID+=($line) - done - else - echo "Error: Wrong range UID. Change RANGEUID or FIRSTUID and LASTUID" - exit 1 - fi -} #}}} -case $1 in - start) - start - ;; - stop) - stop - ;; - restart) - restart - ;; - status) - status - ;; - *) - echo "Usage: $0 start|stop|restart|status" -esac diff --git a/~fauno/spawn-fcgi-php/spawn-fcgi-php.conf b/~fauno/spawn-fcgi-php/spawn-fcgi-php.conf deleted file mode 100644 index d87520c1d..000000000 --- a/~fauno/spawn-fcgi-php/spawn-fcgi-php.conf +++ /dev/null @@ -1,60 +0,0 @@ -# vi: ft=sh -# run PHPCGI as -USER=http -GROUP=http - -# Name of daemon -DAEMON="/usr/bin/spawn-fcgi" -PIDFILE="/var/run/spawn-fcgi-php.pid" -# spawn the process -PHPCGI="/usr/bin/php-cgi" - -#------------------------------------------------------------------------------- -# Options for php-cgi -#------------------------------------------------------------------------------- -# (PHP only) Number of children to spawn -PHP_FCGI_CHILDREN=4 -# or export PHP_FCGI_CHILDREN -# PHP FastCGI proccess exit after requests: -export PHP_FCGI_MAX_REQUESTS=1000 -# Choose ONE of PORT/IPADDR (for TCP) OR SOCKET (for unix domain sockets) -IPADDR=127.0.0.1 -PORT=9000 -#SOCKET=/var/run/spawn-fcgi/spawn-fcgi.sock -# Options only for socket -#MODE=0644 -#SOCKET_USER=other -#SOCKET_GROUP=other - -#------------------------------------------------------------------------------- -# Options for spawn-fcgi -#------------------------------------------------------------------------------- -# Number of children to fork, defaults to 1. -SPAWN_FCGI_CHILDREN=1 - - -#------------------------------------------------------------------------------- -# For many users -#------------------------------------------------------------------------------- -# Run separate processes for users with UIDs from the range RANGEUID -# uncomment STARTMULTI if you want this -STARTMULTI=yes -# Base user's socket, uncomment to use socket instead IPADDR:USERPORT -USERSOCKET='/var/run/spawn-fcgi/spawn-fcgi' -# file with mapping user to port -MAPUSER2PORT='/etc/nginx/conf/map_user2port.conf' -# Base user's pidfile -#USERPIDFILE='/var/run/spawn-fcgi-php' -# range for UIDs, use the dash for range and split groups by spaces e.g. 1000-1003 1005 1010-1020, use parenthis for all -RANGEUID=(1000-1001) -# (PHP only) Number of children to spawn -USER_PHP_FCGI_CHILDREN=1 -# for status, comment if you don't want print status for users -#USERSSTATUS=yes - -OPTIONS="-u $USER -g $GROUP -f $PHPCGI -C ${PHP_FCGI_CHILDREN:-4} ${PIDFILE:+-P $PIDFILE} -F ${SPAWN_FCGI_CHILDREN:-1} " -if [ -n "$SOCKET" ]; then - OPTIONS+="-s $SOCKET ${MODE:+-M $MODE} ${SOCKET_USER:+-U $SOCKET_USER} ${SOCKET_GROUP:+-G $SOCKET_GROUP} " -else - OPTIONS+="-a $IPADDR -p $PORT " -fi diff --git a/~fauno/sphinx/PKGBUILD b/~fauno/sphinx/PKGBUILD deleted file mode 100644 index fa5a7935e..000000000 --- a/~fauno/sphinx/PKGBUILD +++ /dev/null @@ -1,42 +0,0 @@ -# Maintainer: dryes <joswiseman@gmail> -# Contributor: Dan Serban -# Contributor: Vishnevsky Roman <aka dot x0x01 at gmail dot com> -# Contributor: Massimiliano Torromeo <massimiliano.torromeo@gmail.com> -pkgname='sphinx' -pkgver=2.0.5 -pkgrel=2 -pkgdesc='Free open-source SQL full-text search engine.' -arch=('i686' 'x86_64') -url='http://www.sphinxsearch.com/' -license=('GPL') -depends=('unixodbc' 'expat' 'libmysqlclient' 'postgresql-libs') -optdepends=('postgresql') -backup=('etc/conf.d/sphinx') -source=("http://sphinxsearch.com/files/${pkgname}-${pkgver}-release.tar.gz" 'sphinx.conf.d' 'sphinx.rc.d') - -build() { - sed -i '15199,15199 s/x00/x21/' "${srcdir}/${pkgname}-${pkgver}-release/src/searchd.cpp" - - cd "${srcdir}/${pkgname}-${pkgver}-release" - ./configure --prefix=/usr --exec-prefix=/usr --localstatedir=/var/lib/sphinx \ - --sysconfdir=/etc/sphinx --with-pgsql --enable-id64 - - make -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}-release" - - make DESTDIR="${pkgdir}" install - - for _f in "${pkgdir}/usr/bin/"*; do - ln -s "/usr/bin/${_f##*/}" "${pkgdir}/usr/bin/sphinx-${_f##*/}" - done - - install -Dm755 "${srcdir}/sphinx.rc.d" "${pkgdir}/etc/rc.d/sphinx" - install -Dm644 "${srcdir}/sphinx.conf.d" "${pkgdir}/etc/conf.d/sphinx" -} - -md5sums=('e71fdb5b0c2911247d48fb30550b9584' - '48e3e1857919d26d5104a48caffb531b' - 'd886222593c6bba891fd3ce982c90c00') diff --git a/~fauno/sphinx/sphinx.conf.d b/~fauno/sphinx/sphinx.conf.d deleted file mode 100644 index c809e56fa..000000000 --- a/~fauno/sphinx/sphinx.conf.d +++ /dev/null @@ -1,5 +0,0 @@ -# -# Arguments to be passed to the sphinx daemon -# - -SPHINX_ARGS="" diff --git a/~fauno/sphinx/sphinx.rc.d b/~fauno/sphinx/sphinx.rc.d deleted file mode 100644 index 64c8f01e7..000000000 --- a/~fauno/sphinx/sphinx.rc.d +++ /dev/null @@ -1,44 +0,0 @@ -#!/bin/bash - -. /etc/rc.conf -. /etc/rc.d/functions -. /etc/conf.d/sphinx - -PID=$(pidof -o %PPID /usr/bin/sphinx-searchd) -case $1 in -start) - stat_busy "Starting Sphinx Daemon" - - if [[ -z $PID ]] && /usr/bin/sphinx-searchd $SPHINX_ARGS; then - - PID=$(pidof -o %PPID /usr/bin/sphinx-searchd) - echo "$PID" > /var/run/sphinx-searchd.pid - add_daemon sphinx - stat_done - else - stat_fail - exit 1 - fi - ;; - -stop) - stat_busy "Stopping Sphinx Daemon" - if [[ ! -z $PID ]] && kill "$PID" &>/dev/null; then - rm_daemon sphinx - stat_done - else - stat_fail - exit 1 - fi - ;; - -restart) - $0 stop - $0 start - ;; - -*) - echo "Usage: $0 {start|stop|restart}" >&2 - exit 1 - -esac diff --git a/~fauno/vala-notmuch/PKGBUILD b/~fauno/vala-notmuch/PKGBUILD deleted file mode 100644 index 0e97683a4..000000000 --- a/~fauno/vala-notmuch/PKGBUILD +++ /dev/null @@ -1,31 +0,0 @@ -# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk - -pkgname=vala-notmuch -pkgver=20120112 -pkgrel=1 -pkgdesc="a notmuch address book in vala" -url="https://github.com/spaetz/vala-notmuch" -arch=('i686' 'x86_64' 'mips64el') -license=('GPL2') -makedepends=('vala') -depends=('notmuch') -install=vala-notmuch.install -source=("https://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz") - -build() { - cd "${srcdir}/${pkgname}-${pkgver}/src" - - ./make - -} - -package() { - cd "${srcdir}/${pkgname}-${pkgver}" - - install -D -m755 src/addrlookup ${pkgdir}/usr/bin/addrlookup - -} - -# vim:set ts=2 sw=2 et: -md5sums=('99e264c0cb36e0a0f18048fb2ebd07e0') -md5sums=('ca73980225368309119cf17ff5b3f3c4') diff --git a/~fauno/vala-notmuch/SRCBUILD b/~fauno/vala-notmuch/SRCBUILD deleted file mode 100644 index 89b6c67ba..000000000 --- a/~fauno/vala-notmuch/SRCBUILD +++ /dev/null @@ -1,39 +0,0 @@ -# Maintainer: Mark Foxwell fastfret79@archlinux.org.uk - -pkgname=vala-notmuch -pkgver=20120112 -pkgrel=1 -pkgdesc="A notmuch address book in vala" -url="https://github.com/spaetz/vala-notmuch" -arch=('any') -license=('GPL2') -makedepends=('git') - -_gitroot="https://github.com/spaetz/vala-notmuch.git" -_gitname="${pkgname}" - -build() { - cd "$srcdir" - msg 'Connecting to GIT server...' - - if [ -d $_gitname ] ; then - cd $_gitname; git pull origin - msg 'The local files are updated.' - else - git clone $_gitroot $_gitname - fi - - msg "GIT checkout done or server timeout" - -} - -package() { - cd ${pkgdir} - export PKGDEST=${SRCDEST} - export PKGEXT=.src.tar.xz - - git clone ${srcdir}/${pkgname} ${pkgname}-${pkgver} - -} - -# vim:set ts=2 sw=2 et: diff --git a/~fauno/vala-notmuch/vala-notmuch.install b/~fauno/vala-notmuch/vala-notmuch.install deleted file mode 100644 index d1ce89da6..000000000 --- a/~fauno/vala-notmuch/vala-notmuch.install +++ /dev/null @@ -1,6 +0,0 @@ -post_install() { -echo "To use within emacs, add the following to your .emacs:" -echo "(require 'notmuch-address)" -echo "(setq notmuch-address-command "/usr/bin/addrlookup")" -echo "(notmuch-address-message-insinuate)" -} |