diff options
Diffstat (limited to '~xihh')
29 files changed, 1004 insertions, 0 deletions
diff --git a/~xihh/blast/PKGBUILD b/~xihh/blast/PKGBUILD new file mode 100644 index 000000000..70ab81dcc --- /dev/null +++ b/~xihh/blast/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Joshua Haase <hahj87@gmail.com> +pkgname='blast' +pkgver=2.2.25 +pkgrel=1 +pkgdesc="Basic Local Alignment Search Tool: BLAST finds regions of similarity between biological sequences" +arch=('i686' 'x86_64' 'mips64el') +url="http://blast.ncbi.nlm.nih.gov/Blast.cgi?CMD=Web&PAGE_TYPE=BlastHome" +license=('custom:Public_Domain') +makedepends=() +depends=() +optdepends=() +source=("ftp://ftp.ncbi.nlm.nih.gov/blast/executables/blast+/$pkgver/ncbi-blast-$pkgver+-src.tar.gz") +md5sums=('01256b808e3af49a5087945b6a8c8293') + +build() { + cd "$srcdir/ncbi-blast-${pkgver}+-src/c++" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/ncbi-blast-${pkgver}+-src/c++" + make -k check +} + +package() { + cd "$srcdir/ncbi-blast-${pkgver}+-src/c++" + make DESTDIR="$pkgdir/" install +} + +# vim:set ts=2 sw=2 et: diff --git a/~xihh/contrafold/PKGBUILD b/~xihh/contrafold/PKGBUILD new file mode 100644 index 000000000..4cf9c1085 --- /dev/null +++ b/~xihh/contrafold/PKGBUILD @@ -0,0 +1,23 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy> +pkgname=contrafold +pkgver=2_02 +pkgrel=1 +epoch= +pkgdesc="An RNA secondary structure folder." +arch=('i686' 'x86_64') +url="http://contra.stanford.edu/contrafold/" +license=('Custom:BSD3') +source=(http://contra.stanford.edu/contrafold/contrafold_v${pkgver}.tar.gz) +md5sums=('cea66c63df835fe7f790c7f49ce83ef3') + +build() { + cd "$srcdir/$pkgname/src" + # ./configure --prefix=/usr + make +} + +package() { + cd "$srcdir/$pkgname/src" + make DESTDIR="$pkgdir/" install +} diff --git a/~xihh/couchapp-git/PKGBUILD b/~xihh/couchapp-git/PKGBUILD new file mode 100644 index 000000000..297426f3f --- /dev/null +++ b/~xihh/couchapp-git/PKGBUILD @@ -0,0 +1,40 @@ +# Contributors: Moritz Heidkamp <moritz@twoticketsplease.de>, Sebastian Sauer <info@dynpages.de> +pkgname=couchapp-git +pkgver=20120413 +pkgrel=1 +pkgdesc="A set of helpers and a jQuery plugin that conspire to get you up and running on CouchDB quickly and correctly." +arch=('any') +url="http://github.com/couchapp/couchapp/" +license=('APACHE') +depends=('python2-restkit' 'python2-watchdog') +makedepends=('git' 'setuptools') +provides=(couchapp) + +_gitroot="git://github.com/couchapp/couchapp.git" +_gitname="couchapp" + +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" + msg "Starting make..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + +} + +package() { + + cd "$srcdir/$_gitname-build" + python2 setup.py install --root="$pkgdir/" --optimize=1 + +} diff --git a/~xihh/couchdb-git/PKGBUILD b/~xihh/couchdb-git/PKGBUILD new file mode 100644 index 000000000..91bb85cbf --- /dev/null +++ b/~xihh/couchdb-git/PKGBUILD @@ -0,0 +1,64 @@ +# $Id: PKGBUILD 61260 2011-12-26 21:33:37Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: Vitaliy Berdinskikh ur6lad[at]i.ua +# Previous Contributor: Michael Fellinger <m.fellinger@gmail.com> + +pkgname=couchdb-git +pkgver=$(date -u +%Y%m%d) +pkgrel=2 +pkgdesc="A document-oriented database that can be queried and indexed in a MapReduce fashion using JSON" +arch=('i686' 'x86_64' 'mips64el') +url="http://couchdb.apache.org" +license=('APACHE') +depends=('icu' 'erlang' 'js' 'openssl' 'curl') +makedepends=('gcc' 'git') +install=couchdb.install +options=('!libtool') +backup=('etc/couchdb/local.ini' + 'etc/conf.d/couchdb' + 'etc/logrotate.d/couchdb') +source=("rc-script.patch") +md5sums=('8a3b1a1ff98a6411827ad991db7a355b') + +_gitroot=git://github.com/apache/couchdb.git +_gitname=couchdb-git + +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" + msg "Starting build..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" + + # + # BUILD HERE + # + + [ -x configure ] || ./bootstrap + sed -i 's|-ljs|-lmozjs185|' configure + [ -f Makefile ] || ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var + make + patch -R etc/init/couchdb <$srcdir/rc-script.patch +} + +package() { + cd "$srcdir/$_gitname-build" + make DESTDIR="$pkgdir" install + + install -Dm644 etc/default/couchdb $pkgdir/etc/conf.d/couchdb + sed -i 's|\(CONFIGURATION_FILE=/etc/\)default\(/couchdb\)|\1conf.d\2|' $pkgdir/etc/rc.d/couchdb + sed -i 's|\(COUCHDB_OPTIONS=\)|\1"-p /var/run/couchdb/couchdb.pid"|' $pkgdir/etc/conf.d/couchdb + + rm -rf $pkgdir/etc/default/ $pkgdir/var/run +} diff --git a/~xihh/couchdb-git/couchdb.install b/~xihh/couchdb-git/couchdb.install new file mode 100644 index 000000000..5eff459c7 --- /dev/null +++ b/~xihh/couchdb-git/couchdb.install @@ -0,0 +1,22 @@ +post_install() { + id couchdb &>/dev/null || \ + useradd -r -c "CouchDB daemon" -g daemon -d /var/lib/couchdb -s /bin/false couchdb + mkdir -p /var/run/couchdb + chown -R couchdb.daemon /etc/couchdb + chown -R couchdb.daemon /var/{lib,log,run}/couchdb +} + +pre_upgrade() { + id couchdb &>/dev/null || \ + useradd -r -c "CouchDB daemon" -g daemon -d /var/lib/couchdb -s /bin/false couchdb +} + +post_upgrade() { + mkdir -p $pkgdir/var/run/couchdb + chown -R couchdb.daemon /etc/couchdb + chown -R couchdb.daemon /var/{lib,log,run}/couchdb +} + +post_remove() { + userdel couchdb &>/dev/null +} diff --git a/~xihh/couchdb-git/rc-script.patch b/~xihh/couchdb-git/rc-script.patch new file mode 100644 index 000000000..1dd723ffc --- /dev/null +++ b/~xihh/couchdb-git/rc-script.patch @@ -0,0 +1,57 @@ +--- couchdb 2011-12-27 01:21:59.000000000 +0400 ++++ couchdb.my 2011-12-27 01:21:18.000000000 +0400 +@@ -1,6 +1,4 @@ +-#!/bin/bash +-. /etc/rc.conf +-. /etc/rc.d/functions ++#!/bin/sh -e + + # Licensed under the Apache License, Version 2.0 (the "License"); you may not + # use this file except in compliance with the License. You may obtain a copy of +@@ -31,7 +29,7 @@ + NAME=couchdb + SCRIPT_NAME=`basename $0` + COUCHDB=/usr/bin/couchdb +-CONFIGURATION_FILE=/etc/conf.d/couchdb ++CONFIGURATION_FILE=/etc/default/couchdb + RUN_DIR=/var/run/couchdb + LSB_LIBRARY=/lib/lsb/init-functions + +@@ -44,14 +42,16 @@ + fi + + log_daemon_msg () { +- stat_busy $@ ++ # Dummy function to be replaced by LSB library. ++ ++ echo $@ + } + + log_end_msg () { ++ # Dummy function to be replaced by LSB library. ++ + if test "$1" != "0"; then +- stat_fail +- else +- stat_done ++ echo "Error with $DESCRIPTION: $NAME" + fi + return $1 + } +@@ -66,7 +66,7 @@ + command="$command $COUCHDB_OPTIONS" + fi + if test -n "$COUCHDB_USER"; then +- if su $COUCHDB_USER -s /bin/bash -c "$command"; then ++ if su $COUCHDB_USER -c "$command"; then + return $SCRIPT_OK + else + return $SCRIPT_ERROR +@@ -84,7 +84,6 @@ + # Start Apache CouchDB as a background process. + + mkdir -p "$RUN_DIR" +- chown -R $COUCHDB_USER "$RUN_DIR" + command="$COUCHDB -b" + if test -n "$COUCHDB_STDOUT_FILE"; then + command="$command -o $COUCHDB_STDOUT_FILE" diff --git a/~xihh/django-ajax-selects/PKGBUILD b/~xihh/django-ajax-selects/PKGBUILD new file mode 100644 index 000000000..e0255e745 --- /dev/null +++ b/~xihh/django-ajax-selects/PKGBUILD @@ -0,0 +1,53 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@none> +pkgname=django-ajax-selects +pkgver=20120215 +pkgrel=1 +epoch= +pkgdesc="" +arch=('i686' 'x86_64' 'mips64el') +url="https://github.com/crucialfelix/django-ajax-selects" +license=('GPL') +groups=() +depends=('python2') +makedepends=('git') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +changelog= +source=() +md5sums=() +noextract=() +#generate with 'makepkg -g' + +_gitroot=git://github.com/crucialfelix/django-ajax-selects.git +_gitname=django-ajax-selects + +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" + msg "Starting build..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" +} + +package() { + cd "$srcdir/$_gitname-build" + python setup.py install --root="$pkgdir/" --optimize=1 +} diff --git a/~xihh/gmime24/PKGBUILD b/~xihh/gmime24/PKGBUILD new file mode 100644 index 000000000..d50f71c4d --- /dev/null +++ b/~xihh/gmime24/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 150770 2012-02-21 20:45:23Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> +# Contributor: Ben <ben@benmazer.net> + +_pkgbase=gmime +pkgname=gmime24 +pkgver=2.4.32 +pkgrel=1 +pkgdesc="Core mime parsing library" +arch=('i686' 'x86_64' 'mips64el') +license=('GPL') +url="http://spruce.sourceforge.net/gmime/" +depends=('glib2' 'gpgme' 'zlib') +makedepends=('gtk-sharp-2' 'pkgconfig') +[ "$CARCH" = "mips64el" ] && unset makedepends +options=('!libtool') +source=(http://ftp.gnome.org/pub/GNOME/sources/$_pkgbase/${pkgver%.*}/$_pkgbase-$pkgver.tar.xz) +sha256sums=('a0e8f3a1949e7281e92edc5dd6309a7ca34b6838c6acf7b7f1563a41b5ddd74b') + +build() { + # get rid of that .wapi errors in fakeroot + export MONO_SHARED_DIR="$srcdir/weird" + mkdir -p "$MONO_SHARED_DIR" + + cd "$srcdir/$_pkgbase-$pkgver" + + ./configure --prefix=/usr --enable-smime \ + --disable-static + make +} + +package() { + cd "$srcdir/$_pkgbase-$pkgver" + make DESTDIR="$pkgdir" install +} diff --git a/~xihh/libtre/PKGBUILD b/~xihh/libtre/PKGBUILD new file mode 100644 index 000000000..ad111c45d --- /dev/null +++ b/~xihh/libtre/PKGBUILD @@ -0,0 +1,47 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy> +pkgbase='libtre' +pkgname=('libtre' 'python2-tre') +pkgver=0.8.0 +pkgrel=1 +pkgdesc="The free and portable approximate regex matching library." +arch=('i686' 'x86_64' 'mips64el') +url="http://laurikari.net/tre/download/" +license=('custom:BSD2') +groups=() +depends=() +makedepends=('python' 'python2') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=("http://laurikari.net/tre/tre-${pkgver}.tar.bz2") +md5sums=('b4d3232593dadf6746f4727bdda20b41') +noextract=() + +build() { + cd "$srcdir/tre-$pkgver" + ./configure --prefix=/usr + make +} + +check() { + cd "$srcdir/tre-$pkgver" + make -k check || true # some errors expected +} + +package_libtre() { + cd "$srcdir/tre-$pkgver" + make DESTDIR="$pkgdir/" install +} + +package_python2-tre() { + depends=('libtre') + cd "$srcdir/tre-$pkgver/python" + python2 setup.py install --root="$pkgdir/" --optimize=1 +} diff --git a/~xihh/lyx-clasicthesis/PKGBUILD b/~xihh/lyx-clasicthesis/PKGBUILD new file mode 100644 index 000000000..8e63e2025 --- /dev/null +++ b/~xihh/lyx-clasicthesis/PKGBUILD @@ -0,0 +1,30 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy> +pkgname=lyx-clasicthesis +pkgver=3.1-beta1 +pkgrel=1 +pkgdesc="A Classic Thesis Style for LaTeX and LyX" +arch=('any') +url="https://code.google.com/p/classicthesis/" +license=('GPL') +groups=() +depends=('lyx') +source=(https://code.google.com/p/classicthesis/downloads/detail?name=ClassicThesis-LyX-v${pkgver}.zip) +md5sums=('a437079a70466adadf8f7034e02ebd85') +noextract=() + +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 +} diff --git a/~xihh/muscle/LICENSE b/~xihh/muscle/LICENSE new file mode 100644 index 000000000..e48f525fe --- /dev/null +++ b/~xihh/muscle/LICENSE @@ -0,0 +1,10 @@ +MUSCLE is public domain software + +The MUSCLE software, including object and source code and +documentation, is hereby donated to the public domain. + +Disclaimer of warranty + +THIS SOFTWARE IS PROVIDED "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER +EXPRESS OR IMPLIED, INCLUDING WITHOUT LIMITATION IMPLIED WARRANTIES OF +MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE. diff --git a/~xihh/muscle/PKGBUILD b/~xihh/muscle/PKGBUILD new file mode 100644 index 000000000..101e2e312 --- /dev/null +++ b/~xihh/muscle/PKGBUILD @@ -0,0 +1,38 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy> +pkgname=muscle +pkgver=3.8.31 +pkgrel=1 +epoch= +pkgdesc="multiple sequence comparison by log-expectation" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.drive5.com/muscle/" +license=('custom:PublicDomain') +groups=() +depends=() +makedepends=('gcc-libs') +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=(http://www.drive5.com/muscle/downloads${pkgver}/muscle${pkgver}_src.tar.gz LICENSE) +md5sums=('f767f00fd15f0c5db944d41936779e10' + '57cfb6975987af93c89977f084d53b72') +noextract=() + +build() { + cd "$srcdir/$pkgname$pkgver/src" + sed -i 's/ -msse2 -mfpmath=sse//' mk + make +} + +package() { + cd "$srcdir/$pkgname$pkgver/src" + install -D -m755 muscle "$pkgdir/usr/bin/muscle" + install -D -m644 "$srcdir/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} diff --git a/~xihh/notmuch-address/PKGBUILD b/~xihh/notmuch-address/PKGBUILD new file mode 100644 index 000000000..908f40b22 --- /dev/null +++ b/~xihh/notmuch-address/PKGBUILD @@ -0,0 +1,58 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy> +pkgname=notmuch-address +pkgver=20120201 +pkgrel=1 +epoch= +pkgdesc="Address completion for notmuch" +arch=('any') +url="" +license=('GPL') +groups=() +depends=(python2) +makedepends=(git) +checkdepends=() +optdepends=() +provides=() +conflicts=() +replaces=() +backup=() +options=() +install= +changelog= +source=() +md5sums=() +noextract=() +#generate with 'makepkg -g' +_gitroot=http://commonmeasure.org/~jkr/git/notmuch_addresses.git +_gitname=notmuch-adress + +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" + msg "Starting build..." + + rm -rf "$srcdir/$_gitname-build" + git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build" + cd "$srcdir/$_gitname-build" + + # + # BUILD HERE + # +} + +package() { + cd "$srcdir/$_gitname-build" + sed -i "s_#!/usr/bin/env python_#!/usr/bin/env python2_" notmuch_addresses.py + install -d $pkgdir/usr/bin + install -m755 notmuch_addresses.py $pkgdir/usr/bin/notmuch_addresses.py +}
\ No newline at end of file diff --git a/~xihh/python2-argh/PKGBUILD b/~xihh/python2-argh/PKGBUILD new file mode 100644 index 000000000..7805d47be --- /dev/null +++ b/~xihh/python2-argh/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: Andrey Mikhaylenko <neithere at gmail dot com> +# Contributor: Fabien Devaux <fdev31 at gmail dot com> +pkgname=python2-argh +pkgver=0.15.1 +pkgrel=1 +pkgdesc="A simple argparse wrapper" +arch=('any') +url="http://bitbucket.org/neithere/argh/" +license=('LGPL3') +depends=('python2') +makedepends=('python2-distribute') +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=(http://pypi.python.org/packages/source/a/argh/argh-${pkgver}.tar.gz) +md5sums=('64d92b85819df18b817f7e076bd4ed3b') + +package() { + cd "${srcdir}/argh-${pkgver}" + python2 setup.py install --root="${pkgdir}" --optimize=1 +} diff --git a/~xihh/python2-brownie/PKGBUILD b/~xihh/python2-brownie/PKGBUILD new file mode 100644 index 000000000..85f77baf8 --- /dev/null +++ b/~xihh/python2-brownie/PKGBUILD @@ -0,0 +1,23 @@ +pkgname=python2-brownie +pkgver=0.5.1 +pkgrel=1 +pkgdesc="Python Utility Library from Pocoo." +url="http://packages.python.org/Brownie" +depends=('python2') +makedepends=('python2-distribute') +license=('custom:BSD') +arch=('i686' 'x86_64' 'mips64el') +source=("http://pypi.python.org/packages/source/B/Brownie/Brownie-$pkgver.tar.gz") +md5sums=('c79089d747777f4754656b41998e5685') + +build() { + cd $srcdir/Brownie-$pkgver + python2 setup.py build +} + +package() { + cd $srcdir/Brownie-$pkgver + python2 setup.py install --root="$pkgdir" --optimize=1 + + install -m644 -D LICENSE.rst "$pkgdir/usr/share/licenses/$pkgname/LICENSE.rst" +} diff --git a/~xihh/python2-http-parser/PKGBUILD b/~xihh/python2-http-parser/PKGBUILD new file mode 100644 index 000000000..697e30aa1 --- /dev/null +++ b/~xihh/python2-http-parser/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname='python2-http-parser' +pkgver=0.7.3 +pkgrel=1 +pkgdesc="HTTP request/response parser for Python." +arch=('i686' 'x86_64' 'mips64el') +url="https://github.com/benoitc/http-parser" +license=('custom:MIT') +makedepends=('python2-distribute') +options=(!emptydirs) +source=("http://pypi.python.org/packages/source/h/http-parser/http-parser-${pkgver}.tar.gz") +md5sums=('0adf47b79905e31c1f53414ab279987e') + +build() { + cd "$srcdir/http-parser-$pkgver" + + python2 setup.py build + +} + +package() { + + depends=('python2') + + cd "$srcdir/http-parser-$pkgver" + python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1 + + install -m755 -d "${pkgdir}/usr/share/licenses/python2-python-http-parser" + install -m644 LICENSE "${pkgdir}/usr/share/licenses/python2-python-http-parser/" +} diff --git a/~xihh/python2-pathtools/PKGBUILD b/~xihh/python2-pathtools/PKGBUILD new file mode 100644 index 000000000..ea1bddc28 --- /dev/null +++ b/~xihh/python2-pathtools/PKGBUILD @@ -0,0 +1,41 @@ +# Maintainer: Joshua Haase <hahj87@gmail.com> + +pkgname=python2-pathtools +pkgver=$(date -u +%Y%m%d) +pkgrel=1 +pkgdesc="Pattern matching and various utilities for file systems paths." +arch=('any') +url="https://github.com/gorakhargosh/pathtools" +license=('custom:MIT') +depends=('python2') +makedepends=('git') +options=(!emptydirs) + +_gitroot="git://github.com/gorakhargosh/pathtools.git" +_gitname="pathtools" + +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" + msg "Starting make..." + + rm -rf "$srcdir/${_gitname}-build" + git clone "$srcdir/${_gitname}" "$srcdir/${_gitname}-build" + +} + +package() { + cd "$srcdir/${_gitname}-build" + python2 setup.py install --root="$pkgdir/" --optimize=1 + + install -m 644 -D LICENSE "$pkgdir/usr/share/licenses/$pkgname" +} diff --git a/~xihh/python2-restkit/PKGBUILD b/~xihh/python2-restkit/PKGBUILD new file mode 100644 index 000000000..244ff1f17 --- /dev/null +++ b/~xihh/python2-restkit/PKGBUILD @@ -0,0 +1,31 @@ +# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname=python2-restkit +pkgver=4.0.0 +pkgrel=1 +pkgdesc="Restkit is an HTTP resource kit for Python. It allows you to easily access to HTTP resource and build objects around it." +arch=('any') +url="http://benoitc.github.com/restkit/index.html" +license=('MIT') +depends=('python2-http-parser' 'python2-socketpool') +makedepends=('python2-distribute') +provides=() +options=(!emptydirs) +source=("http://pypi.python.org/packages/source/r/restkit/restkit-$pkgver.tar.gz" + "doc.patch") +md5sums=('1bb0fa0115f82803472a2a6a8a30cf30' + '87fa9d990c28e3f328b31e322343b157') + +package() { + cd "$srcdir/restkit-$pkgver" + + # Install doc at the proper location + patch -p1 < "$srcdir/doc.patch" + + # Remove tests directory (conflicts with other python packages) + rm -rf tests + + python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1 + +} + +# vim:set ts=2 sw=2 et: diff --git a/~xihh/python2-restkit/doc.patch b/~xihh/python2-restkit/doc.patch new file mode 100644 index 000000000..f8e5a99d9 --- /dev/null +++ b/~xihh/python2-restkit/doc.patch @@ -0,0 +1,14 @@ +diff -ru restkit-4.0.0/setup.py restkit-4.0.0.new/setup.py +--- restkit-4.0.0/setup.py 2012-01-25 03:47:45.000000000 +0100 ++++ restkit-4.0.0.new/setup.py 2012-01-26 21:17:10.211046123 +0100 +@@ -39,8 +39,8 @@ + long_description = f.read() + + DATA_FILES = [ +- ('restkit', ["LICENSE", "MANIFEST.in", "NOTICE", "README.rst", +- "THANKS", "TODO.txt"]) ++ ('share/doc/restkit', ["LICENSE", "MANIFEST.in", "NOTICE", ++ "README.rst", "THANKS", "TODO.txt"]) + ] + + options=dict( diff --git a/~xihh/python2-socketpool/PKGBUILD b/~xihh/python2-socketpool/PKGBUILD new file mode 100644 index 000000000..9c853efea --- /dev/null +++ b/~xihh/python2-socketpool/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org> +pkgname=python2-socketpool +pkgver=0.2.3 +pkgrel=1 +pkgdesc="Socket pool is a simple socket pool that suports multiple factories and backends. It can easily be used by gevent, eventlet or any other library." +arch=('any') +url="https://github.com/benoitc/socketpool" +license=('MIT') +depends=('python2') +makedepends=('python2-distribute') +options=(!emptydirs) +source=("http://pypi.python.org/packages/source/s/socketpool/socketpool-$pkgver.tar.gz" + "doc.patch") +md5sums=('aa7829958eb5df7f69f43c2946b17956' + 'b647167a37276f6dce2b9dc427a46dcc') + +package() { + cd "$srcdir/socketpool-$pkgver" + + # Install doc at the proper location + patch -p1 < "$srcdir/doc.patch" + + python2 setup.py install --prefix=/usr --root=$pkgdir/ --optimize=1 +} + +# vim:set ts=2 sw=2 et: diff --git a/~xihh/python2-socketpool/doc.patch b/~xihh/python2-socketpool/doc.patch new file mode 100644 index 000000000..19ae3cd58 --- /dev/null +++ b/~xihh/python2-socketpool/doc.patch @@ -0,0 +1,14 @@ +diff -ru socketpool-0.2.3.old/setup.py socketpool-0.2.3/setup.py +--- socketpool-0.2.3.old/setup.py 2012-01-26 21:57:45.947850603 +0100 ++++ socketpool-0.2.3/setup.py 2012-01-26 21:58:04.771081964 +0100 +@@ -23,8 +23,8 @@ + long_description = f.read() + + DATA_FILES = [ +- ('socketpool', ["LICENSE", "MANIFEST.in", "NOTICE", "README.rst", +- "THANKS", "UNLICENSE"]) ++ ('share/doc/socketpool', ["LICENSE", "MANIFEST.in", "NOTICE", ++ "README.rst", "THANKS", "UNLICENSE"]) + ] + + diff --git a/~xihh/python2-watchdog/PKGBUILD b/~xihh/python2-watchdog/PKGBUILD new file mode 100644 index 000000000..15bc2f4a3 --- /dev/null +++ b/~xihh/python2-watchdog/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: Joshua Haase <hahj87@gmail.com> +pkgname=python2-watchdog +pkgver=0.6.0 +pkgrel=1 +pkgdesc="Python API library and shell utilities to monitor file system events." +arch=('any') +url="http://packages.python.org/watchdog/" +license=('Apache') +groups=() +depends=('python2-pathtools' 'python2-argh' 'python2-yaml' 'python2-brownie') +makedepends=('python2-distribute') +provides=() +conflicts=() +replaces=() +backup=() +options=(!emptydirs) +install= +source=(http://pypi.python.org/packages/source/w/watchdog/watchdog-$pkgver.tar.gz) +md5sums=('6e8fb84aa6bdeb2054906bdf40048eba') + +package() { + cd "$srcdir/watchdog-$pkgver" + python2 setup.py install --root="$pkgdir/" --optimize=1 + +} diff --git a/~xihh/retroshare/PKGBUILD b/~xihh/retroshare/PKGBUILD new file mode 100644 index 000000000..7c62e2254 --- /dev/null +++ b/~xihh/retroshare/PKGBUILD @@ -0,0 +1,140 @@ +# Maintainer: stqn +# Contributor: JHeaton <jheaton at archlinux dot us> +# Contributor: Tristero <tristero at online dot de> +# Contributor: funkyou + +pkgname=retroshare +pkgver=0.5.3b +pkgrel=5 +pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail." +arch=('i686' 'x86_64' 'mips64el') +url="http://retroshare.sourceforge.net/" +license=('LGPL' 'GPL') +depends=('qt' 'libupnp' 'gpgme' 'libgnome-keyring' 'libxss') +install="${pkgname}.install" + +source=(http://sourceforge.net/projects/retroshare/files/RetroShare/${pkgver}/RetroShare-v${pkgver}.tar.gz \ + ${pkgname}.sh \ + ${pkgname}.install \ + ${pkgname}.desktop) + +sha256sums=('bd602a8a144597381659191561c19aaf9993eab0e0955cba8e6923b7efa30b0e' + '79d390eecea24ac51caa869fa8e0813abae092c75873527e180e0c965dac6f8e' + '5ba8c11c312b232b1935ee0918d020b049e4993cd8701e0446af4f8f637f4dce' + '70be00968f2477e368f75393f193e76f366fff2dadab869c855e92048060cf29') + +# Setting this to TRUE activates the compilation and packaging +# of the plugins which are not yet officially released. +# NOTE: doesn't work at the moment. +_USE_PLUGINS=FALSE + +# Setting this to TRUE activates the compilation and packaging +# of retroshare-nogui +_USE_NOGUI=FALSE + +build() { + cd ${srcdir} + + msg "Compiling libbitdht..." + cd ${srcdir}/trunk/libbitdht/src + qmake + make + + msg "Compiling libretroshare..." + cd ${srcdir}/trunk/libretroshare/src + qmake + make + + if [ "x$_USE_PLUGINS" == "xTRUE" ] ; then + msg "Compiling retroshare plugins..." + cd ${srcdir}/trunk/plugins + qmake + make + fi + + msg "Compiling retroshare-gui..." + cd ${srcdir}/trunk/retroshare-gui/src + # Add missing libs + sed -i "s/-lssl -lgpgme -lupnp -lixml -lXss -lgnome-keyring/-lssl -lcrypto -ldl -lX11 -lgpgme -lupnp -lixml -lXss -lgnome-keyring/" RetroShare.pro + qmake + make + + if [ "x$_USE_NOGUI" == "xTRUE" ] ; then + msg "Compiling retroshare-nogui..." + cd ${srcdir}/trunk/retroshare-nogui/src + # Add missing libs + sed -i "s/-lssl -lgpgme -lupnp -lixml -lgnome-keyring/-lssl -lcrypto -ldl -lgpgme -lupnp -lixml -lgnome-keyring/" retroshare-nogui.pro + qmake + make + fi +} + +package() { + + # --- Install Files --- + + msg "Install files to fakeroot-environment" + + # - Binaries + # Not installing the static libraries since there's no SDK anyway + #install -D -m 644 \ + # "${srcdir}/trunk/libbitdht/src/lib/libbitdht.a" \ + # "${pkgdir}/usr/lib/libbitdht.a" + #install -D -m 644 \ + # "${srcdir}/trunk/libretroshare/src/lib/libretroshare.a" \ + # "${pkgdir}/usr/lib/libretroshare.a" + + install -D -m 755 \ + "${srcdir}/trunk/retroshare-gui/src/RetroShare" \ + "${pkgdir}/opt/${pkgname}/${pkgname}" + + install -D -m 755 \ + "${pkgname}.sh" \ + "${pkgdir}/usr/bin/${pkgname}" + + if [ "x$_USE_NOGUI" == "xTRUE" ] ; then + install -D -m 755 \ + "${srcdir}/trunk/retroshare-nogui/src/retroshare-nogui" \ + "${pkgdir}/usr/bin/${pkgname}-nogui" + fi + + # plugins + + if [ "x$_USE_PLUGINS" == "xTRUE" ] ; then + # missing : LinksCloud + install -D -m 755 \ + "${srcdir}/trunk/plugins/bin/libcalendar_plugin.so" \ + "${pkgdir}/usr/lib/retroshare/plugins/libcalendar_plugin.so" + install -D -m 755 \ + "${srcdir}/trunk/plugins/bin/libpuzzle_plugin.so" \ + "${pkgdir}/usr/lib/retroshare/plugins/libpuzzle_plugin.so" + install -D -m 755 \ + "${srcdir}/trunk/plugins/bin/libqcheckers_plugin.so" \ + "${pkgdir}/usr/lib/retroshare/plugins/libqcheckers_plugin.so" + install -D -m 755 \ + "${srcdir}/trunk/plugins/bin/libqdiagram_plugin.so" \ + "${pkgdir}/usr/lib/retroshare/plugins/libqdiagram_plugin.so" + fi + + # Style sheets + cp -r "${srcdir}/trunk/retroshare-gui/src/qss" "$pkgdir/opt/retroshare/" + chmod 755 "$pkgdir/opt/retroshare/qss" + + # Icons + #install -D -m 644 \ + # "${srcdir}/trunk/retroshare-gui/src/gui/images/retrosharelogo1.png" \ + # "${pkgdir}/usr/share/pixmaps/retroshare_blue.png" + install -D -m 644 \ + "${srcdir}/trunk/retroshare-gui/src/gui/images/retrosharelogo2.png" \ + "${pkgdir}/usr/share/pixmaps/retroshare.png" + + # Desktop File + install -D -m 644 \ + "${srcdir}/${pkgname}.desktop" \ + "${pkgdir}/usr/share/applications/${pkgname}.desktop" + + # bdboot (needed to bootstrap the DHT) + install -D -m 644 \ + "${srcdir}/trunk/libbitdht/src/bitdht/bdboot.txt" \ + "${pkgdir}/usr/share/RetroShare/bdboot.txt" +} diff --git a/~xihh/retroshare/retroshare.desktop b/~xihh/retroshare/retroshare.desktop new file mode 100644 index 000000000..0c3f56180 --- /dev/null +++ b/~xihh/retroshare/retroshare.desktop @@ -0,0 +1,11 @@ +[Desktop Entry] +Version=1.0 +Type=Application +Name=RetroShare +GenericName=Sharing Network +Comment=Secure Communication with Your Friends +Icon=/usr/share/pixmaps/retroshare.png +Exec=/usr/bin/retroshare +Terminal=false +StartupNotify=true +Categories=Network;InstantMessaging;FileTransfer;Chat;Email; diff --git a/~xihh/retroshare/retroshare.install b/~xihh/retroshare/retroshare.install new file mode 100644 index 000000000..e406a579e --- /dev/null +++ b/~xihh/retroshare/retroshare.install @@ -0,0 +1,15 @@ +post_install() { + # Update Desktop DB + if [ "x`which update-desktop-database 2>/dev/null`" != "x" ]; then + echo "Update desktop database..." + update-desktop-database -q ; + fi +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/~xihh/retroshare/retroshare.sh b/~xihh/retroshare/retroshare.sh new file mode 100644 index 000000000..1204e497d --- /dev/null +++ b/~xihh/retroshare/retroshare.sh @@ -0,0 +1 @@ +cd /opt/retroshare && ./retroshare $* diff --git a/~xihh/ugene/PKGBUILD b/~xihh/ugene/PKGBUILD new file mode 100644 index 000000000..24ebac2bb --- /dev/null +++ b/~xihh/ugene/PKGBUILD @@ -0,0 +1,29 @@ +# Maintainer: bmpvieira <mail AT bmpvieira DOT com> +pkgname=ugene +pkgver=1.9.3 +pkgrel=2 +pkgdesc="A free cross-platform genome analysis suite." +arch=('i686' 'x86_64' 'mips64el') +url="http://ugene.unipro.ru/" +license=('GPL') +depends=('qt' 'mesa') +source=(${url}downloads/$pkgname-$pkgver.tar.gz) +md5sums=('6ba5ff1bed47d928feb04ec15565c2b6') + +build() { + cd "$srcdir/$pkgname-$pkgver" + case "$CARCH" in + "i686") + qmake PREFIX=/usr -r ;; + "x86_64"|"mips64el") + qmake CONFIG+=x64 PREFIX=/usr -r ;; + esac + make release || return 1 +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make INSTALL_ROOT="$pkgdir" install || return 1 +} + +# vim:set ts=2 sw=2 et: diff --git a/~xihh/viennarna/PKGBUILD b/~xihh/viennarna/PKGBUILD new file mode 100644 index 000000000..37de53d11 --- /dev/null +++ b/~xihh/viennarna/PKGBUILD @@ -0,0 +1,42 @@ +# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $ +# Maintainer: Joshua Ismael Haase Hernandez <joshpar@stravy> +pkgbase='viennarna' +pkgname=('viennarna' 'python2-viennarna') +pkgver=1.8.5 +pkgrel=1 +pkgdesc="RNA Secondary Structure Prediction and Comparison" +arch=('i686' 'x86_64' 'mips64el') +url="http://www.tbi.univie.ac.at/RNA/" +makedepends=('python2' 'swig') +license=('Custom:BSD3') +source=("setup.py" + "http://www.tbi.univie.ac.at/RNA/ViennaRNA-${pkgver}.tar.gz") +md5sums=('d006ef9bb878aea6c184afa89986788e' + 'cd70d63cc1be928a5f0973bd6c211e96') + +build() { + cd "$srcdir/ViennaRNA-$pkgver" + ./configure --prefix=/usr --without-forester + make +} + +package_viennarna() { + cd "$srcdir/ViennaRNA-$pkgver" + make DESTDIR="$pkgdir/" install +} + +package_python2-viennarna() { + depends=('python2') + options=(!emptydirs) + + mkdir -p "$srcdir/ViennaRNA-$pkgver/Python" + cp -r $srcdir/ViennaRNA-$pkgver/Perl/*.i "$srcdir/setup.py" \ + "$srcdir/ViennaRNA-$pkgver/Python" + + cd "$srcdir/ViennaRNA-$pkgver/Python" + + swig -python RNA.i + + python2 setup.py install --root="$pkgdir/" --optimize=1 + +} diff --git a/~xihh/viennarna/setup.py b/~xihh/viennarna/setup.py new file mode 100644 index 000000000..00ac0a28d --- /dev/null +++ b/~xihh/viennarna/setup.py @@ -0,0 +1,31 @@ +#!/usr/bin/env python + +from distutils.core import setup, Extension +import os +import sys + +old_filename = os.path.join(os.path.curdir, "RNA.py") +new_filename = os.path.join(os.path.curdir, "__init__.py") +if os.path.exists(old_filename): + os.rename(old_filename, new_filename) + +extra_link_args = [] +if sys.platform != 'darwin': + extra_link_args.append('-s') + +extension = Extension("_RNA", + ["RNA_wrap.c"], + libraries=['RNA'], + library_dirs=['lib'], + extra_link_args=extra_link_args + ) + +setup(name="RNA", + version="1.8.5", + description="Vienna RNA", + author="Ivo Hofacker, Institute for Theoretical Chemistry, University of Vienna", + url="http://www.tbi.univie.ac.at/RNA/", + package_dir = {'vienna': os.path.curdir}, + packages = ['vienna'], + ext_modules=[extension], + ) |