From e242c9f418786fb9d279119045d881aaec0a7ce4 Mon Sep 17 00:00:00 2001 From: aurelien Date: Tue, 13 Nov 2012 18:43:43 +0100 Subject: bup i686 PKGBUILD + python + git --- pcr/bup/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'pcr') diff --git a/pcr/bup/PKGBUILD b/pcr/bup/PKGBUILD index bdc2abeeb..d45d60961 100644 --- a/pcr/bup/PKGBUILD +++ b/pcr/bup/PKGBUILD @@ -4,6 +4,7 @@ # If you'd like to have documentation, please set the variable below to 1. # This implies installing pandoc, which in turn depends on many Haskell packages. +# Which you can build if you wish. _havedocs=0 pkgname=bup @@ -14,7 +15,7 @@ pkgdesc="Backup tool using git pack files." arch=('i686' 'x86_64') url="http://github.com/apenwarr/bup" license=('GPL') -depends=('python2-fuse' 'par2cmdline') +depends=('python2-fuse' 'par2cmdline' 'python' 'git') [ $_havedocs = 1 ] && makedepends=('haskell-pandoc') source=("https://github.com/apenwarr/${pkgname}/archive/${pkgname}-${_pkgver}.tar.gz") @@ -31,4 +32,4 @@ package() { cd "${srcdir}/${pkgname}-${pkgname}-${_pkgver}" make DESTDIR=$pkgdir install } -md5sums=('9d9af10900d84e2951aa64631ff4860d') + -- cgit v1.2.3 From ae1a1f5bf720924d0274dfc749a8084374443b2f Mon Sep 17 00:00:00 2001 From: aurelien Date: Tue, 13 Nov 2012 21:38:38 +0100 Subject: gnuit i686 --- pcr/gnuit/PKGBUILD | 30 ++++++++++++++++++++++++++++++ pcr/gnuit/gnuit.install | 16 ++++++++++++++++ 2 files changed, 46 insertions(+) create mode 100644 pcr/gnuit/PKGBUILD create mode 100644 pcr/gnuit/gnuit.install (limited to 'pcr') diff --git a/pcr/gnuit/PKGBUILD b/pcr/gnuit/PKGBUILD new file mode 100644 index 000000000..6c1983e32 --- /dev/null +++ b/pcr/gnuit/PKGBUILD @@ -0,0 +1,30 @@ +# Contributor: James Reed +# Contributor: Leslie P. Polzer +# Maintainer : Parabola GNU / Linux-libre Aurélien Desbrières + +pkgname=gnuit +pkgver=4.9.5 +pkgrel=1 +pkgdesc="A set of interactive text-mode tools." +arch=('i686' 'x86_64') +url="http://www.gnu.org/software/gnuit/" +license=('GPL3') +depends=('bash') +install=${pkgname}.install +source=(http://ftp.gnu.org/gnu/gnuit/$pkgname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + ./configure --prefix=/usr --disable-transition + make +} + +check() { + cd "$srcdir/$pkgname-$pkgver" + make -k check +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/gnuit/gnuit.install b/pcr/gnuit/gnuit.install new file mode 100644 index 000000000..e26e79dae --- /dev/null +++ b/pcr/gnuit/gnuit.install @@ -0,0 +1,16 @@ +infodir=usr/share/info +file=gnuit.info + +post_install() { + [[ -x usr/bin/install-info ]] || return 0 + install-info "$infodir/$file.gz" "$infodir/dir" 2> /dev/null +} + +post_upgrade() { + post_install "$1" +} + +pre_remove() { + [[ -x usr/bin/install-info ]] || return 0 + install-info --delete "$infodir/$file.gz" "$infodir/dir" 2> /dev/null +} -- cgit v1.2.3 From 99231837801f9060d2de94fc2353d7f54578d943 Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 09:00:24 +0100 Subject: add django-social-auth python2-oauth2 any --- pcr/django-social-auth/PKGBUILD | 22 ++++++++++++++++++++++ pcr/python2-oauth2/PKGBUILD | 20 ++++++++++++++++++++ 2 files changed, 42 insertions(+) create mode 100644 pcr/django-social-auth/PKGBUILD create mode 100644 pcr/python2-oauth2/PKGBUILD (limited to 'pcr') diff --git a/pcr/django-social-auth/PKGBUILD b/pcr/django-social-auth/PKGBUILD new file mode 100644 index 000000000..379a066a2 --- /dev/null +++ b/pcr/django-social-auth/PKGBUILD @@ -0,0 +1,22 @@ +# Maintainer: Benjamin A. Shelton +# Source: https://github.com/zancarius/archlinux-pkgbuilds +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=django-social-auth +pkgver=0.7.9 +pkgrel=1 +pkgdesc="Social authentication made simple." +arch=(any) +url="http://pypi.python.org/pypi/django-social-auth" +license=(BSD) +depends=(python2 python2-openid python2-oauth2) +makedepends=(python2-distribute) +conflicts=(django-socialauth-git) +source=("http://pypi.python.org/packages/source/d/${pkgname}/${pkgname}-${pkgver}.tar.gz") + +build () { + + cd "${srcdir}/${pkgname}-${pkgver}" + python2 setup.py install --root="${pkgdir}/" --optimize=1 + +} diff --git a/pcr/python2-oauth2/PKGBUILD b/pcr/python2-oauth2/PKGBUILD new file mode 100644 index 000000000..c58e86f9c --- /dev/null +++ b/pcr/python2-oauth2/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: Massimiliano Torromeo +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=python2-oauth2 +pkgver=1.5.211 +pkgrel=1 +_libname=${pkgname/python2-/} +pkgdesc="A fully tested, abstract interface to creating OAuth clients and servers" +arch=(any) +url="https://github.com/simplegeo/python-oauth2" +license=('GPL') +depends=(python2-httplib2) +makedepends=(python2-distribute) +source=(http://pypi.python.org/packages/source/${_libname:0:1}/$_libname/$_libname-$pkgver.tar.gz) + +build() { + cd "$srcdir/$_libname-$pkgver" + python2 setup.py install --root=$pkgdir + rm -rf "$pkgdir"/usr/lib/python*/site-packages/tests +} -- cgit v1.2.3 From 36ce0c1cc1062bb6bdd296955dbf4f20f2eecec4 Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 13:37:05 +0100 Subject: correct license from GPL to GPLv3 + let a comment on AUR --- pcr/ibus-bogo/PKGBUILD | 55 ++++++++++++++++++++++++++++++++++++++++++++++++++ pcr/ibus-bogo/install | 40 ++++++++++++++++++++++++++++++++++++ 2 files changed, 95 insertions(+) create mode 100644 pcr/ibus-bogo/PKGBUILD create mode 100644 pcr/ibus-bogo/install (limited to 'pcr') diff --git a/pcr/ibus-bogo/PKGBUILD b/pcr/ibus-bogo/PKGBUILD new file mode 100644 index 000000000..44652b204 --- /dev/null +++ b/pcr/ibus-bogo/PKGBUILD @@ -0,0 +1,55 @@ +# Contributor: Nguyen Ha Duong +# Contributor: Ngo Trung +# Contributor: Dam Tien Long +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname="ibus-bogo" +pkgver=0.1.0 +pkgrel=1 +pkgdesc=" Bogo Engine for Ibus" + +arch=('i686' 'x86_64') +url="https://github.com/BoGoEngine" +license=('GPLv3') +depends=('ibus' 'python2' 'glibmm' 'python2-gobject') +makedepends=('git' 'cmake' 'gcc' 'python2') +provides=('ibus-bogo') + +_gitpython="https://github.com/BoGoEngine/ibus-bogo-python.git" +_gitpythonname="ibus-bogo-python" + +install=install + +build() { + cd ${srcdir} + + if [ -d ${_gitpythonname} ] ; then + cd ${srcdir}/${_gitpythonname} && git pull + msg "Local ${srcdir}/${_gitpythonname} updated" + + else + git clone ${_gitpython} ${_gitpythonname} + + fi + + + + msg "Starting make..." + + mkdir ${pkgdir}/usr/ + + + # Building ibus-bogo-python + cd ${srcdir}/${_gitpythonname} + if [ -d build ]; then + cd build + else + mkdir build + cd build + fi + cmake -DCMAKE_INSTALL_PREFIX:PATH="${pkgdir}/usr" .. + make + make install + rm ${pkgdir}/usr/share/glib-2.0/schemas/gschemas.compiled + + } diff --git a/pcr/ibus-bogo/install b/pcr/ibus-bogo/install new file mode 100644 index 000000000..0ed8986d0 --- /dev/null +++ b/pcr/ibus-bogo/install @@ -0,0 +1,40 @@ +post_install () { + + glib-compile-schemas /usr/share/glib-2.0/schemas + + } + +pre_upgrade () { + + cd /usr/share + if [ -d ibus-bogo ]; then + rm -rf ibus-bogo/* + fi + + cd /usr/share/ibus/component/ + if [ -f bogo.xml ]; then + rm bogo.xml + fi + + cd /usr/lib/python2.7/site-packages/ + if [ -d BoGo ]; then + rm -rf BoGo/* + fi + + for i in `ls /usr/lib | grep bogo`; do + rm -rf /usr/lib/$i + done + + } + +post_upgrade () { + + glib-compile-schemas /usr/share/glib-2.0/schemas + + } + +post_remove () { + + glib-compile-schemas /usr/share/glib-2.0/schemas + + } -- cgit v1.2.3 From fa450b16a3417043225ea1b0860a87d792ba3110 Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 14:39:56 +0100 Subject: PKGBUILD for any --- pcr/owncloud/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ pcr/owncloud/owncloud.conf | 17 +++++++++++++++++ pcr/owncloud/owncloud.install | 17 +++++++++++++++++ 3 files changed, 69 insertions(+) create mode 100644 pcr/owncloud/PKGBUILD create mode 100644 pcr/owncloud/owncloud.conf create mode 100644 pcr/owncloud/owncloud.install (limited to 'pcr') diff --git a/pcr/owncloud/PKGBUILD b/pcr/owncloud/PKGBUILD new file mode 100644 index 000000000..7861d0917 --- /dev/null +++ b/pcr/owncloud/PKGBUILD @@ -0,0 +1,35 @@ +# Contributor: Antonio Rojas +# Based on owncloud-git PKGBUILD by Alexander Ovsyannikov +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=owncloud +pkgver=4.5.2 +pkgrel=1 +pkgdesc="A cloud server to store your files centrally on a hardware controlled by you" +arch=('any') +url="http://owncloud.org/" +license=('GPL') +depends=('php-gd') +optdepends=("php-apache: to use the Apache web server" "php-sqlite: to use the SQLite database backend" "mysql: to use the MySQL database backend") +makedepends=() +source=("http://owncloud.org/releases/$pkgname-$pkgver.tar.bz2" 'owncloud.conf') +backup=('etc/httpd/conf/extra/owncloud.conf') +install=owncloud.install + +package() { +# install license + install -d $pkgdir/usr/share/licenses/$pkgname + cp $srcdir/$pkgname/COPYING-* $pkgdir/usr/share/licenses/$pkgname + +# install project + install -d $pkgdir/usr/share/webapps/ + cp -a $srcdir/$pkgname $pkgdir/usr/share/webapps/ + chown -R http:http $pkgdir/usr/share/webapps/* + +# install apache .conf file + install -d $pkgdir/etc/httpd/conf/extra + install -m 644 $srcdir/owncloud.conf $pkgdir/etc/httpd/conf/extra/ +} + + + diff --git a/pcr/owncloud/owncloud.conf b/pcr/owncloud/owncloud.conf new file mode 100644 index 000000000..5f050f134 --- /dev/null +++ b/pcr/owncloud/owncloud.conf @@ -0,0 +1,17 @@ + +Alias /owncloud /usr/share/webapps/owncloud/ + + + Options FollowSymlinks + Order allow,deny + AllowOverride all + allow from all + php_admin_value open_basedir "/srv/http/:/home/:/tmp/:/usr/share/pear/:/usr/share/webapps/" + + + ServerAdmin foo@foofarm.com + DocumentRoot /usr/share/webapps/owncloud + ServerName owncloud.foo.com + ErrorLog logs/owncloud.foo.info-error_log + CustomLog logs/owncloud.foo.info-access_log common + \ No newline at end of file diff --git a/pcr/owncloud/owncloud.install b/pcr/owncloud/owncloud.install new file mode 100644 index 000000000..327733f97 --- /dev/null +++ b/pcr/owncloud/owncloud.install @@ -0,0 +1,17 @@ +pkgname=ownCloud + +post_install() { + echo "Add the following lines into /etc/httpd/conf/httpd.conf:" + echo "Include /etc/httpd/conf/extra/owncloud.conf" + echo "LoadModule php5_module modules/libphp5.so" + echo "Include conf/extra/php5_module.conf" + echo + echo "Uncomment extensions xmlrpc.so zip.so gd.so" + echo "and either pdo_sqlite.so sqlite3.so (for the SQLite backend) or mysql.so mysqli.so pdo_mysql.so (for the MySQL backend)" + echo "in /etc/php/php.ini" +} + +post_upgrade() { + echo "owncloud is now installed in /usr/share/webapps/owncloud" + echo "if you want it in /srv/http, add a symlink manually" +} \ No newline at end of file -- cgit v1.2.3 From 39e9df0c2ececf87e4daefb7adae5fa0b4884644 Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 15:33:39 +0100 Subject: + vim-ifdef any --- pcr/vim-ifdef/PKGBUILD | 23 +++++++++++++++++++++++ pcr/vim-ifdef/vimdoc.install | 14 ++++++++++++++ 2 files changed, 37 insertions(+) create mode 100644 pcr/vim-ifdef/PKGBUILD create mode 100644 pcr/vim-ifdef/vimdoc.install (limited to 'pcr') diff --git a/pcr/vim-ifdef/PKGBUILD b/pcr/vim-ifdef/PKGBUILD new file mode 100644 index 000000000..1fb983cb3 --- /dev/null +++ b/pcr/vim-ifdef/PKGBUILD @@ -0,0 +1,23 @@ +# Contributor: Manuel Mendez +# Author: Laszlo Papp +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=vim-ifdef +pkgver=3.2 +_scriptid=16097 +pkgrel=1 +pkgdesc="C Preprocessor Highlighting" +arch=(any) +url="http://www.vim.org/scripts/script.php?script_id=7" +license=('custom') +depends=(vim) +install=vimdoc.install +source=(ifdef.vim::http://www.vim.org/scripts/download_script.php?src_id=${_scriptid}) + +build() { + cd "$srcdir" + install -Dm644 ifdef.vim "$pkgdir"/usr/share/vim/syntax/ifdef.vim + sed -n '/^" Copyright/,/^\s*$/ p' ifdef.vim | + sed -e 's|^" ||' -e '/^\s*$/ d' > extracted-license.txt + install -Dm644 extracted-license.txt "$pkgdir"/usr/share/licenses/$pkgname/license.txt +} diff --git a/pcr/vim-ifdef/vimdoc.install b/pcr/vim-ifdef/vimdoc.install new file mode 100644 index 000000000..61c4b3a81 --- /dev/null +++ b/pcr/vim-ifdef/vimdoc.install @@ -0,0 +1,14 @@ +post_install() { + echo -n "Updating vim help tags..." + /usr/bin/vim --noplugins -u NONE -U NONE \ + --cmd ":helptags /usr/share/vim/doc" --cmd ":q" > /dev/null 2>&1 + echo "done." +} + +post_upgrade() { + post_install $1 +} + +post_remove() { + post_install +} -- cgit v1.2.3 From 75dae7d841b7e33076cca018f34c0d63b07282a1 Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 15:38:29 +0100 Subject: + note --- pcr/note/PKGBUILD | 34 ++++++++++++++++++++++++++++++++++ 1 file changed, 34 insertions(+) create mode 100644 pcr/note/PKGBUILD (limited to 'pcr') diff --git a/pcr/note/PKGBUILD b/pcr/note/PKGBUILD new file mode 100644 index 000000000..f4b2eefe2 --- /dev/null +++ b/pcr/note/PKGBUILD @@ -0,0 +1,34 @@ +# Contributor: David Pflug +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +_author=TLINDEN +_perlmod=note +pkgname=$_perlmod +pkgver=1.3.12 +pkgrel=2 +pkgdesc="A Perl-based note taking application with multiple backends" +arch=('i686' 'x86_64') +url="http://www.daemon.de/NOTE" +license=('GPL') +depends=('perl' 'perl-yaml') +optdepends=( + 'perl-config-general: general db backend' + 'perl-crypt-cbc: encryption support' + 'perl-crypt-pwsafe3: password safe 3 backend' + 'perl-crypt-rijndael: encryption support' + 'perl-dbd-mysql: mysql db backend' + 'perl-dbi: mysql db backend' + ) +source=(http://cpan.perl.org/modules/by-authors/id/T/TL/$_author/$_perlmod-$pkgver.tar.gz) + +build() { + cd "$srcdir/$pkgname-$pkgver" + + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver" + make install DESTDIR="$pkgdir" +} -- cgit v1.2.3 From 3003c34a15ad9b553e8511102aebab469886754f Mon Sep 17 00:00:00 2001 From: aurelien Date: Wed, 14 Nov 2012 15:55:30 +0100 Subject: + dsh + libdshconfig --- pcr/dsh/PKGBUILD | 19 +++++++++++++++++++ pcr/libdshconfig/PKGBUILD | 20 ++++++++++++++++++++ 2 files changed, 39 insertions(+) create mode 100644 pcr/dsh/PKGBUILD create mode 100644 pcr/libdshconfig/PKGBUILD (limited to 'pcr') diff --git a/pcr/dsh/PKGBUILD b/pcr/dsh/PKGBUILD new file mode 100644 index 000000000..605598100 --- /dev/null +++ b/pcr/dsh/PKGBUILD @@ -0,0 +1,19 @@ +# Contributor: SkiltZ +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=dsh +pkgver=0.25.9 +pkgrel=2 +pkgdesc="Distributed shell. Runs command through rsh or ssh on a cluster of machines." +arch=(i686 x86_64) +depends=('libdshconfig') +url="http://www.netfort.gr.jp/~dancer/software/dsh.html.en" +license=('GPL') +source=(http://www.netfort.gr.jp/~dancer/software/downloads/dsh-$pkgver.tar.gz) + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr --sysconfdir='/etc' + make || return 1 + make prefix=$startdir/pkg/usr sysconfdir=$startdir/pkg/etc install + } diff --git a/pcr/libdshconfig/PKGBUILD b/pcr/libdshconfig/PKGBUILD new file mode 100644 index 000000000..adf9d18b2 --- /dev/null +++ b/pcr/libdshconfig/PKGBUILD @@ -0,0 +1,20 @@ +# Contributor: SkiltZ +# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres + +pkgname=libdshconfig +pkgver=0.20.9 +pkgrel=2 +pkgdesc="Library for parsing dsh-style configuration files. Required by dsh and other applications." +arch=(i686 x86_64) +url="http://www.netfort.gr.jp/~dancer/software/dsh.html.en" +license=('GPL') +depends=('glibc') +source=(http://www.netfort.gr.jp/~dancer/software/downloads/libdshconfig-$pkgver.tar.gz) + + +build() { + cd $startdir/src/$pkgname-$pkgver + ./configure --prefix=/usr + make || return 1 + make prefix=$startdir/pkg/usr install + } -- cgit v1.2.3