summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authoraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
committeraurelien <aurelien@cwb.io>2013-09-23 10:33:22 +0200
commit2735c9d273c54b555681f30f5c685998fed7b484 (patch)
treef8172dbea44d1c4751a99a62fb236a14c9d2dc20 /pcr
parentd78a32a6ccb8663a62a093b54e947e2efc840fe0 (diff)
parent97f65e06566f3bb15bc7395624017b8e6ca0d043 (diff)
downloadabslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.gz
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.tar.bz2
abslibre-2735c9d273c54b555681f30f5c685998fed7b484.zip
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r--pcr/ams/PKGBUILD43
-rw-r--r--pcr/ams/ams.desktop9
-rw-r--r--pcr/ams/ams.pngbin8303 -> 0 bytes
-rw-r--r--pcr/amsynth/PKGBUILD19
-rw-r--r--pcr/android-udev/PKGBUILD26
-rw-r--r--pcr/android-udev/android-udev.install12
-rw-r--r--pcr/asterisk/PKGBUILD95
-rw-r--r--pcr/asterisk/asterisk.install15
-rw-r--r--pcr/asterisk/asterisk.logrotated10
-rw-r--r--pcr/asterisk/asterisk.service20
-rw-r--r--pcr/asterisk/asterisk.tmpfile1
-rw-r--r--pcr/audio-entropyd/PKGBUILD29
-rw-r--r--pcr/audio-entropyd/audio-entropyd.service10
-rw-r--r--pcr/bibletime/PKGBUILD39
-rw-r--r--pcr/bibletime/bibletime.install (renamed from pcr/ams/ams.install)10
-rw-r--r--pcr/blender-addon-ogre/PKGBUILD31
-rw-r--r--pcr/chiliproject/PKGBUILD41
-rw-r--r--pcr/chiliproject/chiliproject.install17
-rw-r--r--pcr/cinepaint-lts/PKGBUILD2
-rw-r--r--pcr/cjdns-git/PKGBUILD77
-rw-r--r--pcr/cjdns-git/cjdns-git.install21
-rw-r--r--pcr/clalsadrv/PKGBUILD24
-rw-r--r--pcr/clalsadrv/clalsadrv.install12
-rw-r--r--pcr/clalsadrv/clalsadrv.patch10
-rw-r--r--pcr/cluster-glue/PKGBUILD242
-rw-r--r--pcr/cluster-glue/cluster-glue.install17
-rw-r--r--pcr/clusterit/LICENSE1
-rw-r--r--pcr/clusterit/PKGBUILD42
-rw-r--r--pcr/collada-dom/PKGBUILD18
-rw-r--r--pcr/command-not-found/PKGBUILD47
-rw-r--r--pcr/command-not-found/install3
-rw-r--r--pcr/corosync/PKGBUILD63
-rw-r--r--pcr/cpptest/PKGBUILD24
-rw-r--r--pcr/culmus-latex/PKGBUILD21
-rw-r--r--pcr/culmus-latex/culmus-latex.install22
-rw-r--r--pcr/culmus/PKGBUILD44
-rw-r--r--pcr/culmus/culmus-0.121-fontconfig_fix.patch203
-rw-r--r--pcr/culmus/culmus.install41
-rw-r--r--pcr/darcsver/PKGBUILD26
-rw-r--r--pcr/debootstrap-libre/PKGBUILD53
-rw-r--r--pcr/debootstrap-libre/debootstrap.install (renamed from pcr/debootstrap/debootstrap.install)2
-rw-r--r--pcr/debootstrap-libre/gnewsense (renamed from pcr/debootstrap/metad)11
-rw-r--r--pcr/debootstrap-libre/trisquel (renamed from pcr/debootstrap/trisquel)0
-rw-r--r--pcr/debootstrap/PKGBUILD44
-rw-r--r--pcr/dirt/PKGBUILD23
-rw-r--r--pcr/drumgizmo/PKGBUILD26
-rw-r--r--pcr/drumkv1/PKGBUILD9
-rw-r--r--pcr/drumkv1/drumkv1.install1
-rw-r--r--pcr/econnman/PKGBUILD31
-rw-r--r--pcr/emacs-lucid/PKGBUILD54
-rw-r--r--pcr/emacs-lucid/emacs-24.3-giflib5.patch26
-rw-r--r--pcr/emacs-lucid/emacs.install32
-rw-r--r--pcr/etckeeper/PKGBUILD33
-rw-r--r--pcr/ffmpeg-static/PKGBUILD61
-rw-r--r--pcr/freetuxtv/PKGBUILD24
-rw-r--r--pcr/ganglia/PKGBUILD57
-rw-r--r--pcr/ganglia/ganglia.install24
-rw-r--r--pcr/ganglia/gmetad.service.in11
-rw-r--r--pcr/ganglia/gmond.service.in9
-rw-r--r--pcr/gcc-lts/PKGBUILD299
-rw-r--r--pcr/gcc-lts/gcc-ada.install20
-rw-r--r--pcr/gcc-lts/gcc-fortran.install16
-rw-r--r--pcr/gcc-lts/gcc-go.install20
-rw-r--r--pcr/gcc-lts/gcc-libs.install16
-rw-r--r--pcr/gcc-lts/gcc.install20
-rw-r--r--pcr/gimp-art/PKGBUILD2
-rw-r--r--pcr/gimp-art/gimp-splash-artwork.license6
-rw-r--r--pcr/gitflow/PKGBUILD34
-rw-r--r--pcr/gnuhealth/PKGBUILD79
-rw-r--r--pcr/heartbeat/PKGBUILD202
-rw-r--r--pcr/hiawatha/PKGBUILD117
-rw-r--r--pcr/hiawatha/cdcatalog.xml212
-rw-r--r--pcr/hiawatha/cdcatalog.xslt24
-rw-r--r--pcr/hiawatha/hiawatha.conf.sample114
-rw-r--r--pcr/hiawatha/hiawatha.install37
-rw-r--r--pcr/hiawatha/hiawatha.service16
-rw-r--r--pcr/hiredis/ChangeLog4
-rw-r--r--pcr/hiredis/PKGBUILD33
-rw-r--r--pcr/idjc/PKGBUILD26
-rw-r--r--pcr/imagemagick-srv/PKGBUILD80
-rw-r--r--pcr/imagemagick-srv/perlmagick.rpath.patch11
-rw-r--r--pcr/jalv/PKGBUILD33
-rw-r--r--pcr/kamailio/PKGBUILD36
-rw-r--r--pcr/kervalasquish-hg/PKGBUILD72
-rw-r--r--pcr/kompozer/PKGBUILD72
-rw-r--r--pcr/lcmc/PKGBUILD2
-rw-r--r--pcr/libav-builder/PKGBUILD48
-rw-r--r--pcr/libav/PKGBUILD105
-rw-r--r--pcr/libcgroup/PKGBUILD57
-rw-r--r--pcr/libcgroup/cgconfig.service17
-rw-r--r--pcr/libcgroup/cgrules.service16
-rw-r--r--pcr/libcgroup/libcgroup.install11
-rw-r--r--pcr/libqb/PKGBUILD7
-rw-r--r--pcr/libquvi-scripts-current/PKGBUILD28
-rw-r--r--pcr/librevpn-git/PKGBUILD145
-rw-r--r--pcr/librevpn/PKGBUILD86
-rw-r--r--pcr/libsquish-svn/LICENSE24
-rw-r--r--pcr/libsquish-svn/PKGBUILD35
-rw-r--r--pcr/libwww-hg/PKGBUILD36
-rw-r--r--pcr/lilo/PKGBUILD47
-rw-r--r--pcr/lilo/lilo.conf25
-rw-r--r--pcr/lilo/lilo.install5
-rw-r--r--pcr/maildirproc/PKGBUILD21
-rw-r--r--pcr/maliit-framework/PKGBUILD33
-rwxr-xr-xpcr/maliit-framework/maliit-framework.install30
-rw-r--r--pcr/maliit-plugins/PKGBUILD32
-rw-r--r--pcr/mathjax/PKGBUILD21
-rw-r--r--pcr/mednafen-server/PKGBUILD17
-rw-r--r--pcr/mimms/PKGBUILD30
-rw-r--r--pcr/miniupnpd/PKGBUILD10
-rw-r--r--pcr/mitsuba/PKGBUILD150
-rw-r--r--pcr/mitsuba/blender-addon-mitsuba.install11
-rw-r--r--pcr/monkeysign/PKGBUILD24
-rw-r--r--pcr/monkeysphere/PKGBUILD23
-rw-r--r--pcr/msdl/PKGBUILD29
-rw-r--r--pcr/nevow/PKGBUILD23
-rw-r--r--pcr/nppangband-libre/PKGBUILD33
-rw-r--r--pcr/nppangband-libre/sound.patch241
-rw-r--r--pcr/ocsync/PKGBUILD25
-rw-r--r--pcr/openhpi/PKGBUILD185
-rw-r--r--pcr/openipmi/PKGBUILD177
-rw-r--r--pcr/otf-stix/PKGBUILD37
-rw-r--r--pcr/otf-stix/otf-stix.install16
-rw-r--r--pcr/owncloud-client/PKGBUILD28
-rw-r--r--pcr/owncloud-client/owncloud-client.install2
-rw-r--r--pcr/pacemaker/PKGBUILD222
-rw-r--r--pcr/pandoc/PKGBUILD12
-rw-r--r--pcr/pandoc/SRCBUILD9
-rw-r--r--pcr/par/PKGBUILD38
-rw-r--r--pcr/perl-crypt-dh/PKGBUILD47
-rw-r--r--pcr/perl-geo-ipfree/PKGBUILD28
-rw-r--r--pcr/perl-math-bigint-gmp/PKGBUILD37
-rw-r--r--pcr/perl-net-sftp-foreign/Changes44
-rw-r--r--pcr/perl-net-sftp-foreign/PKGBUILD4
-rw-r--r--pcr/perl-php-serialization/PKGBUILD17
-rw-r--r--pcr/perl-sys-mmap/PKGBUILD16
-rw-r--r--pcr/perl-x10/PKGBUILD65
-rw-r--r--pcr/plowshare/PKGBUILD4
-rw-r--r--pcr/pngcrush/PKGBUILD26
-rw-r--r--pcr/polarssl/PKGBUILD28
-rw-r--r--pcr/pybonjour/PKGBUILD2
-rw-r--r--pcr/pycryptopp/PKGBUILD31
-rw-r--r--pcr/python-blinker/PKGBUILD19
-rw-r--r--pcr/python-feedgenerator/PKGBUILD18
-rw-r--r--pcr/python-pelican/PKGBUILD20
-rw-r--r--pcr/python-pygame-hg/PKGBUILD72
-rw-r--r--pcr/python-sfml2/PKGBUILD37
-rw-r--r--pcr/python-unidecode/PKGBUILD18
-rw-r--r--pcr/python2-e_dbus/PKGBUILD27
-rw-r--r--pcr/python2-ecore/PKGBUILD29
-rw-r--r--pcr/python2-edje/PKGBUILD29
-rw-r--r--pcr/python2-elementary/PKGBUILD29
-rw-r--r--pcr/python2-evas/PKGBUILD28
-rw-r--r--pcr/python2-mock/PKGBUILD24
-rw-r--r--pcr/python2-paramiko/PKGBUILD33
-rw-r--r--pcr/python2-polib/PKGBUILD6
-rw-r--r--pcr/python2-qrcode/PKGBUILD7
-rw-r--r--pcr/python2-qrencode/PKGBUILD29
-rw-r--r--pcr/python2-relatorio/PKGBUILD41
-rw-r--r--pcr/python2-renpy/ChangeLog32
-rw-r--r--pcr/python2-renpy/PKGBUILD68
-rw-r--r--pcr/python2-sfml2/PKGBUILD40
-rw-r--r--pcr/pyutil/PKGBUILD28
-rw-r--r--pcr/qgis/PKGBUILD2
-rw-r--r--pcr/qt-at-spi-git/PKGBUILD45
-rw-r--r--pcr/qt-at-spi-git/qt-accessibility.sh1
-rw-r--r--pcr/qtkeychain/PKGBUILD48
-rw-r--r--pcr/qtkeychain/prefer-qt4.patch17
-rw-r--r--pcr/quackle/PKGBUILD38
-rwxr-xr-xpcr/quackle/quacker.sh3
-rw-r--r--pcr/radiusclient-ng/PKGBUILD31
-rw-r--r--pcr/renpy/ChangeLog30
-rw-r--r--pcr/renpy/PKGBUILD76
-rw-r--r--pcr/renpy/python2.diff8
-rw-r--r--pcr/renpy/renpy.install4
-rw-r--r--pcr/resource-agent/PKGBUILD202
-rw-r--r--pcr/retroshare/PKGBUILD148
-rw-r--r--pcr/retroshare/retroshare.desktop11
-rw-r--r--pcr/retroshare/retroshare.install15
-rw-r--r--pcr/rfc5766-turn-server/PKGBUILD61
-rw-r--r--pcr/rfc5766-turn-server/stun.service10
-rw-r--r--pcr/rfc5766-turn-server/turn.service10
-rw-r--r--pcr/ruby-bundler/PKGBUILD34
-rw-r--r--pcr/ruby-haml/ruby-yard/PKGBUILD36
-rw-r--r--pcr/ruby-headers/PKGBUILD6
-rw-r--r--pcr/ruby1-bundler/PKGBUILD27
-rw-r--r--pcr/ruby1/PKGBUILD84
-rw-r--r--pcr/ruby1/gemrc5
-rw-r--r--pcr/ruby1/ruby.install22
-rw-r--r--pcr/ryzom-hg/PKGBUILD130
-rw-r--r--pcr/ryzom-hg/ryzom.sh9
-rw-r--r--pcr/samplv1/PKGBUILD30
-rw-r--r--pcr/samplv1/samplv1.install13
-rw-r--r--pcr/setbfree/PKGBUILD7
-rw-r--r--pcr/setuptools_darcs/PKGBUILD29
-rw-r--r--pcr/shflags/PKGBUILD31
-rw-r--r--pcr/shocco/PKGBUILD30
-rw-r--r--pcr/sipwitch/PKGBUILD2
-rw-r--r--pcr/spacenav-daemon/PKGBUILD44
-rw-r--r--pcr/spacenav-daemon/spacenav.service (renamed from pcr/spacenavd/spacenav.service)0
-rw-r--r--pcr/spacenav-daemon/spnavrc8
-rw-r--r--pcr/spacenavd/PKGBUILD30
-rw-r--r--pcr/spacenavd/spacenavd38
-rw-r--r--pcr/steadyflow/PKGBUILD33
-rw-r--r--pcr/steadyflow/steadyflow.install17
-rw-r--r--pcr/strongswan/PKGBUILD10
-rw-r--r--pcr/supermodel/PKGBUILD38
-rw-r--r--pcr/supermodel/multiuser.patch107
-rw-r--r--pcr/supermodel/supermodel.install12
-rw-r--r--pcr/supermodel/supermodel.sh12
-rw-r--r--pcr/sword/PKGBUILD68
-rw-r--r--pcr/sword/curl.patch22
-rw-r--r--pcr/sword/multimap.patch39
-rw-r--r--pcr/synthv1/PKGBUILD9
-rw-r--r--pcr/synthv1/synthv1.install1
-rw-r--r--pcr/tahoe-lafs/PKGBUILD30
-rw-r--r--pcr/tahoe-lafs/nodaemon.patch19
-rw-r--r--pcr/tanglet/PKGBUILD28
-rw-r--r--pcr/tanglet/tanglet.install11
-rw-r--r--pcr/textext/LICENSE.txt28
-rw-r--r--pcr/textext/PKGBUILD22
-rw-r--r--pcr/timer_entropyd/PKGBUILD28
-rw-r--r--pcr/timer_entropyd/timer_entropyd.service9
-rw-r--r--pcr/tinc-pre/PKGBUILD42
-rw-r--r--pcr/tinc-pre/tincd@.service10
-rw-r--r--pcr/tomb/PKGBUILD53
-rw-r--r--pcr/tomb/tomb.install13
-rw-r--r--pcr/torque/PKGBUILD2
-rw-r--r--pcr/transmission-remote-cli/PKGBUILD16
-rw-r--r--pcr/triceratops-lv2/PKGBUILD9
-rw-r--r--pcr/trytond-account-invoice/PKGBUILD9
-rw-r--r--pcr/trytond-account-product/PKGBUILD9
-rw-r--r--pcr/trytond-account/PKGBUILD9
-rw-r--r--pcr/trytond-calendar/PKGBUILD9
-rw-r--r--pcr/trytond-company/PKGBUILD9
-rw-r--r--pcr/trytond-country/PKGBUILD9
-rw-r--r--pcr/trytond-currency/PKGBUILD9
-rw-r--r--pcr/trytond-party/PKGBUILD9
-rw-r--r--pcr/trytond-product/PKGBUILD9
-rw-r--r--pcr/trytond-stock-lot/PKGBUILD9
-rw-r--r--pcr/trytond-stock/PKGBUILD9
-rw-r--r--pcr/trytond/PKGBUILD13
-rw-r--r--pcr/ttf-asana-math/PKGBUILD30
-rw-r--r--pcr/ttf-asana-math/ttf-asana-math.install11
-rw-r--r--pcr/video_entropyd/PKGBUILD28
-rw-r--r--pcr/video_entropyd/video_entropyd.service9
-rw-r--r--pcr/xcftools/PKGBUILD2
-rw-r--r--pcr/xf86-input-wizardpen/PKGBUILD2
-rw-r--r--pcr/yafaray-git/PKGBUILD109
-rw-r--r--pcr/yafaray/PKGBUILD112
-rw-r--r--pcr/youtube-dl-current/PKGBUILD32
-rw-r--r--pcr/zbar/PKGBUILD40
-rw-r--r--pcr/zbar/v4l1.patch24
-rw-r--r--pcr/zbase32/PKGBUILD25
-rw-r--r--pcr/zfec/PKGBUILD26
-rw-r--r--pcr/zita-convolver/PKGBUILD36
-rw-r--r--pcr/zoneminder/PKGBUILD232
-rw-r--r--pcr/zoneminder/sysctl-zoneminder.conf3
-rw-r--r--pcr/zoneminder/zoneminder-1.25-fixwarning.patch14
-rw-r--r--pcr/zoneminder/zoneminder-1.25-text.patch12
-rw-r--r--pcr/zoneminder/zoneminder-1.25.0-ffmpeg.patch130
-rw-r--r--pcr/zoneminder/zoneminder-1.25.0-gcc47.patch33
-rw-r--r--pcr/zoneminder/zoneminder-1.25.0-gcrypt.patch86
-rw-r--r--pcr/zoneminder/zoneminder-1.25.0-kernel35.patch21
-rw-r--r--pcr/zoneminder/zoneminder.install49
265 files changed, 6776 insertions, 3140 deletions
diff --git a/pcr/ams/PKGBUILD b/pcr/ams/PKGBUILD
deleted file mode 100644
index 75a5062a7..000000000
--- a/pcr/ams/PKGBUILD
+++ /dev/null
@@ -1,43 +0,0 @@
-# Maintainer : Guest One <theguestone at gmail dot com>
-
-_name=alsamodular
-pkgname=ams
-pkgver=2.0.1
-pkgrel=1
-pkgdesc="Alsa Modular Synth is a realtime modular synthesizer and effect processor"
-arch=('i686')
-url="http://alsamodular.sourceforge.net/"
-license=('GPL')
-depends=('qt4' 'clalsadrv' 'ladspa' 'jack')
-makedepends=('fftw')
-optdepends=('swh-plugins: Steve Harris plugins'
- 'cmt: Computer Music Toolkit plugins')
-install="$pkgname.install"
-source=("http://downloads.sourceforge.net/project/$_name/$_name/$pkgver/$pkgname-$pkgver.tar.bz2"
- "$pkgname.desktop" "$pkgname.png")
-md5sums=('0d41bd5aac066aa98be45fd7ab12d35f'
- 'ffa277cffd52254f0297cbc2f200767e'
- '0349171d5431f1c6e56085f080eb8c68')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # DSO link flag
- export LIBS=" -ldl"
-
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- make DESTDIR=$pkgdir/ install
-
- # desktop file
- install -Dm644 ../$pkgname.desktop \
- "$pkgdir/usr/share/applications/$pkgname.desktop"
-
- # icon
- install -Dm644 ../$pkgname.png \
- "$pkgdir/usr/share/pixmaps/$pkgname.png"
-}
diff --git a/pcr/ams/ams.desktop b/pcr/ams/ams.desktop
deleted file mode 100644
index 4761ab9fc..000000000
--- a/pcr/ams/ams.desktop
+++ /dev/null
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Type=Application
-Name=Alsa Modular Synth
-Comment=Realtime modular synthesizer and effect processor
-Exec=ams
-Icon=ams
-Terminal=false
-Categories=Application;AudioVideo;AudioVideo;Qt;X-Jack;X-Sound;
-StartupNotify=true \ No newline at end of file
diff --git a/pcr/ams/ams.png b/pcr/ams/ams.png
deleted file mode 100644
index d3a8dfe49..000000000
--- a/pcr/ams/ams.png
+++ /dev/null
Binary files differ
diff --git a/pcr/amsynth/PKGBUILD b/pcr/amsynth/PKGBUILD
index 1cd3cccf6..7142d6c9f 100644
--- a/pcr/amsynth/PKGBUILD
+++ b/pcr/amsynth/PKGBUILD
@@ -1,26 +1,25 @@
# Maintainer : Guest One <theguestone at gmail dot com>
pkgname=amsynth
-pkgver=1.3.2
-pkgrel=2
+pkgver=1.4.0
+pkgrel=1
pkgdesc="Analogue Modeling SYNTHesizer"
arch=('i686' 'x86_64')
-url="http://code.google.com/p/amsynth/"
+url="http://code.google.com/p/$pkgname/"
license=('GPL')
-depends=('gtkmm' 'jack' 'liblo')
-makedepends=('desktop-file-utils' 'dssi' 'libtool' 'ladspa')
+depends=('gtkmm' 'jack' 'liblo' 'ladspa')
+makedepends=('desktop-file-utils' 'dssi' 'libtool')
install="$pkgname.install"
-source=("http://amsynth.googlecode.com/files/amSynth-$pkgver.tar.gz")
-md5sums=('991329e433bb8c496f9ca5158faf0bca')
+source=("http://$pkgname.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+md5sums=('9193d334c89996cf44e98422e03318bb')
build() {
- cd "$srcdir/amSynth-$pkgver"
- libtoolize
+ cd "$srcdir/$pkgname-$pkgver"
./configure --prefix=/usr
make
}
package() {
- cd "$srcdir/amSynth-$pkgver"
+ cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
}
diff --git a/pcr/android-udev/PKGBUILD b/pcr/android-udev/PKGBUILD
new file mode 100644
index 000000000..10fe60934
--- /dev/null
+++ b/pcr/android-udev/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): M0Rf30
+# Contributor: marlock
+
+pkgname=android-udev
+pkgver=20130911
+_gitver=8dfd1cd0002d7067d24a2ef89360212f164f3856
+url="https://github.com/M0Rf30/android-udev-rules"
+pkgdesc='Udev rules to for Android devices.'
+
+# The author is the maintainer of the AUR package, where it is listed as GPL;
+# this is the best hint to the license that we have.
+license=('GPL')
+
+pkgrel=1
+arch=('any')
+source=("51-android-$pkgver.rules::https://raw.github.com/M0Rf30/android-udev-rules/$_gitver/51-android.rules")
+depends=('systemd' 'libmtp')
+install='android-udev.install'
+
+package() {
+ cd "$srcdir"
+ install -Dm755 "$srcdir"/51-android-$pkgver.rules "$pkgdir"/usr/lib/udev/rules.d/51-android.rules
+}
+
+md5sums=('1b2033fcf52b1b0ffa807ba90b11fd14')
diff --git a/pcr/android-udev/android-udev.install b/pcr/android-udev/android-udev.install
new file mode 100644
index 000000000..dcb1ebc20
--- /dev/null
+++ b/pcr/android-udev/android-udev.install
@@ -0,0 +1,12 @@
+post_install() {
+ post_upgrade
+ echo "NOTE: To use adb as a normal user you have to add yourself to the adbusers group"
+}
+
+post_upgrade() {
+ { getent group adbusers || /usr/sbin/groupadd adbusers; } &>/dev/null
+}
+
+post_remove() {
+ getent group adbusers &>/dev/null && /usr/sbin/groupdel adbusers
+}
diff --git a/pcr/asterisk/PKGBUILD b/pcr/asterisk/PKGBUILD
new file mode 100644
index 000000000..01bc1ae6e
--- /dev/null
+++ b/pcr/asterisk/PKGBUILD
@@ -0,0 +1,95 @@
+# Maintainer : Xavier Devlamynck <magicrhesus@ouranos.be>
+# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
+# Contributor: Maik Broemme <mbroemme@libmpq.org>
+
+pkgname=asterisk
+pkgver=11.5.0
+pkgrel=2
+pkgdesc="A complete PBX solution"
+arch=('i686' 'x86_64')
+backup=('etc/asterisk/acl.conf' 'etc/asterisk/adsi.conf'
+'etc/asterisk/agents.conf' 'etc/asterisk/alarmreceiver.conf'
+'etc/asterisk/alsa.conf' 'etc/asterisk/amd.conf'
+'etc/asterisk/app_mysql.conf' 'etc/asterisk/app_skel.conf'
+'etc/asterisk/asterisk.conf' 'etc/asterisk/calendar.conf'
+'etc/asterisk/ccss.conf' 'etc/asterisk/cdr.conf'
+'etc/asterisk/cdr_adaptive_odbc.conf' 'etc/asterisk/cdr_custom.conf'
+'etc/asterisk/cdr_manager.conf' 'etc/asterisk/cdr_mysql.conf'
+'etc/asterisk/cdr_odbc.conf' 'etc/asterisk/cdr_pgsql.conf'
+'etc/asterisk/cdr_sqlite3_custom.conf' 'etc/asterisk/cdr_syslog.conf'
+'etc/asterisk/cdr_tds.conf' 'etc/asterisk/cel.conf'
+'etc/asterisk/cel_custom.conf' 'etc/asterisk/cel_odbc.conf'
+'etc/asterisk/cel_pgsql.conf' 'etc/asterisk/cel_sqlite3_custom.conf'
+'etc/asterisk/cel_tds.conf' 'etc/asterisk/chan_dahdi.conf'
+'etc/asterisk/chan_mobile.conf' 'etc/asterisk/cli.conf'
+'etc/asterisk/cli_aliases.conf' 'etc/asterisk/cli_permissions.conf'
+'etc/asterisk/codecs.conf' 'etc/asterisk/confbridge.conf'
+'etc/asterisk/config_test.conf' 'etc/asterisk/console.conf'
+'etc/asterisk/dbsep.conf' 'etc/asterisk/dnsmgr.conf'
+'etc/asterisk/dsp.conf' 'etc/asterisk/dundi.conf'
+'etc/asterisk/enum.conf' 'etc/asterisk/extconfig.conf'
+'etc/asterisk/extensions.conf' 'etc/asterisk/extensions_minivm.conf'
+'etc/asterisk/features.conf' 'etc/asterisk/festival.conf'
+'etc/asterisk/followme.conf' 'etc/asterisk/func_odbc.conf'
+'etc/asterisk/gtalk.conf' 'etc/asterisk/h323.conf'
+'etc/asterisk/http.conf' 'etc/asterisk/iax.conf'
+'etc/asterisk/iaxprov.conf' 'etc/asterisk/indications.conf'
+'etc/asterisk/jabber.conf' 'etc/asterisk/jingle.conf'
+'etc/asterisk/logger.conf' 'etc/asterisk/manager.conf'
+'etc/asterisk/meetme.conf' 'etc/asterisk/mgcp.conf'
+'etc/asterisk/minivm.conf' 'etc/asterisk/misdn.conf'
+'etc/asterisk/modules.conf' 'etc/asterisk/motif.conf'
+'etc/asterisk/musiconhold.conf' 'etc/asterisk/muted.conf'
+'etc/asterisk/ooh323.conf' 'etc/asterisk/osp.conf'
+'etc/asterisk/oss.conf' 'etc/asterisk/phone.conf'
+'etc/asterisk/phoneprov.conf' 'etc/asterisk/queuerules.conf'
+'etc/asterisk/queues.conf' 'etc/asterisk/res_config_mysql.conf'
+'etc/asterisk/res_config_sqlite.conf'
+'etc/asterisk/res_config_sqlite3.conf' 'etc/asterisk/res_corosync.conf'
+'etc/asterisk/res_curl.conf' 'etc/asterisk/res_fax.conf'
+'etc/asterisk/res_ldap.conf' 'etc/asterisk/res_odbc.conf'
+'etc/asterisk/res_pgsql.conf' 'etc/asterisk/res_pktccops.conf'
+'etc/asterisk/res_snmp.conf' 'etc/asterisk/res_stun_monitor.conf'
+'etc/asterisk/rtp.conf' 'etc/asterisk/say.conf' 'etc/asterisk/sip.conf'
+'etc/asterisk/sip_notify.conf' 'etc/asterisk/skinny.conf'
+'etc/asterisk/sla.conf' 'etc/asterisk/smdi.conf'
+'etc/asterisk/udptl.conf' 'etc/asterisk/unistim.conf'
+'etc/asterisk/users.conf' 'etc/asterisk/voicemail.conf'
+'etc/asterisk/vpb.conf' 'etc/asterisk/xmpp.conf')
+url="http://www.asterisk.org"
+license=('GPL')
+depends=('alsa-lib' 'speex' 'popt' 'libvorbis' 'curl')
+makedepends=('postgresql' 'unixodbc' 'sqlite3')
+optdepends=('libpri' 'libss7' 'openr2' 'iksemel' 'radiusclient-ng' 'dahdi')
+source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-${pkgver}.tar.gz \
+ ${pkgname}.service \
+ ${pkgname}.logrotated \
+ ${pkgname}.tmpfile)
+install=${pkgname}.install
+sha256sums=('a82c1ddd9fb1d98f0dab6e0255a127fb7c7eaa687b3d515182458244062b4194'
+ '74e0b278d553499f0c648a6e3d55c0dbb11b0c6dc93a85b020a21eafadb83783'
+ 'caa24cfec5c6b4f8cea385269e39557362acad7e2a552994c3bc24080e3bdd4e'
+ '673c0c55bce8068c297f9cdd389402c2d5d5a25e2cf84732cb071198bd6fa78a')
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
+ make
+}
+
+package(){
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir} install
+ make DESTDIR=${pkgdir} samples
+
+ sed -i -e "s/\/var\/run/\/run/" ${pkgdir}/etc/asterisk/asterisk.conf
+
+ mkdir -p ${pkgdir}/usr/share/doc/asterisk/examples
+ for i in ${pkgdir}/etc/asterisk/*; do install -D -m 644 $i ${pkgdir}/usr/share/doc/asterisk/examples/; done
+
+ mv ${pkgdir}/var/run ${pkgdir}
+
+ install -D -m 644 ${srcdir}/asterisk.logrotated ${pkgdir}/etc/logrotate.d/asterisk
+ install -D -m 644 ${srcdir}/asterisk.service ${pkgdir}/usr/lib/systemd/system/asterisk.service
+ install -D -m 644 ${srcdir}/asterisk.tmpfile ${pkgdir}/usr/lib/tmpfiles.d/asterisk.conf
+ }
diff --git a/pcr/asterisk/asterisk.install b/pcr/asterisk/asterisk.install
new file mode 100644
index 000000000..b7c1a71f7
--- /dev/null
+++ b/pcr/asterisk/asterisk.install
@@ -0,0 +1,15 @@
+post_install() {
+ groupadd -r asterisk
+ useradd -MNr -s /bin/false -d /run/asterisk -g asterisk asterisk && passwd -l asterisk &>/dev/null
+
+ chown -R asterisk:asterisk /etc/asterisk
+ chown -R asterisk:asterisk /var/lib/asterisk
+ chown -R asterisk:asterisk /var/log/asterisk
+ chown -R asterisk:asterisk /run/asterisk
+ chown -R asterisk:asterisk /var/spool/asterisk
+}
+
+post_remove() {
+ userdel asterisk &>/dev/null
+ groupdel asterisk &>/dev/null
+}
diff --git a/pcr/asterisk/asterisk.logrotated b/pcr/asterisk/asterisk.logrotated
new file mode 100644
index 000000000..f03d0acd3
--- /dev/null
+++ b/pcr/asterisk/asterisk.logrotated
@@ -0,0 +1,10 @@
+/var/log/asterisk/*_log /var/log/asterisk/messages {
+ create 640 asterisk asterisk
+ compress
+ missingok
+ notifempty
+ postrotate
+ /usr/sbin/asterisk -rx "logger reload" 1>/dev/null || true
+ endscript
+}
+
diff --git a/pcr/asterisk/asterisk.service b/pcr/asterisk/asterisk.service
new file mode 100644
index 000000000..789a1adda
--- /dev/null
+++ b/pcr/asterisk/asterisk.service
@@ -0,0 +1,20 @@
+[Unit]
+Description=Asterisk PBX and telephony daemon
+Documentation=man:asterisk(8)
+Wants=network.target
+After=network.target
+
+[Service]
+Type=simple
+User=asterisk
+Group=asterisk
+ExecStart=/usr/bin/asterisk -f -C /etc/asterisk/asterisk.conf
+ExecStop=/usr/bin/asterisk -rx 'core stop now'
+ExecReload=/usr/bin/asterisk -rx 'core reload'
+
+# safe_asterisk emulation
+Restart=always
+RestartSec=10
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/asterisk/asterisk.tmpfile b/pcr/asterisk/asterisk.tmpfile
new file mode 100644
index 000000000..6f1042e8a
--- /dev/null
+++ b/pcr/asterisk/asterisk.tmpfile
@@ -0,0 +1 @@
+d /run/asterisk 0755 asterisk asterisk -
diff --git a/pcr/audio-entropyd/PKGBUILD b/pcr/audio-entropyd/PKGBUILD
new file mode 100644
index 000000000..c691c0128
--- /dev/null
+++ b/pcr/audio-entropyd/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: fauno <fauno@parabola.nu>
+pkgname=audio-entropyd
+pkgver=2.0.3
+pkgrel=1
+pkgdesc="Feeds the /dev/random device with entropy-data read from an audio device"
+arch=('i686')
+url="http://vanheusden.com/aed/"
+license=('GPL2')
+groups=('entropy')
+depends=('alsa-lib')
+source=(http://www.vanheusden.com/aed/${pkgname}-${pkgver}.tgz
+ ${pkgname}.service)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -D -m 644 ${srcdir}/${pkgname}.service \
+ ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
+}
+sha1sums=('b788559c6c01e17bb9d314ac2a7411bc30fbb8a2'
+ '6d3ad093176efaa0e5a4fe80113048aa9c4810ce')
+sha256sums=('6fbaf1c4f77e988f4656cd079309d5eb6bd36cbae89c2ee01324c5690adaf3ff'
+ '41704fac32b2c180c1fb6155b902445e2c5bc493da0191180cb3720cd72bd42c')
diff --git a/pcr/audio-entropyd/audio-entropyd.service b/pcr/audio-entropyd/audio-entropyd.service
new file mode 100644
index 000000000..feff7cae4
--- /dev/null
+++ b/pcr/audio-entropyd/audio-entropyd.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Gathering entropy from audio
+After=sound.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/audio-entropyd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/bibletime/PKGBUILD b/pcr/bibletime/PKGBUILD
new file mode 100644
index 000000000..3a2941623
--- /dev/null
+++ b/pcr/bibletime/PKGBUILD
@@ -0,0 +1,39 @@
+# Maintainer: SanskritFritz (gmail)
+# Contributor: Alexander Rødseth <rodseth@gmail.com>
+# Contributor: Tobias T. <OldShatterhand at gmx-topmail dot de>
+
+pkgname=bibletime
+pkgver=2.9.2
+pkgrel=10
+pkgdesc="Bible study tool for KDE4"
+arch=('x86_64' 'i686')
+url="http://www.bibletime.info/"
+license=('GPL2')
+depends=('sword' 'openssl' 'clucene' 'qtwebkit')
+makedepends=('cmake')
+install=$pkgname.install
+source=("http://sourceforge.net/projects/$pkgname/files/$pkgname-$pkgver.tar.bz2")
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ CXXFLAGS+=" -fpermissive"
+
+# rm CMakeCache.txt
+ cmake \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DQT_QMAKE_EXECUTABLE=qmake4 \
+ -DBT_FORCE_USE_QT4=TRUE \
+ "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
+sha256sums=('393c77419b0514645cf2417f52d37bdbd604f8eeb37e76355e14c38d896093c8')
diff --git a/pcr/ams/ams.install b/pcr/bibletime/bibletime.install
index e111ef946..ad97d7bab 100644
--- a/pcr/ams/ams.install
+++ b/pcr/bibletime/bibletime.install
@@ -1,11 +1,13 @@
-post_install() {
+post_upgrade() {
update-desktop-database -q
}
-post_upgrade() {
- post_install
+post_install() {
+ post_upgrade
}
post_remove() {
- post_install
+ post_upgrade
}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/blender-addon-ogre/PKGBUILD b/pcr/blender-addon-ogre/PKGBUILD
new file mode 100644
index 000000000..4baf8ca39
--- /dev/null
+++ b/pcr/blender-addon-ogre/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+_bldname=blender
+_bldver=2.68
+_bldep=9
+
+_pkgname=ogre
+pkgname=$_bldname-addon-$_pkgname
+pkgver=0.6.0
+pkgrel=2
+pkgdesc="${_bldname}2$_pkgname: A addon for the ${_bldname^} which allows export to ${_pkgname^}3D formats (scene/mesh/material/skeleton) (built for the $_bldname-libre package)"
+arch=any
+url=https://code.google.com/p/${_bldname}2$_pkgname
+license=LGPL2.1
+depends=(
+ "$_bldname-libre>=$_bldep:$_bldver"
+ "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))"
+)
+source=https://${_bldname}2$_pkgname.googlecode.com/files/${_bldname}2$_pkgname-$pkgver.zip
+sha512sums=15609a6dc3f5901ec59193acb6944017cc426fa12ce658715006ba781b6c39a09f38a64c858b28f7e662dff50eccf06ec6ef6efc22e0d2876c6c77fb18c04712
+
+prepare() {
+ msg 'renaming wrong OS name'
+ sed -i 's|Linux|GNU/Linux|' io_export_${_pkgname}DotScene.py
+}
+
+package() {
+ cd $srcdir
+ a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname
+ install -vd $a && cp -va io_export_${_pkgname}DotScene.py $a/__init__.py
+}
diff --git a/pcr/chiliproject/PKGBUILD b/pcr/chiliproject/PKGBUILD
deleted file mode 100644
index 4f933934a..000000000
--- a/pcr/chiliproject/PKGBUILD
+++ /dev/null
@@ -1,41 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=chiliproject
-pkgver=3.3.0
-pkgrel=1
-pkgdesc="Chiliproject is a fork of Redmine, a flexible project management web application written using Ruby on Rails."
-arch=('any')
-url="https://www.chiliproject.org"
-license=('GPL2')
-depends=('ruby' 'ruby-bundler' 'mysql' 'libxml2' 'libxslt' 'imagemagick' 'pkg-config')
-provides=('chiliproject')
-backup=('var/lib/chiliproject/config/database.yml'
- 'var/lib/chiliproject/config/configuration.yml')
-makedepends=('glibc')
-optdepends=('git: Git repository browsing'
- 'subversion>=1.3.0: Subversion repository browsing'
- 'darcs: Darcs repository browsing'
- 'bzr: Bazaar repository browsing'
- 'mercurial: Mercurial repository browsing')
-options=()
-install=chiliproject.install
-source=("https://www.chiliproject.org/attachments/download/360/chiliproject-$pkgver.tar.gz")
-md5sums=('4fa4a825cf0cd91d7495180a19bc4c11')
-
-build() {
- return 0
-}
-
-package() {
- cd "$srcdir/chiliproject-$pkgver"
-
- # install in /var/lib
- _instdir="$pkgdir/var/lib/chiliproject"
- mkdir -p ${_instdir}
- cp -ra . ${_instdir}
-
- # create required directories
- mkdir -p "${_instdir}/public/plugin_assets"
-}
-
-# vim:set ts=4 sw=4 et:
diff --git a/pcr/chiliproject/chiliproject.install b/pcr/chiliproject/chiliproject.install
deleted file mode 100644
index cb4622f09..000000000
--- a/pcr/chiliproject/chiliproject.install
+++ /dev/null
@@ -1,17 +0,0 @@
-adjust_perms(){
- chown -R http:http "/var/lib/chiliproject" 1>/dev/null
- for dir in /var/lib/chiliproject/{files,log,tmp,public/plugin_assets}; do
- chown -R http:http "$dir" 1>/dev/null
- chmod -R 755 "$dir" 1>/dev/null
- done
-}
-
-post_install() {
- adjust_perms
- echo 'take a look at https://wiki.archlinux.org/index.php?title=Chiliproject for further setup instructions.'
-}
-
-post_upgrade() {
- adjust_perms
- echo 'take a look at https://wiki.archlinux.org/index.php?title=Chiliproject for further setup instructions.'
-}
diff --git a/pcr/cinepaint-lts/PKGBUILD b/pcr/cinepaint-lts/PKGBUILD
index c680ac904..da085729f 100644
--- a/pcr/cinepaint-lts/PKGBUILD
+++ b/pcr/cinepaint-lts/PKGBUILD
@@ -1,7 +1,7 @@
# $Id$
# Maintainer: tobias [tobias.archlinux.org]
# Contributor: tobias [tobias.justdreams.de]
-# Maintainer (Parabola): Márcio Silva <coadde@adinet.com.uy>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=cinepaint-lts
pkgver=1.0
diff --git a/pcr/cjdns-git/PKGBUILD b/pcr/cjdns-git/PKGBUILD
new file mode 100644
index 000000000..2e9646006
--- /dev/null
+++ b/pcr/cjdns-git/PKGBUILD
@@ -0,0 +1,77 @@
+# Maintainer: Prurigro
+# Contributor: Prurigro
+# Contributor: Werecat
+# Contributor: Xyne
+
+_pkgname=cjdns
+pkgname=${_pkgname}-git
+pkgver=0.3.1473
+pkgrel=1
+pkgdesc="A routing engine designed for security, scalability, speed and ease of use."
+url="https://github.com/cjdelisle/${_pkgname}"
+license=('GPL3')
+makedepends=('git' 'cmake' 'python2')
+optdepends=('python2: required by the python cjdnsadmin utilities')
+arch=('i686' 'x86_64' 'armv6h' 'armv7h')
+install=${pkgname}.install
+backup=("etc/default/${_pkgname}")
+
+source=("git://github.com/cjdelisle/${_pkgname}.git#branch=master")
+sha256sums=('SKIP')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --always | sed 's|-|.|g;s|[^\.]*\.||;s|\.[^\.]*$||'
+}
+
+prepare() {
+ cd "${srcdir}/${_pkgname}"
+
+ ## Clean previous builds and resync
+ ./clean
+
+ mkdir build
+
+ ## Set occurances of python to python2 due to a naming conflict between Debian and Archlinux
+ find "${srcdir}/${_pkgname}"/contrib/python \
+ -type f \
+ -exec sed -i 's@/usr/bin/python\s*$@/usr/bin/python2@;s@/usr/bin/env\ python@/usr/bin/env\ python2@' {} \+
+}
+
+build() {
+ cd "${srcdir}"/${_pkgname}
+
+ ## Disable Arch's generic makepkg optimizations (set via /etc/makepkg.conf) in favour of those specified by cjdns
+ unset MAKEFLAGS
+# unset CFLAGS
+# unset CPPFLAGS
+
+ ## Build using the ./do script
+ export NO_DEBUG=1
+ cd build
+ cmake ..
+ make
+}
+
+## Package creation helper functions
+_package_cjdns() {
+ install -D -m755 "${srcdir}"/${_pkgname}/build/admin/angel/cjdroute2 "${pkgdir}"/usr/bin/cjdroute
+ install -D -m755 "${srcdir}"/${_pkgname}/build/admin/angel/${_pkgname} "${pkgdir}"/usr/bin/${_pkgname}
+ install -D -m644 "${srcdir}"/${_pkgname}/contrib/systemd/${_pkgname}.service "${pkgdir}"/usr/lib/systemd/system/${_pkgname}.service
+ install -D -m755 "${srcdir}"/${_pkgname}/contrib/bash/i_am_stupid.sh "${pkgdir}"/usr/bin/cjdns-recoverconfig
+}
+_package_pyutils() {
+ install -D -m644 "${srcdir}"/${_pkgname}/contrib/python/cjdnsadmin/cjdnsadmin.py "${pkgdir}"/usr/lib/$(python2-config --libs | grep -o -E python2.*)/cjdnsadmin/cjdnsadmin.py
+ install -D -m644 "${srcdir}"/${_pkgname}/contrib/python/cjdnsadmin/bencode.py "${pkgdir}"/usr/lib/$(python2-config --libs | grep -o -E python2.*)/cjdnsadmin/bencode.py
+ install -D -m644 "${srcdir}"/${_pkgname}/contrib/python/cjdnsadmin/__init__.py "${pkgdir}"/usr/lib/$(python2-config --libs | grep -o -E python2.*)/cjdnsadmin/__init__.py
+ install -D -m755 "${srcdir}"/${_pkgname}/contrib/python/cjdnslog "${pkgdir}"/usr/bin/cjdns-log
+ install -D -m755 "${srcdir}"/${_pkgname}/contrib/python/dumptable "${pkgdir}"/usr/bin/cjdns-dumptable
+ install -D -m755 "${srcdir}"/${_pkgname}/contrib/python/findnodes "${pkgdir}"/usr/bin/cjdns-findnodes
+ install -D -m755 "${srcdir}"/${_pkgname}/contrib/python/pingAll.py "${pkgdir}"/usr/bin/cjdns-pingAll
+}
+
+## Package creation function: comment out a helper function to remove its associated functionality
+package() {
+ _package_cjdns ## Core binaries (cjdns and cjdroute), a systemd service file and a config recovery script written in bash
+ _package_pyutils ## Miscellaneous python2-based cjdns admin port utility scripts and libraries
+}
diff --git a/pcr/cjdns-git/cjdns-git.install b/pcr/cjdns-git/cjdns-git.install
new file mode 100644
index 000000000..5e9e1a64c
--- /dev/null
+++ b/pcr/cjdns-git/cjdns-git.install
@@ -0,0 +1,21 @@
+post_install() {
+ if [ $(ps -A | ps -A | grep -cE "systemd$") = 1 ]; then
+ systemctl --system daemon-reload
+ fi
+
+ if [ -z $(type -P python2) ]; then
+ echo "You don't currently have python2 installed. It isn't required to use cjdns, but some scripts have been included in the package that won't function without"
+ fi
+
+ echo "By default, the cjdns configuration file is expected to be located @ /etc/cjdroute.conf"
+}
+
+post_upgrade() {
+ if [ $(ps -A | ps -A | grep -cE "systemd$") = 1 ]; then
+ systemctl --system daemon-reload
+ fi
+
+ if [ $(grep -c cjdns /etc/passwd) = 1 ]; then
+ echo "The user 'cjdns' has been detected on your system but is no longer required by this package; if it was installed by a previous version of this package, it can now be safely deleted."
+ fi
+}
diff --git a/pcr/clalsadrv/PKGBUILD b/pcr/clalsadrv/PKGBUILD
deleted file mode 100644
index bd7f89c05..000000000
--- a/pcr/clalsadrv/PKGBUILD
+++ /dev/null
@@ -1,24 +0,0 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
-# patch taken from https://aur.archlinux.org/packages/clalsadrv/
-pkgname=clalsadrv
-pkgver=2.0.0
-pkgrel=1
-pkgdesc="Audio library for aeolus, aliki, ams, jaaa and japa."
-arch=('i686')
-url="http://kokkinizita.linuxaudio.org/linuxaudio/index.html"
-license=('GPL')
-depends=('alsa-lib')
-install=${pkgname}.install
-source=(http://kokkinizita.linuxaudio.org/linuxaudio/downloads/${pkgname}-${pkgver}.tar.bz2 ${pkgname}.patch)
-md5sums=('be123e1701e4b6c6300907df949bd71c'
- 'cc5a4abbc49590dfbbf942ebfd966b70')
-build() {
- cd "${pkgname}-${pkgver}/libs"
- patch < ${srcdir}/${pkgname}.patch
- make DESTDIR=${pkgdir} PREFIX=/usr LIBDIR=lib
-}
-
-package(){
- cd "${pkgname}-${pkgver}/libs"
- make DESTDIR=${pkgdir} PREFIX=/usr LIBDIR=lib install
-}
diff --git a/pcr/clalsadrv/clalsadrv.install b/pcr/clalsadrv/clalsadrv.install
deleted file mode 100644
index 21117d5a8..000000000
--- a/pcr/clalsadrv/clalsadrv.install
+++ /dev/null
@@ -1,12 +0,0 @@
-post_install() {
-ldconfig
-echo "==> ran ldconfig"
-}
-
-post_upgrade() {
-post_install
-}
-
-post_remove() {
-post_install
-}
diff --git a/pcr/clalsadrv/clalsadrv.patch b/pcr/clalsadrv/clalsadrv.patch
deleted file mode 100644
index 5081f42fb..000000000
--- a/pcr/clalsadrv/clalsadrv.patch
+++ /dev/null
@@ -1,10 +0,0 @@
---- Makefile.orig 2010-03-15 12:58:40.862423046 +0100
-+++ Makefile 2010-03-15 12:59:01.578587306 +0100
-@@ -47,7 +47,6 @@
- install: $(CLALSADRV_MIN)
- install -Dm 644 $(CLALSADRV_H) $(DESTDIR)$(PREFIX)/include/$(CLALSADRV_H)
- install -Dm 755 $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_MIN)
-- /sbin/ldconfig $(PREFIX)/$(LIBDIR)
- ln -sf $(CLALSADRV_MIN) $(DESTDIR)$(PREFIX)/$(LIBDIR)/$(CLALSADRV_SO)
-
- clean:
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD
deleted file mode 100644
index 684efe7c2..000000000
--- a/pcr/cluster-glue/PKGBUILD
+++ /dev/null
@@ -1,242 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=cluster-glue
-_pkgname1=${pkgname::7}
-_pkgname2=${pkgname:8}
-_pkgname=${_pkgname1^}_${_pkgname2^}
-pkgver=1.0.11
-pkgrel=11
-pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack (Linux-HA)'
-arch=(
- i686
- x86_64
- mips64el
-)
-group=linux-ha
-url=http://$group.org/wiki/$_pkgname
-license=(
- GPL2
- LGPL2.1
-)
-depends=(
- curl
- dbus-glib
- glib2
- libaio
- libesmtp
- libltdl
- libnet
- libxml2
- net-snmp
- openhpi
- openipmi
- openssh
- python
- util-linux
- #vacm !!Is VA-Cluster Manager abandonware? - http://vacm.sourceforge.net/ - ver 2.0.5a - 2001/10/03!!
-)
-optdepends=net-tools
-makedepends=(
- help2man
- libxslt
- lynx
- net-tools
- openssh
- valgrind
- w3m
-)
-options=(!libtool)
-provides=(ha-$_pkgname2)
-conflicts=ha-$_pkgname2
-replaces=ha-$_pkgname2
-install=$pkgname.install
-source=http://hg.$group.org/$_pkgname2/archive/$_pkgname2-$pkgver.tar.bz2
-sha512sums=35ac8ac555c39f24c11e3a768cc50eba051fe617edf4cdc0429dac73f45a472f144cfe6ec5faff575606f2b04ff76a2f732556d848b61410c2683d93ba928413
-
-prepare() {
- export _CLUSTER_USER=hacluster
- export _CLUSTER_GROUP=haclient
- _DGID=666
- _DUID=666
-
- #verify the cluster user and group
- if ! getent group $_CLUSTER_GROUP >/dev/null;then
- msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER GROUP, EXECUTE AS ROOT:'
- echo -e "# groupadd -r -g $_DGID $_CLUSTER_GROUP\n"
- _EXITCODE=1
- fi
- if ! getent passwd $_CLUSTER_USER >/dev/null;then
- msg 'BEFORE COMPILE THIS SOFTWARE YOU MUST CREATE A CLUSTER USER, EXECUTE AS ROOT:'
- echo -e "# useradd -r -g $_CLUSTER_GROUP -u $_DUID -d /var/lib/heartbeat/cores/$_CLUSTER_USER -s /sbin/nologin -c \"cluster user\" $_CLUSTER_USER\n"
- _EXITCODE=1
- fi
- if [[ $_EXITCODE -eq 1 ]] ;then
- return 1
- fi
-
- cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s| -O0||;
- s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
- s|${localstatedir}/lock ${localstatedir}/spool/lock ${localstatedir}/spool/locks ${localstatedir}/lock|/run/lock|;
- s|/sbin:/usr/sbin:/usr/local/sbin:/usr/local/bin|/usr/bin|;
- ' configure.ac
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
-
- # fixing path
- sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
- sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
- sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
- #sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
- #sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
- sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
- sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
-
- # remove Open Source term
- sed -i 's|Open Source / ||;
- s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
- s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
- sed -i 's|OpenSource / ||;
- s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
- s|freesoftware.org|opensource.org|;
- s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
- s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
- s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- ' $(grep -ril opensource)
-
- # remove Linux term
- sed -i 's|Linux,|GNU/Linux,|;
- s|Linux and|GNU/Linux and|;
- s|Linux distro|GNU/Linux distro|;
- s|Linux distribution|GNU/Linux distribution|;
- s|Linux machine|GNU/Linux machine|;
- s|Linux Only|GNU/Linux Only|;
- s|Linux only|GNU/Linux only|;
- s|Linux operating|GNU/Linux operating|;
- s|Linux OS|GNU/Linux OS|;
- s|Linux platform|GNU/Linux platform|;
- s|Linux software|GNU/Linux software|;
- s|Linux specific|GNU/Linux specific|;
- s|Linux system|GNU/Linux system|;
- s|Linux will|GNU/Linux will|;
- s|# Linux$|# GNU/Linux|;
- s|# Linux.$|# GNU/Linux.|;
- s|* Linux$|* GNU/Linux|;
- s|* Linux.$|* GNU/Linux.|;
- s|// Linux$|// GNU/Linux|;
- s|// Linux.$|// GNU/Linux.|;
- s|, Linux|, GNU/Linux|;
- s|As Linux|As GNU/Linux|;
- s|as Linux|as GNU/Linux|;
- s|And Linux|And GNU/Linux|;
- s|and Linux|and GNU/Linux|;
- s|Be Linux|Be GNU/Linux|;
- s|be Linux|be GNU/Linux|;
- s|Because Linux|Because GNU/Linux|;
- s|because Linux|because GNU/Linux|;
- s|e.g. Linux|e.g. GNU/Linux|;
- s|For Linux|For GNU/Linux|;
- s|for Linux|for GNU/Linux|;
- s|In Linux|In GNU/Linux|;
- s|in Linux|in GNU/Linux|;
- s|Like Linux|Like GNU/Linux|;
- s|like Linux|like GNU/Linux|;
- s|non-Linux|non GNU/Linux|;
- s|Of Linux|Of GNU/Linux|;
- s|of Linux|of GNU/Linux|;
- s|On Linux|On GNU/Linux|;
- s|on Linux|on GNU/Linux|;
- s|OS type: Linux|OS type: GNU/Linux|;
- s|Other Linux|Other GNU/Linux|;
- s|other Linux|other GNU/Linux|;
- s|The Linux|The GNU/Linux|;
- s|the Linux|the GNU/Linux|;
- s|Typically Linux|Typically GNU/Linux|;
- s|typically Linux|typically GNU/Linux|;
- s|To Linux|To GNU/Linux|;
- s|to Linux|to GNU/Linux|;
- s|Under Linux|Under GNU/Linux|;
- s|under Linux|under GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
-}
-
-build() {
- cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --disable-ansi\
- --disable-fatal-warnings\
- --disable-static\
- --enable-doc\
- --enable-libnet\
- --enable-upstart\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sbindir=/usr/bin\
- --sysconfdir=/etc\
- --with-daemon-group=haclient\
- --with-daemon-user=hacluster\
- --with-ocf-root=/usr/lib/ocf
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/Reusable-${_pkgname1^}-Components-$_pkgname2--$_pkgname2-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- rm $pkgdir/etc/rc.d/logd && rmdir $pkgdir/etc{/rc.d,}
-
- install -d $pkgdir/usr/lib/systemd/system
- echo '[Unit]' > $pkgdir/usr/lib/systemd/system/ha_log.service
- echo 'Description=Startup script logd service' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo 'Requires=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo '' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo '[Service]' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo 'ExecStart=/usr/lib/heartbeat/ha_logd' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo '' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo '[Install]' >> $pkgdir/usr/lib/systemd/system/ha_log.service
- echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/ha_log.service
-
- msg 'AFTER COMPILE THIS SOFTWARE YOU MUST DELETE A CLUSTER USER AND A CLUSTER GROUP, EXECUTE AS ROOT:'
- echo -e "# userdel $_CLUSTER_USER"
- echo -e "# groupdel $_CLUSTER_GROUP"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/cluster-glue/cluster-glue.install b/pcr/cluster-glue/cluster-glue.install
deleted file mode 100644
index 05e2160d3..000000000
--- a/pcr/cluster-glue/cluster-glue.install
+++ /dev/null
@@ -1,17 +0,0 @@
-_CLUSTER_USER=hacluster
-_CLUSTER_GROUP=haclient
-_DGID=666
-_DUID=666
-
-pre_install() {
- getent group $_CLUSTER_GROUP >/dev/null || groupadd -r -g $_DGID $_CLUSTER_GROUP
- getent passwd $_CLUSTER_USER >/dev/null || useradd -r -g $_CLUSTER_GROUP -u $_DUID -d /var/lib/heartbeat/cores/hacluster -s /sbin/nologin -c 'cluster user' $_CLUSTER_USER
-}
-
-post_install() {
- echo -e 'Now you must install ha-resourceagent, ha-heartbeat and ha-pacemaker'
-}
-post_remove() {
- echo -e "Deleting user $_CLUSTER_USER and group $_CLUSTER_GROUP"
- userdel $_CLUSTER_USER && groupdel $_CLUSTER_GROUP
-}
diff --git a/pcr/clusterit/LICENSE b/pcr/clusterit/LICENSE
deleted file mode 100644
index b4aaeb75c..000000000
--- a/pcr/clusterit/LICENSE
+++ /dev/null
@@ -1 +0,0 @@
-ClusterIt is Free software, with a standard BSD-style License. You are encouraged to download this, work with it, enhance it, or whatever suits your needs. Redistribution can take place if the license stays intact.
diff --git a/pcr/clusterit/PKGBUILD b/pcr/clusterit/PKGBUILD
deleted file mode 100644
index c325a003b..000000000
--- a/pcr/clusterit/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=clusterit
-pkgver=2.5
-pkgrel=1
-pkgdesc='Tools to make a cluster of computers'
-arch=(
- i686
- x86_64
- mips64el
-)
-license=BSD
-url=http://www.sourceforge.net/projects/$pkgname
-depends=(
- libx11
- sh
-)
-conflicts=synce-librapi
-source=(
- http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
- LICENSE
-)
-sha512sums=(
- 7efb0aa55c9581151ec73405d4e69df2d4258ee4c6b254a29bab95a7b90c4d645387db0d7c884eda6d7a861ce25bea27136df4af1990e5401a1b2a3d035999fc
- 65884310aad16ed4d10da24e87016710f12cb9dd8e8a6531d702a3194a18fa6b6a58b340cd98193f24c964d402b5ded1f19c9bb008d6c3957a2409d622da22d8
-)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH ./configure --prefix=/usr
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- install -d $pkgdir/usr/share/licenses/$pkgname
- install -Dm644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname
-}
-
-
diff --git a/pcr/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD
index ebcc90448..7fceb3678 100644
--- a/pcr/collada-dom/PKGBUILD
+++ b/pcr/collada-dom/PKGBUILD
@@ -2,14 +2,14 @@
pkgname=collada-dom
pkgver=2.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="An API that provides a C++ object representation of a ${pkgname::7} XML instance document"
url=http://sourceforge.net/projects/$pkgname
license=MIT
arch=(
- i686
- x86_64
mips64el
+ x86_64
+ i686
)
depends=(
boost-libs
@@ -26,23 +26,23 @@ sha512sums=4c8cdc159acc89564b46615a0bc73a5ba84a1a5aa41d38661cd0e33a705ce5fd032e9
prepare() {
cd $srcdir/$pkgname-$pkgver-libsrc
- [[ -d build ]] && rm -r build
- mkdir build
+ [[ -d build ]] && rm -vr build
+ mkdir -v build
}
build() {
cd $srcdir/$pkgname-$pkgver-libsrc/build
- setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr
- setarch $CARCH make
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ make
}
package() {
cd $srcdir/$pkgname-$pkgver-libsrc/build
- setarch $CARCH make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir install
a=$pkgdir/usr/share/licenses/$pkgname
- install -d $a && cp -a ../{dom/license.txt,License_Folder/license_e.txt} $a
+ install -vd $a && cp -va ../{dom/license.txt,License_Folder/license_e.txt} $a
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/command-not-found/PKGBUILD b/pcr/command-not-found/PKGBUILD
index d43b73c0e..e2131a3d5 100644
--- a/pcr/command-not-found/PKGBUILD
+++ b/pcr/command-not-found/PKGBUILD
@@ -1,47 +1,32 @@
+# Maintainer: Aurelien Desbrieres <aurelien@cwb.io>
+# Contributor: Diogo Leal <estranho@diogoleal.com>
+# Contributor: Luke Shumaker <lukeshu@sbcglobal.net>
# Contributor: Matthias Maennich <arch@maennich.net>
-# Maintainer : Parabola GNU / Linux-libre Aurelien Desbrieres <aurelien@cwb.io>
pkgname=command-not-found
-pkgver=0.4.4
+pkgver=0.4.5
pkgrel=1
pkgdesc="In case a command could not be found this utility searches for packages containing this or a similar command (bash,zsh)."
arch=('i686' 'x86_64')
url="http://github.com/metti/command-not-found"
-license=('GPL')
+license=('GPL3')
depends=('boost-libs' 'tdb' 'libarchive' 'wget')
-makedepends=('boost' 'tdb' 'cmake' 'git')
-source=('install')
-md5sums=('2ea3c216fb0b7f8449f0225ece33210c')
+makedepends=('boost' 'cmake')
install='install'
-_gitrepo="https://github.com/metti/$pkgname.git"
+source=("libre://$pkgname-$pkgver.tar.gz")
+mksource=("$pkgname-$pkgver::git+https://github.com/metti/$pkgname.git#tag=v${pkgver}")
+mkmd5sums=('SKIP')
build() {
- cd $srcdir
- msg "Connecting to the GIT server ..."
-
- if [[ -d $srcdir/$pkgname ]] ; then
- cd $pkgname
- git fetch origin
- else
- git clone $_gitrepo
- cd $pkgname
- fi
-
- git checkout v$pkgver
-
- msg "GIT checkout done"
-
- mkdir -p $srcdir/build
- cd $srcdir/build
-
- cmake -D CMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="" $srcdir/$pkgname/src
- make
-
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake -D CMAKE_BUILD_TYPE=Release -D CMAKE_INSTALL_PREFIX="" src
+ make
}
package(){
- cd $srcdir/build
-
- make DESTDIR=$pkgdir install
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir" install
}
+
+md5sums=('c055522251b2c58b9c6e0d0f0df481c0')
diff --git a/pcr/command-not-found/install b/pcr/command-not-found/install
index 26f49fa50..50e601258 100644
--- a/pcr/command-not-found/install
+++ b/pcr/command-not-found/install
@@ -7,8 +7,7 @@ post_upgrade() {
}
pre_remove() {
- rm -rf /var/lib/cnf/*.db
- rm -rf /var/lib/cnf/*.tdb
+ rm -f /var/lib/cnf/*.{db,tbd}
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/corosync/PKGBUILD b/pcr/corosync/PKGBUILD
deleted file mode 100644
index e176cb112..000000000
--- a/pcr/corosync/PKGBUILD
+++ /dev/null
@@ -1,63 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=corosync
-_pkgflag=lts
-pkgver=2.3.0
-pkgrel=2
-pkgdesc='Cluster engine for nodal communication systems with additional features for implementing high availability within applications'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://www.$pkgname.org
-license=BSD
-depends=(
- libqb
- libstatgrab
- net-snmp
- nss
-)
-makedepends=doxygen
-conflicts=$pkgname-$_pkgflag
-options=(!libtool)
-source=http://$pkgname.org/download/$pkgname-$pkgver.tar.gz
-sha512sums=cd2ff5182f0d4827a10d50a211aa073e3d544bf7b98f9b0c834243c0d2cd5446d7950021cb1a21fc16f4951c8b2acf4b75c0b0c72d815b7d67dcba71623d2e51
-
-prepare() {
- cd $srcdir/$pkgname-$pkgver
-}
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH ./configure --prefix=/usr\
- --datarootdir=/usr/share\
- --disable-coverage\
- --disable-fatal-warnings\
- --disable-rdma\
- --disable-static\
- --enable-augeas\
- --enable-dbus\
- --enable-monitoring\
- --enable-qdevices\
- --enable-secure-build\
- --enable-shared\
- --enable-snmp\
- --enable-systemd\
- --enable-testagents\
- --enable-watchdog\
- --enable-xmlconf\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc\
- --with-initddir=/etc/rc.d\
- --with-systemddir=/usr/lib/systemd/system
- setarch $CARCH make
-}
-
-package () {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/cpptest/PKGBUILD b/pcr/cpptest/PKGBUILD
new file mode 100644
index 000000000..df08feb00
--- /dev/null
+++ b/pcr/cpptest/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
+# Contributor (aur): Juan Pablo Gonzalez Tognarelli <lord_jotape@yahoo.com.ar>
+pkgname=cpptest
+pkgver=1.1.2
+pkgrel=2
+pkgdesc="CppTest is a portable and powerful unit testing framework for handling automated tests in C++. with focus on usability and extendability."
+url="http://cpptest.sourceforge.net/"
+depends=(gcc-libs)
+makedepends=(pkgconfig)
+source=(http://downloads.sourceforge.net/sourceforge/cpptest/$pkgname-$pkgver.tar.gz)
+md5sums=('79b9bff371d182f11a3235969f84ccb6')
+arch=('i686' 'x86_64')
+license="LGPL"
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+ ./configure --prefix=/usr
+ make || return 1
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+ make DESTDIR=${pkgdir} install
+}
diff --git a/pcr/culmus-latex/PKGBUILD b/pcr/culmus-latex/PKGBUILD
new file mode 100644
index 000000000..8562f2fb5
--- /dev/null
+++ b/pcr/culmus-latex/PKGBUILD
@@ -0,0 +1,21 @@
+#Contributor (Arch): Dmitry Batenkov <dima dot batenkov at gmail dot com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/culmus-latex/
+
+pkgname=culmus-latex
+pkgver=0.7.1
+pkgrel=1
+pkgdesc="Culmus Hebrew fonts for LaTeX"
+arch=('i686' 'x86_64')
+url="http://ivritex.sourceforge.net/"
+depends=('culmus' 'texlive-core' 'texlive-bin')
+install=culmus-latex.install
+license=('GPL')
+source=(http://downloads.sourceforge.net/project/ivritex/culmus-latex/culmus-latex-0.7/culmus-latex-0.7-r1.tar.gz)
+md5sums=('0c6f6d5b9e7a0d6ba59fc55680ed48a5')
+
+build(){
+ cd ${srcdir}/${pkgname}-0.7-r1 || return 1
+ mkdir -p $pkgdir/usr/share/texmf || return 1
+ make DESTDIR=$pkgdir pkginstall
+}
diff --git a/pcr/culmus-latex/culmus-latex.install b/pcr/culmus-latex/culmus-latex.install
new file mode 100644
index 000000000..4c6529865
--- /dev/null
+++ b/pcr/culmus-latex/culmus-latex.install
@@ -0,0 +1,22 @@
+
+## arg 1: the new package version
+#pre_install() {
+ # do something here
+#}
+
+## arg 1: the new package version
+post_install() {
+ mktexlsr
+ updmap-sys --enable Map=culmus.map
+}
+
+post_upgrade() {
+ mktexlsr
+ updmap-sys --enable Map=culmus.map
+}
+
+## arg 1: the old package version
+post_remove() {
+ mktexlsr
+ updmap-sys --disable culmus.map
+}
diff --git a/pcr/culmus/PKGBUILD b/pcr/culmus/PKGBUILD
new file mode 100644
index 000000000..3d1a5f567
--- /dev/null
+++ b/pcr/culmus/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer (Arch): Ivan Puntiy <ivan.puntiy at gmail>
+# Contributor (Arch): <francois.archlinux.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/culmus/
+
+pkgname=culmus
+pkgver=0.130
+pkgrel=1
+pkgdesc="A collection of Type1 and TrueType Hebrew fonts"
+arch=('any')
+url="http://culmus.sourceforge.net"
+license=('GPL2')
+depends=('fontconfig' 'xorg-fonts-alias' 'xorg-font-utils' 'xorg-fonts-encodings')
+install=${pkgname}.install
+source=(
+ "http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
+ "$pkgname-0.121-fontconfig_fix.patch"
+)
+md5sums=('58e672defde4caeae42017cd2f9436a6'
+ '6db715a072d9602a54c69a7e31a6428f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # fix due to fontconfig 2.10.1 update - patch mailed to upstream
+ patch culmus.conf "$srcdir/$pkgname-0.121-fontconfig_fix.patch"
+}
+
+package() {
+ # install Type1 fonts
+ install -d ${pkgdir}/usr/share/fonts/Type1
+ install -m644 ${srcdir}/culmus-$pkgver/*.{afm,pfa} \
+ ${pkgdir}/usr/share/fonts/Type1
+
+ # install ttf fonts
+ install -d ${pkgdir}/usr/share/fonts/TTF
+ install -m644 ${srcdir}/culmus-$pkgver/*.ttf \
+ ${pkgdir}/usr/share/fonts/TTF
+
+ # install provided config file with priority 61
+ install -d ${pkgdir}/etc/fonts/conf.avail/
+ install -m644 ${srcdir}/culmus-$pkgver/culmus.conf \
+ ${pkgdir}/etc/fonts/conf.avail/61-culmus.conf
+}
diff --git a/pcr/culmus/culmus-0.121-fontconfig_fix.patch b/pcr/culmus/culmus-0.121-fontconfig_fix.patch
new file mode 100644
index 000000000..d303cbb09
--- /dev/null
+++ b/pcr/culmus/culmus-0.121-fontconfig_fix.patch
@@ -0,0 +1,203 @@
+--- culmus.conf.original 2011-12-20 22:21:43.509488367 +0200
++++ culmus.conf.fixed 2012-09-09 21:14:42.401273058 +0300
+@@ -8,6 +8,17 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Adii</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>David CLM</string>
++ </edit>
++ <edit mode="assign" binding="same" name="slant" >
++ <const>italic</const>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Adii-Light</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -30,6 +41,14 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Stam</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Stam Ashkenaz CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Stam1</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -40,6 +59,14 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Hodes</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Hadasim CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Monotype Hadassah</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -50,7 +77,23 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Aharoni</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Aharoni CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Aharoni</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Aharoni CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman-Aharoni</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -61,7 +104,23 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>FrankRuehl</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Frank Ruehl CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Frank</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Frank Ruehl CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Frnew</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -72,7 +131,23 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>David</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>David CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>David Transparent</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>David CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman David</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -83,8 +158,32 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Fixed Miriam Transparent</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam Mono CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Myamfix</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam Mono CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman-CourMir</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam Mono CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Miriam Fixed</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -95,8 +194,32 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Miryam</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Levenim MT</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Miriam</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Miriam CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Miriam Transparent</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
+@@ -107,6 +230,14 @@
+ <match target="pattern" >
+ <test name="family" >
+ <string>Guttman Drogolin</string>
++ </test>
++ <edit mode="append" binding="same" name="family" >
++ <string>Drugulin CLM</string>
++ </edit>
++ </match>
++
++ <match target="pattern" >
++ <test name="family" >
+ <string>Guttman Vilna</string>
+ </test>
+ <edit mode="append" binding="same" name="family" >
diff --git a/pcr/culmus/culmus.install b/pcr/culmus/culmus.install
new file mode 100644
index 000000000..1376ca5ce
--- /dev/null
+++ b/pcr/culmus/culmus.install
@@ -0,0 +1,41 @@
+configs=('61-culmus.conf')
+
+update_fontcache() {
+ fc-cache -fs
+ mkfontscale /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/Type1
+ mkfontscale /usr/share/fonts/TTF
+ mkfontdir /usr/share/fonts/TTF
+}
+
+post_install() {
+ pushd /etc/fonts/conf.d > /dev/null
+ for config in "${configs[@]}"; do
+ ln -sf ../conf.avail/${config} .
+ done
+ popd > /dev/null
+
+ update_fontcache
+}
+
+post_upgrade() {
+ if [ "`vercmp 0.102-1 $2`" != "-1" ] || [ ! -L /etc/fonts/conf.d/61-culmus.conf ]; then
+ pushd /etc/fonts/conf.d > /dev/null
+ for config in "${configs[@]}"; do
+ ln -sf ../conf.avail/${config} .
+ done
+ popd > /dev/null
+ fi
+
+ update_fontcache
+}
+
+post_remove() {
+ pushd /etc/fonts/conf.d > /dev/null
+ for config in "${configs[@]}"; do
+ rm -f ${config}
+ done
+ popd > /dev/null
+
+ update_fontcache
+}
diff --git a/pcr/darcsver/PKGBUILD b/pcr/darcsver/PKGBUILD
new file mode 100644
index 000000000..e93250680
--- /dev/null
+++ b/pcr/darcsver/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Andreas B. Wagner <AndreasBWagner@pointfree.net>
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=darcsver
+pkgver=1.7.4
+pkgrel=2
+pkgdesc="generate a version number from darcs history"
+arch=('any')
+url='http://allmydata.org/trac/darcsver'
+license=('BSD')
+depends=('python2')
+makedepends=('python2-mock' 'python2-distribute')
+source=( http://pypi.python.org/packages/source/d/$pkgname/$pkgname-$pkgver.tar.gz )
+md5sums=('e38aecd1343ab8447888a479ab12cb59')
+
+build(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+
+ install -Dm644 darcsver.egg-info/PKG-INFO $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/pcr/debootstrap-libre/PKGBUILD b/pcr/debootstrap-libre/PKGBUILD
new file mode 100644
index 000000000..b4ea8c09f
--- /dev/null
+++ b/pcr/debootstrap-libre/PKGBUILD
@@ -0,0 +1,53 @@
+# Maintainer: André Silva <emulatorman@lavabit.com>
+
+_pkgname=debootstrap
+pkgname=debootstrap-libre
+pkgver=1.0.53
+pkgrel=3.1
+pkgdesc="A tool used to create a gNewSense or Trisquel base system from scratch, without requiring the availability of dpkg or apt (Debian support removed)"
+arch=('any')
+license=('GPL')
+url="http://packages.debian.org/sid/debootstrap"
+depends=('binutils' 'wget')
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname=$pkgver
+source=("http://ftp.debian.org/debian/pool/main/d/${_pkgname}/${_pkgname}_${pkgver}_all.deb"
+ 'gnewsense'
+ 'trisquel')
+install="debootstrap.install"
+md5sums=('1ea9c87d54b6cf9349d602406bf43e5a'
+ '13978bdd1d877a0dd2c3c874ecd54f03'
+ 'b020aa8426e70a6024c8e76312c17d78')
+
+package(){
+ tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}/"
+ # remove Debian scripts
+ rm -v "${pkgdir}/usr/share/debootstrap/scripts"/*
+ # move the executables to /usr/bin
+ mkdir -p ${pkgdir}/usr/bin
+ mv "${pkgdir}/usr/sbin"/* "${pkgdir}/usr/bin/"
+ rmdir "${pkgdir}/usr/sbin"
+ # patch the path to use gNewSense or Trisquel defaults (prevents error in chrooted environment)
+ sed -i 's|export PATH|export PATH="/usr/local/bin:/usr/bin:/bin:/usr/local/sbin:/usr/sbin:/sbin:/opt/java/jre/bin:/usr/bin/vendor_perl:/usr/bin/core_perl"|' ${pkgdir}/usr/bin/debootstrap
+ # doesn't work with gpg 2.x, patch to point to gpg1v
+ sed 's/gpgv/gpg1v/g;' -i "${pkgdir}/usr/bin/debootstrap" "${pkgdir}/usr/share/debootstrap/functions"
+
+ # add gNewSense script
+ install -m644 gnewsense "$pkgdir/usr/share/debootstrap/scripts"
+
+ # create gNewSense symlinks
+ ln -s gnewsense "$pkgdir/usr/share/debootstrap/scripts/parkes"
+
+ # add Trisquel script
+ install -m644 trisquel "$pkgdir/usr/share/debootstrap/scripts"
+
+ # create Trisquel symlinks
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/awen"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/brigantia"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dagda"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dwyn"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/robur"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/slaine"
+ ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/taranis"
+}
diff --git a/pcr/debootstrap/debootstrap.install b/pcr/debootstrap-libre/debootstrap.install
index 85a99f160..3da2f1d22 100644
--- a/pcr/debootstrap/debootstrap.install
+++ b/pcr/debootstrap-libre/debootstrap.install
@@ -1,7 +1,7 @@
post_install() {
if [ "$(uname -m)" = "x86_64" ]; then
darch="amd64"
- elif [ "$(uname -m)" = "i386" ]; then
+ elif [ "$(uname -m)" = "i686" ]; then
darch="i386"
else
darch="mips64el"
diff --git a/pcr/debootstrap/metad b/pcr/debootstrap-libre/gnewsense
index 8d14c0ed9..884ac88a0 100644
--- a/pcr/debootstrap/metad
+++ b/pcr/debootstrap-libre/gnewsense
@@ -1,13 +1,4 @@
-case $SUITE in
- parkes|metad)
- default_mirror http://archive.gnewsense.org/gnewsense-three/gnewsense/
- ;;
- deltah)
- default_mirror http://archive.gnewsense.org/gnewsense
- ;;
-esac
-
-
+default_mirror http://archive.gnewsense.org/gnewsense-three/gnewsense
mirror_style release
download_style apt
finddebs_style from-indices
diff --git a/pcr/debootstrap/trisquel b/pcr/debootstrap-libre/trisquel
index 7efa062f9..7efa062f9 100644
--- a/pcr/debootstrap/trisquel
+++ b/pcr/debootstrap-libre/trisquel
diff --git a/pcr/debootstrap/PKGBUILD b/pcr/debootstrap/PKGBUILD
deleted file mode 100644
index e46a7d0b1..000000000
--- a/pcr/debootstrap/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# $Id$
-# Maintainer: André Silva <emulatorman@lavabit.com>
-
-pkgname=debootstrap
-pkgver=1.0.48
-pkgrel=1
-pkgdesc="A tool used to create a gNewSense or Trisquel base system from scratch, without requiring the availability of dpkg or apt"
-arch=('any')
-license=('GPL')
-url="http://packages.debian.org/sid/debootstrap"
-depends=('wget')
-source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver}_all.deb"
- 'metad'
- 'trisquel')
-install="debootstrap.install"
-md5sums=('f75ae43204ed273c7a95c12a5a2f715a'
- '4425300ca68d60fb60a6d699e153a519'
- 'b020aa8426e70a6024c8e76312c17d78')
-
-package(){
- tar -xzf "$srcdir/data.tar.gz" -C "$pkgdir/"
-
- # doesn't work with gpg 2.x, patch to point to gpg1v
- sed 's/gpgv/gpg1v/g;' -i "$pkgdir/usr/sbin/debootstrap" "$pkgdir/usr/share/debootstrap/functions"
-
- # add gNewSense script
- install -m644 metad "$pkgdir/usr/share/debootstrap/scripts"
-
- # create gNewSense symlinks
- ln -s metad "$pkgdir/usr/share/debootstrap/scripts/deltah"
- ln -s metad "$pkgdir/usr/share/debootstrap/scripts/parkes"
-
- # add Trisquel script
- install -m644 trisquel "$pkgdir/usr/share/debootstrap/scripts"
-
- # create Trisquel symlinks
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/awen"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/brigantia"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dagda"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/dwyn"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/robur"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/slaine"
- ln -s trisquel "$pkgdir/usr/share/debootstrap/scripts/taranis"
-}
diff --git a/pcr/dirt/PKGBUILD b/pcr/dirt/PKGBUILD
new file mode 100644
index 000000000..d269b41f8
--- /dev/null
+++ b/pcr/dirt/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: fauno <fauno@parabola.nu>
+pkgname=dirt
+pkgver=1.0.0a28
+pkgrel=1
+pkgdesc="Multi-platform IRC proxy that adds FiSH-compatible chat encryption (including DH1080 key exchanges) to any IRC client"
+arch=('i686')
+url="http://dirtirc.sourceforge.net/"
+license=('GPL2')
+depends=('openssl')
+source=(http://ufpr.dl.sourceforge.net/project/dirtirc/Dirt/1.0.0%20alpha%2028/${pkgname}-${pkgver}-source.tar.gz)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make unix
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -D -m 755 dirtirc ${pkgdir}/usr/bin/dirtirc
+}
+sha1sums=('0f7f407f5a3cb0f083b95d81849efde90177e7d2')
+sha256sums=('c1e8bc212a54739ba45f10a6f157f1a80052c913863e6624c434d7335fc2721b')
diff --git a/pcr/drumgizmo/PKGBUILD b/pcr/drumgizmo/PKGBUILD
new file mode 100644
index 000000000..d423a6f82
--- /dev/null
+++ b/pcr/drumgizmo/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+
+pkgname=drumgizmo
+pkgver=0.9.3
+pkgrel=1
+pkgdesc="A drum LV2 plugin and stand-alone application"
+arch=('i686' 'x86_64')
+url="http://www.drumgizmo.org/"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('lv2' 'libsmf' 'libao' 'jack' 'qt4')
+options=('!libtool')
+source=("${url}releases/$pkgname-$pkgver/$pkgname-$pkgver.tar.gz")
+md5sums=('a0aeef33f74792afd528bec21b8d0f6b')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr \
+ --enable-static=no
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/drumkv1/PKGBUILD b/pcr/drumkv1/PKGBUILD
index 4a55012f6..2f2841e11 100644
--- a/pcr/drumkv1/PKGBUILD
+++ b/pcr/drumkv1/PKGBUILD
@@ -1,17 +1,16 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
pkgname=drumkv1
-pkgver=0.3.3
+pkgver=0.3.4
pkgrel=1
pkgdesc="An old-school drum-kit sampler"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://$pkgname.sourceforge.net/$pkgname-index.html"
license=('GPL')
groups=('lv2-plugins')
-depends=('jack' 'liblo' 'lv2' 'qt4')
+depends=('jack' 'liblo' 'lv2' 'qt4' 'shared-mime-info')
install="$pkgname.install"
source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('d7c7270fdd01552b74eead36dd638ea4')
+md5sums=('d94b9c5b21bfdbf0f57cf811273b1fcd')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/pcr/drumkv1/drumkv1.install b/pcr/drumkv1/drumkv1.install
index 029294d67..ec1a84bbb 100644
--- a/pcr/drumkv1/drumkv1.install
+++ b/pcr/drumkv1/drumkv1.install
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-mime-database usr/share/mime
update-desktop-database -q
}
diff --git a/pcr/econnman/PKGBUILD b/pcr/econnman/PKGBUILD
new file mode 100644
index 000000000..a6419abc0
--- /dev/null
+++ b/pcr/econnman/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=econnman
+pkgver=1
+pkgrel=1
+pkgdesc="Enlightenment ConnMan user interface"
+arch=('any')
+url="http://www.enlightenment.org"
+license=('LGPL3')
+depends=('python2-elementary' 'python2-e_dbus' 'python2-edje' 'python2-ecore' 'connman')
+conflicts=('econnman-svn')
+source=("http://packages.profusion.mobi/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('cec2bd0aaf9d8975dd69ac6b5a4e638e')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ sed -i 's:/usr/bin/python:/usr/bin/python2:g' econnman-bin.in
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+}
+
diff --git a/pcr/emacs-lucid/PKGBUILD b/pcr/emacs-lucid/PKGBUILD
new file mode 100644
index 000000000..f88607e0a
--- /dev/null
+++ b/pcr/emacs-lucid/PKGBUILD
@@ -0,0 +1,54 @@
+# $Id: PKGBUILD 192474 2013-08-12 20:25:41Z eric $
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (Arch): Juergen Hoetzel <juergen@archlinux.org>
+# Contributor: Renchi Raju <renchi@green.tam.uiuc.edu>
+
+_pkgname=emacs
+pkgname=emacs-lucid
+pkgver=24.3
+pkgrel=4
+pkgdesc="The extensible, customizable, self-documenting real-time display editor"
+arch=('i686' 'x86_64')
+url="http://www.gnu.org/software/emacs/emacs.html"
+license=('GPL3')
+depends=('librsvg' 'gpm' 'giflib' 'libxpm' 'libotf' 'm17n-lib' 'hicolor-icon-theme' 'gconf' 'desktop-file-utils' 'alsa-lib' 'imagemagick')
+install=emacs.install
+source=(ftp://ftp.gnu.org/gnu/emacs/$_pkgname-$pkgver.tar.xz{,.sig}
+ emacs-24.3-giflib5.patch)
+md5sums=('ea9ed000ca165280265aabb55b9afbd7'
+ 'SKIP'
+ '560cdf463299e059c5fadf474bcba218')
+
+pkgdesc+=", with the Lucid X11 toolkit"
+provides=("$_pkgname=$pkgver")
+conflicts=("$_pkgname")
+
+prepare() {
+ cd $_pkgname-$pkgver
+ patch -Np0 -i ../emacs-24.3-giflib5.patch
+}
+
+build() {
+ cd "$srcdir"/$_pkgname-$pkgver
+ ac_cv_lib_gif_EGifPutExtensionLast=yes ./configure --prefix=/usr --sysconfdir=/etc --libexecdir=/usr/lib \
+ --localstatedir=/var --with-x-toolkit=lucid --with-xft
+ make
+}
+
+package() {
+ cd "$srcdir"/$_pkgname-$pkgver
+ make DESTDIR="$pkgdir" install
+
+ # remove conflict with ctags package
+ mv "$pkgdir"/usr/bin/{ctags,ctags.emacs}
+ mv "$pkgdir"/usr/share/man/man1/{ctags.1.gz,ctags.emacs.1}
+ # remove conflict with texinfo
+ rm "$pkgdir"/usr/share/info/info.info.gz
+ # fix user/root permissions on usr/share files
+ find "$pkgdir"/usr/share/emacs/$pkgver -exec chown root:root {} \;
+ # fix perms on /var/games
+ chmod 775 "$pkgdir"/var/games
+ chmod 775 "$pkgdir"/var/games/emacs
+ chmod 664 "$pkgdir"/var/games/emacs/*
+ chown -R root:games "$pkgdir"/var/games
+}
diff --git a/pcr/emacs-lucid/emacs-24.3-giflib5.patch b/pcr/emacs-lucid/emacs-24.3-giflib5.patch
new file mode 100644
index 000000000..b8571abb2
--- /dev/null
+++ b/pcr/emacs-lucid/emacs-24.3-giflib5.patch
@@ -0,0 +1,26 @@
+--- src/image.c
++++ src/image.c 2013-05-21 15:49:41.945819346 +0000
+@@ -7192,7 +7192,11 @@ gif_load (struct frame *f, struct image
+ }
+
+ /* Open the GIF file. */
++#if GIFLIB_MAJOR < 5
+ gif = fn_DGifOpenFileName (SSDATA (file));
++#else
++ gif = fn_DGifOpenFileName (SSDATA (file), NULL);
++#endif
+ if (gif == NULL)
+ {
+ image_error ("Cannot open `%s'", file, Qnil);
+@@ -7213,7 +7217,11 @@ gif_load (struct frame *f, struct image
+ memsrc.len = SBYTES (specified_data);
+ memsrc.index = 0;
+
++#if GIFLIB_MAJOR < 5
+ gif = fn_DGifOpen (&memsrc, gif_read_from_memory);
++#else
++ gif = fn_DGifOpen (&memsrc, gif_read_from_memory, NULL);
++#endif
+ if (!gif)
+ {
+ image_error ("Cannot open memory source `%s'", img->spec, Qnil);
diff --git a/pcr/emacs-lucid/emacs.install b/pcr/emacs-lucid/emacs.install
new file mode 100644
index 000000000..6712f44ba
--- /dev/null
+++ b/pcr/emacs-lucid/emacs.install
@@ -0,0 +1,32 @@
+ICON_PATH=usr/share/icons/hicolor
+INFO_DIR=usr/share/info
+
+INFO_FILES=(ada-mode auth autotype bovine calc ccmode cl dbus dired-x ebrowse
+ede ediff edt efaq eieio eintr elisp emacs emacs-gnutls emacs-mime epa erc ert eshell eudc flymake
+forms gnus htmlfontify idlwave mairix-el message mh-e newsticker nxml-mode
+org pcl-cvs pgg rcirc reftex remember sasl sc semantic ses sieve smtpmail
+speedbar srecode tramp url vip viper widget wisent woman)
+
+post_install() {
+ gtk-update-icon-cache -q -t -f ${ICON_PATH}
+ update-desktop-database -q
+
+ [[ -x usr/bin/install-info ]] || return 0
+ for f in ${INFO_FILES[@]}; do
+ install-info ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gtk-update-icon-cache -q -t -f ${ICON_PATH}
+ update-desktop-database -q
+
+ [[ -x usr/bin/install-info ]] || return 0
+ for f in ${INFO_FILES[@]}; do
+ install-info --delete ${INFO_DIR}/$f.info.gz ${INFO_DIR}/dir 2> /dev/null
+ done
+}
diff --git a/pcr/etckeeper/PKGBUILD b/pcr/etckeeper/PKGBUILD
index 163c320db..09a5d4d15 100644
--- a/pcr/etckeeper/PKGBUILD
+++ b/pcr/etckeeper/PKGBUILD
@@ -1,13 +1,12 @@
-# Maintainer (Parabola): Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
# Maintainer (AUR): Buce <dmbuce@gmail.com>
# Contributor: Danie Roux <accounts@danieroux.com>
-
-# This requires makepkg newer than 4.0.3, which at this time means from git
+# Contributor: Diogo Leal <estranho@diogoleal.com>
pkgname=etckeeper
-pkgver=0.64
-pkgdesc="collection of tools to let /etc be stored in a git, hg, bzr or darcs repository."
-url="http://kitenet.net/~joey/code/etckeeper/"
+pkgver=1.4
+pkgdesc="Collection of tools to let /etc be stored in a git, hg, bzr or darcs repository."
+url="http://joeyh.name/code/etckeeper/"
license=('GPL2')
pkgrel=1
@@ -16,28 +15,28 @@ depends=('inetutils' 'python2')
makedepends=('bzr') # bzr must be there at compile time to have bzr support
optdepends=('git' 'hg' 'bzr' 'darcs')
backup=(etc/etckeeper/etckeeper.conf)
-source=("etckeeper-$pkgver::git://git.kitenet.net/etckeeper#tag=${pkgver}"
- etckeeper-pacman.patch
- etckeeper-archlinux.conf)
+source=("libre://$pkgname-$pkgver.tar.gz" $pkgname-pacman.patch $pkgname-archlinux.conf)
+
+mksource=("$pkgname-$pkgver::git://git.kitenet.net/$pkgname#tag=${pkgver}")
+mkmd5sums=('SKIP')
build() {
- cd "$srcdir/etckeeper-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- # add pacman support to list-to `list-installed`
- patch -p0 -i "$srcdir/etckeeper-pacman.patch"
+ # add pacman support to `list-installed`
+ patch -p0 -i "${srcdir}/${pkgname}-pacman.patch"
# use python2
sed -i 's@^#!/usr/bin/python$@&2@' etckeeper-bzr/__init__.py
-
- make CONFFILE="$srcdir/etckeeper-archlinux.conf" build
+ make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" build
}
package() {
- cd "$srcdir/etckeeper-$pkgver"
+ cd "${srcdir}/${pkgname}-${pkgver}"
- make CONFFILE="$srcdir/etckeeper-archlinux.conf" DESTDIR=$pkgdir install
+ make CONFFILE="${srcdir}/${pkgname}-archlinux.conf" DESTDIR="$pkgdir" install
}
-md5sums=('SKIP'
+md5sums=('74be692fdb2d3352324e9332a270635d'
'f1f00bf9331d1ef7f29b0ac29cdfcbda'
'99d8d2838f49fa0f2f21c9e37948100d')
diff --git a/pcr/ffmpeg-static/PKGBUILD b/pcr/ffmpeg-static/PKGBUILD
deleted file mode 100644
index 1e5634fb6..000000000
--- a/pcr/ffmpeg-static/PKGBUILD
+++ /dev/null
@@ -1,61 +0,0 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor: Paul Mattal <paul@archlinux.org>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=ffmpeg-static
-pkgver=1.0
-pkgrel=2
-epoch=1
-pkgdesc='Complete and free Internet live audio and video broadcasting solution for GNU/Linux, with static library'
-arch=(i686 x86_64 mips64el)
-url=http://${pkgname%-static}.org/
-license=(GPL)
-depends=(alsa-lib bzip2 gsm lame libpulse libtheora libva libvorbis libvpx opencore-amr openjpeg rtmpdump schroedinger sdl speex v4l-utils x264 xvidcore zlib)
-makedepends=(yasm libvdpau)
-provides=(${pkgname%-static})
-conflicts=(${pkgname%-static})
-source=(http://${pkgname%-static}.org/releases/${pkgname%-static}-$pkgver.tar.bz2)
-md5sums=(3ed526cea20c1bffb5a37f7730f710bd)
-
-build() {
- cd ${pkgname%-static}-$pkgver
-
- ./configure \
- --prefix=/usr \
- --enable-libmp3lame \
- --enable-libvorbis \
- --enable-libxvid \
- --enable-libx264 \
- --enable-libvpx \
- --enable-libtheora \
- --enable-libgsm \
- --enable-libspeex \
- --enable-postproc \
- --enable-shared \
- --enable-x11grab \
- --enable-libopencore_amrnb \
- --enable-libopencore_amrwb \
- --enable-libschroedinger \
- --enable-libopenjpeg \
- --enable-librtmp \
- --enable-libpulse \
- --enable-libv4l2 \
- --enable-gpl \
- --enable-version3 \
- --enable-runtime-cpudetect \
- --disable-debug \
- --enable-static
- make
- make tools/qt-faststart
- make doc/ff{mpeg,play,server}.1
-}
-
-package() {
- cd ${pkgname%-static}-$pkgver
- make DESTDIR="$pkgdir" install install-man
- install -D -m755 tools/qt-faststart "$pkgdir/usr/bin/qt-faststart"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/freetuxtv/PKGBUILD b/pcr/freetuxtv/PKGBUILD
new file mode 100644
index 000000000..be9eb6759
--- /dev/null
+++ b/pcr/freetuxtv/PKGBUILD
@@ -0,0 +1,24 @@
+# Maintainer: Bernard Baeyens (berbae) <berbae52 at sfr dot fr>
+pkgname=freetuxtv
+pkgver=0.6.5
+pkgrel=3
+pkgdesc="WebTV player to watch ADSL TV on the PC."
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/freetuxtv/"
+license=('GPL3')
+depends=('vlc' 'gtk2' 'sqlite' 'curl' 'libnotify' 'dbus-glib')
+makedepends=('intltool')
+conflicts=('freetuxtv-svn')
+
+source=("http://freetuxtv.googlecode.com/files/$pkgname-$pkgver.tar.gz")
+sha1sums=('f347a6fd107f9722f4f6be4ec8f530239ffe899a')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ ./configure --prefix=/usr --with-gtk=2.0
+ make
+}
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/ganglia/PKGBUILD b/pcr/ganglia/PKGBUILD
index 3a2e54dd8..efa005071 100644
--- a/pcr/ganglia/PKGBUILD
+++ b/pcr/ganglia/PKGBUILD
@@ -1,9 +1,9 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=ganglia
pkgver=3.6.0
-pkgrel=1
-pkgdesc='Scalable distributed monitoring system for high-performance computing systems such as clusters and Grids'
+pkgrel=4
+pkgdesc='Scalable distributed monitoring system for high-performance computing systems such as clusters and Grids.'
arch=(
i686
x86_64
@@ -18,41 +18,35 @@ depends=(
python2
rrdtool
)
+install=$pkgname.install
options=(!libtool)
optdepends="$pkgname-web: Web frontend"
backup=(
- etc/gmond.conf
- etc/gmetad.conf
+ etc/ganglia/gmond.conf
+ etc/ganglia/gmetad.conf
+)
+source=(
+ http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
+ gmetad.service.in
+ gmond.service.in
+)
+sha512sums=(
+ 2a05d37787f1440c0c4aa91cdf0f4f4cb39c840b3b0fdcd6fe58cfb5892a75f81d36f6191c83c17558c37154298268df74fa255d2c940a8b84a7bf3ddb102394
+ a42b7dcb7dd81961cc9fef114f8c4c352375ed931dc2ae77b1139c6fde7cbd6544fcb5fe286ff6066ef37696821dc9f6fcab7c6b14d3ebaa59e895219cd89836
+ c362a383cbbaf5540b5d698f664534bd0da73bcc5ee4336c468844ed17706e05450f35e4f6cf969f1d2495c462883873b30e4575b9ee8ded74ab475afda608bb
)
-source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
-sha512sums=2a05d37787f1440c0c4aa91cdf0f4f4cb39c840b3b0fdcd6fe58cfb5892a75f81d36f6191c83c17558c37154298268df74fa255d2c940a8b84a7bf3ddb102394
prepare() {
cd $srcdir/$pkgname-$pkgver
+
#sed -i 's|sapi/embed/php_embed.h|php/sapi/embed/php_embed.h|' configure
- touch gm{on,eta}d/gm{on,eta}d.service.in
- echo '[Unit]' > gmetad/gmetad.service.in
- echo 'Description=Ganglia Meta Daemon' >> gmetad/gmetad.service.in
- echo 'After=network.target' >> gmetad/gmetad.service.in
- echo '' >> gmetad/gmetad.service.in
- echo '[Service]' >> gmetad/gmetad.service.in
- echo 'Type=forking' >> gmetad/gmetad.service.in
- echo 'PIDFile=/run/gmetad.pid' >> gmetad/gmetad.service.in
- echo 'ExecStart=/usr/sbin/gmetad -p /run/gmetad.pid' >> gmetad/gmetad.service.in
- echo '' >> gmetad/gmetad.service.in
- echo '[Install]' >> gmetad/gmetad.service.in
- echo 'WantedBy=multi-user.target' >> gmetad/gmetad.service.in
+ sed -i 's|nobody|ganglia|' gmetad/gmetad.conf.in
- echo '[Unit]' > gmond/gmond.service.in
- echo 'Description=Ganglia Monitor Daemon' >> gmond/gmond.service.in
- echo 'After=network.target' >> gmond/gmond.service.in
- echo '' >> gmond/gmond.service.in
- echo '[Service]' >> gmond/gmond.service.in
- echo 'ExecStart=/usr/sbin/gmond -f -p /run/gmond.pid' >> gmond/gmond.service.in
- echo '' >> gmond/gmond.service.in
- echo '[Install]' >> gmond/gmond.service.in
- echo 'WantedBy=multi-user.target' >> gmond/gmond.service.in
+ # FIXME: Hopefully this will soon no longer be required?
+ msg2 'Copying systemd units into source as workaround for bug'
+ cp $srcdir/gmetad.service.in gmetad/gmetad.service.in
+ cp $srcdir/gmond.service.in gmond/gmond.service.in
}
build() {
@@ -60,13 +54,16 @@ build() {
setarch $CARCH ./configure --prefix=/usr\
--enable-gexec\
--enable-perl\
+ --enable-setuid=ganglia\
--enable-status\
--disable-static\
--libdir=/usr/lib\
--with-gmetad\
--with-python=/usr/bin/python2\
- --sysconfdir=/etc
+ --sbindir=/usr/bin\
+ --sysconfdir=/etc/ganglia
# --enable-php\
+# --enable-setgid=ganglia\
setarch $CARCH make
}
@@ -77,5 +74,5 @@ package() {
mkdir $pkgdir/usr/lib/$pkgname/python_modules
msg2 'Generating default gmond.conf'
- ./gmond/gmond --default_config > $pkgdir/etc/gmond.conf
+ ./gmond/gmond --default_config > $pkgdir/etc/ganglia/gmond.conf
}
diff --git a/pcr/ganglia/ganglia.install b/pcr/ganglia/ganglia.install
new file mode 100644
index 000000000..6a196af1f
--- /dev/null
+++ b/pcr/ganglia/ganglia.install
@@ -0,0 +1,24 @@
+post_install() {
+ if [ "`vercmp $2 3.4.0`" -lt 0 ]; then
+ echo 'WARNING: The ganglia package has been split. If you use the' \
+ "web frontend, you'll need to install the ganglia-web package as well."
+ fi
+ id ganglia >& /dev/null
+ if [ $? -ne 0 ]; then
+ echo 'Adding ganglia system group and user...'
+ groupadd -r ganglia && useradd -r -d /var/lib/ganglia -g ganglia -s /bin/false ganglia
+ # Lock the account to prevent logging in
+ passwd -l ganglia &> /dev/null
+ fi
+ install -d -o ganglia -g ganglia /var/lib/ganglia && install -d -o ganglia -g ganglia /var/lib/ganglia/rrds
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ echo 'Removing ganglia system group and user...'
+ userdel ganglia
+ echo 'NOTE: Please remove /var/lib/ganglia manually if it is no longer required.'
+}
diff --git a/pcr/ganglia/gmetad.service.in b/pcr/ganglia/gmetad.service.in
new file mode 100644
index 000000000..a721c2b4c
--- /dev/null
+++ b/pcr/ganglia/gmetad.service.in
@@ -0,0 +1,11 @@
+[Unit]
+Description=Ganglia Meta Daemon
+After=network.target
+
+[Service]
+Type=forking
+PIDFile=/run/gmetad.pid
+ExecStart=/usr/bin/gmetad -p /run/gmetad.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/ganglia/gmond.service.in b/pcr/ganglia/gmond.service.in
new file mode 100644
index 000000000..5cbd31629
--- /dev/null
+++ b/pcr/ganglia/gmond.service.in
@@ -0,0 +1,9 @@
+[Unit]
+Description=Ganglia Monitor Daemon
+After=network.target
+
+[Service]
+ExecStart=/usr/bin/gmond -f -p /run/gmond.pid
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/gcc-lts/PKGBUILD b/pcr/gcc-lts/PKGBUILD
new file mode 100644
index 000000000..b1280fad9
--- /dev/null
+++ b/pcr/gcc-lts/PKGBUILD
@@ -0,0 +1,299 @@
+# $Id: PKGBUILD 186915 2013-05-31 23:25:14Z allan $
+# Maintainer: Allan McRae <allan@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+# toolchain build order: linux-api-headers->glibc->binutils->gcc->binutils->glibc
+# NOTE: libtool requires rebuilt with each new gcc version
+
+#pkgname=('gcc-lts' 'gcc-lts-libs' 'gcc-lts-fortran' 'gcc-lts-objc' 'gcc-lts-ada' 'gcc-lts-go')
+pkgname=('gcc-lts' 'gcc-lts-libs' 'gcc-lts-fortran' 'gcc-lts-objc' 'gcc-lts-go')
+pkgver=4.7.3
+pkgrel=3
+pkgdesc="The GNU Compiler Collection"
+arch=('i686' 'x86_64' 'mips64el')
+license=('GPL' 'LGPL' 'FDL' 'custom')
+url="http://gcc.gnu.org"
+#makedepends=('binutils>=2.23' 'libmpc' 'cloog' 'ppl' 'gcc-ada' 'doxygen')
+makedepends=('binutils>=2.23' 'libmpc' 'cloog' 'ppl' 'doxygen')
+checkdepends=('dejagnu' 'inetutils')
+options=('!libtool' '!emptydirs')
+source=(ftp://gcc.gnu.org/pub/gcc/releases/gcc-${pkgver}/gcc-${pkgver}.tar.bz2)
+md5sums=('86f428a30379bdee0224e353ee2f999e')
+_basedir=gcc-${pkgver}
+
+prepare() {
+ cd ${srcdir}/${_basedir}
+
+ # Do not install libiberty
+ #sed -i 's/install_to_$(INSTALL_DEST) //' libiberty/Makefile.in
+
+ # Do not run fixincludes
+ sed -i 's@\./fixinc\.sh@-c true@' gcc/Makefile.in
+
+ # Parabola installs x86_64 libraries /lib
+ [[ $CARCH == "x86_64" ]] && sed -i '/m64=/s/lib64/lib/' gcc/config/i386/t-linux64
+
+ echo ${pkgver} > gcc/BASE-VER
+
+ # hack! - some configure tests for header files using "$CPP $CPPFLAGS"
+ sed -i "/ac_cpp=/s/\$CPPFLAGS/\$CPPFLAGS -O2/" {libiberty,gcc}/configure
+
+ # fix texinfo "@itemx" and "@item"
+ sed -i "s|[@]itemx|@item|;
+ " gcc/doc/{cppopts,generic,invoke,sourcebuild}.texi
+
+ mkdir ${srcdir}/gcc-build
+}
+
+build() {
+ cd ${srcdir}/gcc-build
+
+ # using -pipe causes spurious test-suite failures
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=48565
+ CFLAGS=${CFLAGS/-pipe/}
+ CXXFLAGS=${CXXFLAGS/-pipe/}
+
+ ${srcdir}/${_basedir}/configure --prefix=/usr \
+ --libdir=/usr/lib --libexecdir=/usr/lib \
+ --mandir=/usr/share/man --infodir=/usr/share/info \
+ --with-bugurl=https://labs.parabola.nu/ \
+ --enable-languages=c,c++,fortran,go,lto,objc,obj-c++ \
+ --enable-shared --enable-threads=posix \
+ --with-system-zlib --enable-__cxa_atexit \
+ --disable-libunwind-exceptions --enable-clocale=gnu \
+ --disable-libstdcxx-pch --enable-libstdcxx-time \
+ --enable-gnu-unique-object --enable-linker-build-id \
+ --with-ppl --enable-cloog-backend=isl \
+ --disable-ppl-version-check --disable-cloog-version-check \
+ --enable-lto --enable-gold --enable-ld=default \
+ --enable-plugin --with-plugin-ld=ld.gold \
+ --with-linker-hash-style=gnu \
+ --disable-multilib --disable-libssp \
+ --disable-build-with-cxx --disable-build-poststage1-with-cxx \
+ --disable-install-libiberty \
+ --disable-werror \
+ --enable-checking=release
+ #--enable-languages=c,c++,ada,fortran,go,lto,objc,obj-c++ \
+ make
+
+ # make documentation
+ cd $CHOST/libstdc++-v3
+ make doc-man-doxygen
+}
+
+check() {
+ cd ${srcdir}/gcc-build
+
+ # increase stack size to prevent test failures
+ # http://gcc.gnu.org/bugzilla/show_bug.cgi?id=31827
+ ulimit -s 32768
+
+ # do not abort on error as some are "expected"
+ make -k check || true
+ ${srcdir}/${_basedir}/contrib/test_summary
+}
+
+package_gcc-lts-libs()
+{
+ pkgdesc="Runtime libraries shipped by GCC"
+ groups=('lts')
+ depends=('glibc>=2.17')
+ provides=("gcc-libs=$pkgver")
+ conflicts=('gcc-libs')
+ install=gcc-libs.install
+
+ cd ${srcdir}/gcc-build
+ make -j1 -C $CHOST/libgcc DESTDIR=${pkgdir} install-shared
+ #for lib in libmudflap libgomp libstdc++-v3/src libitm libsanitizer/asan; do
+ for lib in libmudflap libgomp libstdc++-v3/src libitm; do
+ make -j1 -C $CHOST/$lib DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
+ done
+
+ #[[ $CARCH == "x86_64" ]] && \
+ # make -j1 -C $CHOST/libsanitizer/tsan DESTDIR=${pkgdir} install-toolexeclibLTLIBRARIES
+
+ make -j1 -C $CHOST/libstdc++-v3/po DESTDIR=${pkgdir} install
+ make -j1 -C $CHOST/libgomp DESTDIR=${pkgdir} install-info
+ make -j1 -C $CHOST/libitm DESTDIR=${pkgdir} install-info
+
+ make -j1 DESTDIR=${pkgdir} install-target-libquadmath
+ make -j1 DESTDIR=${pkgdir} install-target-libgfortran
+ make -j1 DESTDIR=${pkgdir} install-target-libobjc
+
+ # remove unnecessary files installed by install-target-{libquadmath,libgfortran,libobjc}
+ rm -r ${pkgdir}/usr/lib/{gcc/,libgfortran.spec}
+
+ # remove static libraries
+ find ${pkgdir} -name *.a -delete
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/gcc-libs/RUNTIME.LIBRARY.EXCEPTION
+}
+
+package_gcc-lts()
+{
+ pkgdesc="The GNU Compiler Collection - C and C++ frontends"
+ depends=("gcc-lts-libs=$pkgver" 'binutils>=2.23' 'libmpc' 'cloog' 'ppl')
+ provides=("gcc=$pkgver")
+ conflicts=('gcc')
+ groups=('lts-devel')
+ install=gcc.install
+
+ cd ${srcdir}/gcc-build
+
+ make -j1 DESTDIR=${pkgdir} install
+
+ install -d $pkgdir/usr/share/gdb/auto-load/usr/lib
+ mv $pkgdir{,/usr/share/gdb/auto-load}/usr/lib/libstdc++.so.6.0.17-gdb.py
+
+ # unfortunately it is much, much easier to install the lot and clean-up the mess...
+ #rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo,gnat*}
+ rm $pkgdir/usr/bin/{{$CHOST-,}gfortran,{$CHOST-,}gccgo}
+ rm $pkgdir/usr/lib/*.so*
+ #rm $pkgdir/usr/lib/lib{atomic,gfortran,go{,begin},iberty,objc}.a
+ rm $pkgdir/usr/lib/lib{ffi,gfortran,go{,begin},iberty,objc}.a
+ rm $pkgdir/usr/lib/libgfortran.spec
+ #rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{ada{include,lib},finclude,include/objc}
+ rm -r $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{finclude,include/objc}
+ rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/ffi{,target}.h
+ #rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,gnat1,go1}
+ rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{cc1obj{,plus},f951,go1}
+ rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{libcaf_single,libgfortranbegin}.a
+ rm -r $pkgdir/usr/lib/go
+ #rm $pkgdir/usr/share/info/{gccgo,gfortran,gnat*,libgomp,libquadmath,libitm}.info
+ rm $pkgdir/usr/share/info/{gccgo,gfortran,libgomp,libquadmath,libitm}.info
+ rm $pkgdir/usr/share/locale/{de,fr}/LC_MESSAGES/libstdc++.mo
+ rm $pkgdir/usr/share/man/man1/{gccgo,gfortran}.1
+ rm $pkgdir/usr/share/man/man3/ffi*
+
+ # many packages expect this symlinks
+ ln -s gcc ${pkgdir}/usr/bin/cc
+
+ # POSIX conformance launcher scripts for c89 and c99
+ cat > $pkgdir/usr/bin/c89 <<"EOF"
+#!/bin/sh
+fl="-std=c89"
+for opt; do
+ case "$opt" in
+ -ansi|-std=c89|-std=iso9899:1990) fl="";;
+ -std=*) echo "`basename $0` called with non ANSI/ISO C option $opt" >&2
+ exit 1;;
+ esac
+done
+exec gcc $fl ${1+"$@"}
+EOF
+
+ cat > $pkgdir/usr/bin/c99 <<"EOF"
+#!/bin/sh
+fl="-std=c99"
+for opt; do
+ case "$opt" in
+ -std=c99|-std=iso9899:1999) fl="";;
+ -std=*) echo "`basename $0` called with non ISO C99 option $opt" >&2
+ exit 1;;
+ esac
+done
+exec gcc $fl ${1+"$@"}
+EOF
+
+ chmod 755 $pkgdir/usr/bin/c{8,9}9
+
+ # install the libstdc++ man pages
+ install -dm755 ${pkgdir}/usr/share/man/man3
+ install -m644 -t ${pkgdir}/usr/share/man/man3 \
+ ${CHOST}/libstdc++-v3/doc/doxygen/man/man3/*.3
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/gcc/RUNTIME.LIBRARY.EXCEPTION
+}
+
+package_gcc-lts-fortran()
+{
+ pkgdesc="Fortran front-end for GCC"
+ depends=("gcc-lts=$pkgver")
+ provides=("gcc-fortran=$pkgver")
+ conflicts=('gcc-fortran')
+ install=gcc-fortran.install
+
+ cd ${srcdir}/gcc-build
+ make -j1 DESTDIR=$pkgdir install-target-libgfortran
+ make -j1 -C $CHOST/libgomp DESTDIR=$pkgdir install-nodist_fincludeHEADERS
+ make -j1 -C gcc DESTDIR=$pkgdir fortran.install-{common,man,info}
+ install -Dm755 gcc/f951 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/f951
+
+ ln -s gfortran ${pkgdir}/usr/bin/f95
+
+ # remove files included in gcc-libs or gcc
+ #rm ${pkgdir}/usr/lib/lib{gfortran,gcc_s}.so*
+ rm ${pkgdir}/usr/lib/libgfortran.so*
+ #rm ${pkgdir}/usr/lib/libquadmath.{a,so*}
+ #rm ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/{*.o,libgc*}
+ #rm ${pkgdir}/usr/share/info/libquadmath.info
+ #rm -r ${pkgdir}/usr/lib/gcc/$CHOST/${pkgver}/include
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/gcc-fortran/RUNTIME.LIBRARY.EXCEPTION
+}
+
+package_gcc-lts-objc()
+{
+ pkgdesc="Objective-C front-end for GCC"
+ depends=("gcc-lts=$pkgver")
+ provides=("gcc-objc=$pkgver")
+ conflicts=('gcc-objc')
+
+ cd ${srcdir}/gcc-build
+ make -j1 DESTDIR=$pkgdir install-target-libobjc
+ install -dm755 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
+ install -m755 gcc/cc1obj{,plus} $pkgdir/usr/lib/gcc/$CHOST/$pkgver/
+
+ # remove files included in gcc-libs or gcc
+ #rm ${pkgdir}/usr/lib/lib{gcc_s,objc}.so*
+ rm ${pkgdir}/usr/lib/libobjc.so*
+ #rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/{*.o,lib*}
+ #rm $pkgdir/usr/lib/gcc/$CHOST/${pkgver}/include/unwind.h
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/gcc-objc/RUNTIME.LIBRARY.EXCEPTION
+}
+
+package_gcc-lts-ada()
+{
+ pkgdesc="Ada front-end for GCC (GNAT)"
+ depends=("gcc-lts=$pkgver")
+ provides=("gcc-ada=$pkgver")
+ conflicts=('gcc-ada')
+ install=gcc-ada.install
+
+ cd ${srcdir}/gcc-build/gcc
+ make -j1 DESTDIR=$pkgdir ada.install-{common,info}
+ install -m755 gnat1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver
+
+ ln -s gcc ${pkgdir}/usr/bin/gnatgcc
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/gcc-ada/RUNTIME.LIBRARY.EXCEPTION
+}
+
+package_gcc-lts-go()
+{
+ pkgdesc="Go front-end for GCC"
+ depends=("gcc-lts=$pkgver")
+ provides=("gcc-go=$pkgver")
+ conflicts=('gcc-go')
+ install=gcc-go.install
+
+ cd ${srcdir}/gcc-build
+ make -j1 DESTDIR=$pkgdir install-target-libgo
+ make -j1 -C gcc DESTDIR=$pkgdir go.install-{common,man,info}
+ install -Dm755 gcc/go1 $pkgdir/usr/lib/gcc/$CHOST/$pkgver/go1
+
+ # Install Runtime Library Exception
+ install -Dm644 ${srcdir}/${_basedir}/COPYING.RUNTIME \
+ ${pkgdir}/usr/share/licenses/gcc-go/RUNTIME.LIBRARY.EXCEPTION
+}
diff --git a/pcr/gcc-lts/gcc-ada.install b/pcr/gcc-lts/gcc-ada.install
new file mode 100644
index 000000000..df0553a4f
--- /dev/null
+++ b/pcr/gcc-lts/gcc-ada.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gnat-style.info gnat_rm.info gnat_ugn.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/pcr/gcc-lts/gcc-fortran.install b/pcr/gcc-lts/gcc-fortran.install
new file mode 100644
index 000000000..b15d89a97
--- /dev/null
+++ b/pcr/gcc-lts/gcc-fortran.install
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+file="gfortran.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
+}
diff --git a/pcr/gcc-lts/gcc-go.install b/pcr/gcc-lts/gcc-go.install
new file mode 100644
index 000000000..7dc50dee5
--- /dev/null
+++ b/pcr/gcc-lts/gcc-go.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(gccgo.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/pcr/gcc-lts/gcc-libs.install b/pcr/gcc-lts/gcc-libs.install
new file mode 100644
index 000000000..23553b8f0
--- /dev/null
+++ b/pcr/gcc-lts/gcc-libs.install
@@ -0,0 +1,16 @@
+infodir=usr/share/info
+filelist=(libgomp.info libquadmath.info)
+
+post_upgrade() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/pcr/gcc-lts/gcc.install b/pcr/gcc-lts/gcc.install
new file mode 100644
index 000000000..3407a5e1f
--- /dev/null
+++ b/pcr/gcc-lts/gcc.install
@@ -0,0 +1,20 @@
+infodir=usr/share/info
+filelist=(cpp.info cppinternals.info gcc.info gccinstall.info gccint.info)
+
+post_install() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ [ -x usr/bin/install-info ] || return 0
+ for file in ${filelist[@]}; do
+ install-info --delete $infodir/$file.gz $infodir/dir 2> /dev/null
+ done
+}
diff --git a/pcr/gimp-art/PKGBUILD b/pcr/gimp-art/PKGBUILD
index 11c3b191b..cd38b329d 100644
--- a/pcr/gimp-art/PKGBUILD
+++ b/pcr/gimp-art/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=gimp-art
pkgver=2.8.2
diff --git a/pcr/gimp-art/gimp-splash-artwork.license b/pcr/gimp-art/gimp-splash-artwork.license
index 64267a6c0..0f060c013 100644
--- a/pcr/gimp-art/gimp-splash-artwork.license
+++ b/pcr/gimp-art/gimp-splash-artwork.license
@@ -1,7 +1,7 @@
GIMP LIBRE SPLASH LICENSE
-Logo and Effects is created by Zé Lara <ze.lara@adinet.com.uy> and Márcio Silva <coadde@adinet.com.uy>
-Idea by André Silva <andre.paulista@adinet.com.uy>
+Logo and Effects is created by Zé Lara <ze.miguel.lara@gmail.com> and Márcio Silva <coadde@lavabit.com>
+Idea by André Silva <emulatorman@lavabit.com>
The GIMP LIBRE splash screen is licensed under the Creative Commons Attribution-ShareAlike 3.0 Unported License.
To view a copy of this license, visit http://creativecommons.org/licenses/by-sa/3.0/ or send aletter to Creative Commons, 444 Castro Street,
@@ -10,4 +10,4 @@ Suite 900, Mountain View, California, 94041, USA.
Sangeno Waterfall Picture is created by Abedinali from Wikimedia Commons under the Creative Commons CC0 1.0 Universal license (Public Domain).
To the extent possible under law, Abedinali from Wikimedia Commons has waived all copyright and related or neighboring rights to Sangeno Waterfall.
This work is published from: United States.
-https://upload.wikimedia.org/wikipedia/commons/8/8b/Sangeno.jpg \ No newline at end of file
+https://upload.wikimedia.org/wikipedia/commons/8/8b/Sangeno.jpg
diff --git a/pcr/gitflow/PKGBUILD b/pcr/gitflow/PKGBUILD
new file mode 100644
index 000000000..b62042262
--- /dev/null
+++ b/pcr/gitflow/PKGBUILD
@@ -0,0 +1,34 @@
+# Maintainer: Techlive Zheng <techlivezheng@gmail.com>
+# Contributor: Ernie Brodeur <ebrodeur@ujami.net>
+
+pkgname=gitflow
+pkgver=0.4.1
+pkgrel=3
+pkgdesc='Extend git with the Gitflow branching model.'
+arch=('any')
+url='https://github.com/nvie/gitflow'
+license=('BSD')
+depends=('git' 'shflags')
+source=("https://github.com/nvie/gitflow/tarball/${pkgver}/${pkgname}-${pkgver}.tar.gz")
+md5sums=('adc7a52512052938a9b42ac8bd7d91dd')
+
+prepare() {
+ cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*`
+ sed -i "s:\$GITFLOW_DIR/gitflow-shFlags:/usr/share/lib/shflags/shflags.sh:" git-flow
+}
+
+package() {
+ cd $srcdir/`find . -maxdepth 1 -type d -name nvie\*`
+
+ install -d -m 0755 $pkgdir/usr/lib/git-core
+ install -m 0755 git-flow $pkgdir/usr/lib/git-core
+ install -m 0644 git-flow-feature \
+ git-flow-hotfix \
+ git-flow-release \
+ git-flow-support \
+ git-flow-version \
+ git-flow-init \
+ gitflow-common \
+ $pkgdir/usr/lib/git-core/
+}
+md5sums=('adc7a52512052938a9b42ac8bd7d91dd')
diff --git a/pcr/gnuhealth/PKGBUILD b/pcr/gnuhealth/PKGBUILD
index 695062e5b..3eaee88d0 100644
--- a/pcr/gnuhealth/PKGBUILD
+++ b/pcr/gnuhealth/PKGBUILD
@@ -1,13 +1,13 @@
-# Maintainer: SpepS <dreamspepser at yahoo dot it>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+# Maintainer: André Silva <emulatorman@lavabit.com>
+# Contributor: SpepS <dreamspepser at yahoo dot it>
pkgname=gnuhealth
-pkgver=1.8.1
-pkgrel=3
+pkgver=2.0.0
+pkgrel=1
pkgdesc="A free Health and Hospital Information System"
-arch=(any)
-url="http://health.gnu.org/"
-license=('GPL3')
+arch=any
+url=http://health.gnu.org/
+license=GPL3
depends=(
postgresql
pygtk
@@ -26,33 +26,48 @@ depends=(
trytond-country
trytond-stock-lot
)
-source=("http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz")
-md5sums=('d3837242011df1d39ce7a0f1d6e6a46a')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- # python2 fixes
- export PYTHON=python2
-
- # mv man file
- mv health/man .
-
- ./configure --prefix=/usr
-}
+source=http://ftp.gnu.org/gnu/health/$pkgname-$pkgver.tar.gz
+sha512sums=5d528fe4a20a2b237f32d023f44e898a012f47f9ba83611f71fba386990bf98dbbdb1fb9c5b78dd5a3b65c6fe9b2fe4e7e472fec90cab009e5b8e31b1f31ceeb
package() {
- cd "$srcdir/$pkgname-$pkgver"
- make MANTARGET="$pkgdir/usr/share/man/man1" \
- DESTDIR="$pkgdir/" install
+ MODULES=(
+ health
+ health_calendar
+ health_genetics
+ health_gyneco
+ health_history
+ health_icd10
+ health_icd10pcs
+ health_icu
+ health_inpatient
+ health_inpatient_calendar
+ health_lab
+ health_lifestyle
+ health_mdg6
+ health_ntd
+ health_ntd_chagas
+ health_nursing
+ health_pediatrics
+ health_profile
+ health_qrcodes
+ health_reporting
+ health_services
+ health_socioeconomics
+ health_stock
+ health_surgery
+ health_who_essential_medicines
+ )
- # man
- install -Dm644 man/$pkgname.1 \
- "$pkgdir/usr/share/man/man1/$pkgname.1"
+ # build gnuhealth modules
+ for module in ${MODULES[@]}
+ do
+ cd $srcdir/$pkgname-$pkgver/$module
+ python2 setup.py install --root=$pkgdir
+ done
- # python2 fix
- sed -i 's/env python/&2/' \
- `grep -rl 'env python' "$pkgdir"`
-}
+ # put gnuhealth manual to man folder
+ cd "$srcdir/$pkgname-$pkgver"
-# vim:set ts=2 sw=2 et:
+ install -Dm644 health/man/$pkgname.1 \
+ $pkgdir/usr/share/man/man1/$pkgname.1
+}
diff --git a/pcr/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD
deleted file mode 100644
index f9ee9254b..000000000
--- a/pcr/heartbeat/PKGBUILD
+++ /dev/null
@@ -1,202 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=heartbeat
-pkgver=3.0.5
-_pkgver=${pkgver::1}_${pkgver:2:1}
-pkgrel=10
-pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)'
-arch=(
- i686
- x86_64
- mips64el
-)
-group=linux-ha
-url=http://$group.org/wiki/${pkgname^}
-license=(
- GPL2
- lGPL2.1
-)
-depends=(
- gnutls
- cluster-glue
-)
-optdepends=net-tools
-makedepends=(
- docbook-xsl
- libxslt
- lynx
- net-tools
- openssh
- swig
- valgrind
- w3m
-)
-options=(!libtool)
-provides=(ha-$pkgname)
-conflicts=ha-$pkgname
-replaces=ha-$pkgname
-source=http://hg.$group.org/$pkgname-STABLE_$_pkgver/archive/STABLE-$pkgver.tar.bz2
-sha512sums=e38083b87c56a72eb8925ac42adeabb92618608e92218a63960ec0d0bca264f92a8e9c3ebfb0589cc4538da1a82b268b5cc9ee5a51ed33057c969e694e16b27d
-
-prepare() {
- cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
-
- mv configure.{in,ac}
-
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s|AM_INIT_AUTOMAKE(heartbeat, $HAPKGVERSION)|AM_INIT_AUTOMAKE|;
- ' configure.ac
- sed -i "s|AC_INIT(GNUmakefile)|AC_INIT(heartbeat, $pkgver)|;
- " configure.ac
-
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
-
- # fixing path
- sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
- sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
- sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
- #sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
- #sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
- sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
- sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
-
- # remove Open Source term
- sed -i 's|Open Source / ||;
- s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
- s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
- #sed -i 's|OpenSource / ||;
- # s|opensource / ||;
- # s|OpenSource|FreeSoftware|;
- # s|opensource|freesoftware|;
- # s|freesoftware.org|opensource.org|;
- # s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
- # s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
- # s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- # ' $(grep -ril opensource)
-
- # remove Linux term
- sed -i 's|Linux,|GNU/Linux,|;
- s|Linux and|GNU/Linux and|;
- s|Linux distro|GNU/Linux distro|;
- s|Linux distribution|GNU/Linux distribution|;
- s|Linux machine|GNU/Linux machine|;
- s|Linux Only|GNU/Linux Only|;
- s|Linux only|GNU/Linux only|;
- s|Linux operating|GNU/Linux operating|;
- s|Linux OS|GNU/Linux OS|;
- s|Linux platform|GNU/Linux platform|;
- s|Linux software|GNU/Linux software|;
- s|Linux specific|GNU/Linux specific|;
- s|Linux system|GNU/Linux system|;
- s|Linux will|GNU/Linux will|;
- s|# Linux$|# GNU/Linux|;
- s|# Linux.$|# GNU/Linux.|;
- s|* Linux$|* GNU/Linux|;
- s|* Linux.$|* GNU/Linux.|;
- s|// Linux$|// GNU/Linux|;
- s|// Linux.$|// GNU/Linux.|;
- s|, Linux|, GNU/Linux|;
- s|As Linux|As GNU/Linux|;
- s|as Linux|as GNU/Linux|;
- s|And Linux|And GNU/Linux|;
- s|and Linux|and GNU/Linux|;
- s|Be Linux|Be GNU/Linux|;
- s|be Linux|be GNU/Linux|;
- s|Because Linux|Because GNU/Linux|;
- s|because Linux|because GNU/Linux|;
- s|e.g. Linux|e.g. GNU/Linux|;
- s|For Linux|For GNU/Linux|;
- s|for Linux|for GNU/Linux|;
- s|In Linux|In GNU/Linux|;
- s|in Linux|in GNU/Linux|;
- s|Like Linux|Like GNU/Linux|;
- s|like Linux|like GNU/Linux|;
- s|non-Linux|non GNU/Linux|;
- s|Of Linux|Of GNU/Linux|;
- s|of Linux|of GNU/Linux|;
- s|On Linux|On GNU/Linux|;
- s|on Linux|on GNU/Linux|;
- s|OS type: Linux|OS type: GNU/Linux|;
- s|Other Linux|Other GNU/Linux|;
- s|other Linux|other GNU/Linux|;
- s|The Linux|The GNU/Linux|;
- s|the Linux|the GNU/Linux|;
- s|Typically Linux|Typically GNU/Linux|;
- s|typically Linux|typically GNU/Linux|;
- s|To Linux|To GNU/Linux|;
- s|to Linux|to GNU/Linux|;
- s|Under Linux|Under GNU/Linux|;
- s|under Linux|under GNU/Linux|;
- /Linux: "mail" offers "-s"./ s|Linux|GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- s|ConfigureLinux|ConfigureGNULinux|;
- ' $(grep -rl Linux)
-}
-
-build() {
- cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
- setarch $CARCH ./bootstrap
- setarch $CARCH ./configure --prefix=/usr\
- --disable-fatal-warnings\
- --disable-static\
- --enable-valgrind\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sysconfdir=/etc
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/${pkgname^}-3-0-STABLE-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- mv $pkgdir/{var/,}run
- rm $pkgdir/etc/{ha.d/,}rc.d/* && rmdir $pkgdir/etc/{ha.d/,}rc.d
-
- install -d $pkgdir/usr/lib/systemd/system
- echo '[Unit]' > $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo 'Description=Startup script high-availability services' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo 'Requires=network.target remote-fs.target timers.target' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo '' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo '[Service]' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo 'ExecStart=/usr/lib/heartbeat/heartbeat' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo '' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo '[Install]' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
- echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/$pkgname.service
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/hiawatha/PKGBUILD b/pcr/hiawatha/PKGBUILD
new file mode 100644
index 000000000..1ea4d6435
--- /dev/null
+++ b/pcr/hiawatha/PKGBUILD
@@ -0,0 +1,117 @@
+# Maintainer: Kurt Marasco <celilo _at_ lavabit _dot_ com>
+# Contributor: Pascal Ernster <aur at hardfalcon dot net>
+
+pkgname=hiawatha
+pkgver=9.2
+pkgrel=1
+pkgdesc="Secure and advanced webserver"
+url="https://www.hiawatha-webserver.org/"
+arch=('i686' 'x86_64')
+license=('GPL')
+depends=('libxslt' 'polarssl')
+optdepends=('php-fpm: Provides modern PHP fast cgi support (Recommended) ')
+makedepends=('cmake')
+install=$pkgname.install
+backup=(
+ usr/lib/systemd/system/hiawatha.service
+ etc/hiawatha/hiawatha.conf
+ etc/hiawatha/hiawatha.conf.sample
+ etc/hiawatha/cgi-wrapper.conf
+ etc/hiawatha/mimetype.conf
+ srv/http/hiawatha/cdcatalog.xml
+ srv/http/hiawatha/cdcatalog.xslt
+)
+
+source=(
+ "http://hiawatha-webserver.org/files/${pkgname}-${pkgver}.tar.gz"
+ 'hiawatha.conf.sample'
+ 'cdcatalog.xml'
+ 'cdcatalog.xslt'
+ 'hiawatha.service'
+ 'hiawatha.install'
+)
+sha256sums=(
+ '5d9cdec51c618bb3efab747030e593d9bd49dfaf3236254c8e0cb60715716dbf'
+ '4671d2586cbe3cd6497b16ff422c6143cdab40641ef3c9c4988c478351a8f5e7'
+ '7757d6e5fe363b917a2823ba8b5194509ed6914e7c088d04ae72f9bd73efcb58'
+ 'f28aa336da6f0fb124a1092039e695d233569cb32632223f786603ffb6ed5471'
+ 'fb789b12bb6246237b15a9244f58317abdd53e5ca4eb55880e40a498b2237155'
+ '3b60a884102a6212a4963c041dd2a5a32fb18833f758e9be5d021bbc630ed627'
+)
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ cmake . -DCMAKE_INSTALL_PREFIX="/" \
+ -DCMAKE_INSTALL_BINDIR="/usr/bin" \
+ -DCMAKE_INSTALL_SBINDIR="/usr/bin" \
+ -DCMAKE_INSTALL_SYSCONFDIR="/etc/hiawatha" \
+ -DCMAKE_INSTALL_LIBDIR="/usr/lib" \
+ -DCMAKE_INSTALL_MANDIR="/usr/share/man" \
+ -DCONFIG_DIR="/etc/hiawatha" \
+ -DLOG_DIR="/var/log/hiawatha" \
+ -DPID_DIR="/run" \
+ -DENABLE_SSL=ON \
+ -DUSE_SYSTEM_POLARSSL=on \
+ -DWEBROOT_DIR="/srv/http" \
+ -DWORK_DIR="/var/lib/hiawatha"
+ make
+
+ # The default capabilities are installed by this PKGBUILD
+ # The following build options are available to customize your installation:
+ # modify the above cmake command to customize
+ #option description required libraries when feature enabled
+ # cmake options
+ # -DENABLE_CACHE=ON|off Enable internal cache support.
+ # -DENABLE_DEBUG=on|OFF Enable debug information (for development only).
+ # -DENABLE_IPV6=ON|off Enable IPv6 support.
+ # -DENABLE_MONITOR=on|OFF Enable support for the Hiawatha Monitor.
+ # -DENABLE_RPROXY=ON|off Enable reverse proxy support.
+ # -DENABLE_SSL=ON|off Enable SSL (PolarSSL) support.
+ # -DENABLE_TOMAHAWK=on|OFF Enable Tomahawk, Hiawatha command shell.
+ # -DENABLE_TOOLKIT=ON|off Enable the URL Toolkit.
+ # -DENABLE_XSLT=ON|off Enable XSLT support. libxml2, libxslt1
+ # -DUSE_SYSTEM_POLARSSL=on|OFF Compile Hiawatha against the system's PolarSSL library (>=1.2.0).
+
+ # The following path settings are available for CMake.
+ # -DCMAKE_INSTALL_PREFIX=<path> The prefix for all other CMAKE_INSTALL directories.
+ # -DCMAKE_INSTALL_BINDIR=<path> Location of the ssi-cgi binary.
+ # -DCMAKE_INSTALL_SBINDIR=<path> Location of the other Hiawatha binaries.
+ # -DCMAKE_INSTALL_SYSCONFDIR=<path> The configuration files will be installed in /hiawatha.
+ # -DCMAKE_INSTALL_LIBDIR=<path> The PolarSSL shared library will be installed in /hiawatha.
+ # -DCMAKE_INSTALL_MANDIR=<path> Manual pages will be installed in /man1.
+ # -DCONFIG_DIR=<path> Location of the Hiawatha configuration files.
+ # -DLOG_DIR=<path> Log directory used in the default hiawatha.conf.
+ # -DPID_DIR=<path> Location of the Hiawatha and php-fcgi PID files.
+ # -DWEBROOT_DIR=<path> Webroot directory used in the default hiawatha.conf.
+ # -DWORK_DIR=<path> Path of directory where Hiawatha can write temporary files.
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ # Fix hiawatha.conf (formerly httpd.conf)
+ sed -e 's|#ServerId = www-data|ServerId = http|' \
+ -e 's|/var/www/|/srv/http/|g' \
+ -e 's|//|/|g' \
+ -e 's|#CGIextension = cgi|&\n#TriggerOnCGIstatus = yes|g' \
+ -e 's|ConnectTo = 127.0.0.1:2005|ConnectTo = 127.0.0.1:9000|g' \
+ -e 's|# Extension = php|&\n# SessionTimeout = 30|g' \
+ -e 's|#ErrorHandler = 404:/error.cgi|&\n#UseGZfile = yes|g' \
+ -i "$pkgdir/etc/hiawatha/hiawatha.conf"
+
+ # Fix hiawatha logrotate file (/etc/logrotate.d/hiawatha)
+ sed -e 's|www-data|http|g' -i "$srcdir/$pkgname-$pkgver/logrotate.d/hiawatha"
+ mkdir "$pkgdir/etc/logrotate.d"
+ install -m644 "$srcdir/$pkgname-$pkgver/logrotate.d/hiawatha" "$pkgdir/etc/logrotate.d/hiawatha"
+
+ # Add startup scripts
+ install -D -m755 "$srcdir/hiawatha.service" "$pkgdir/usr/lib/systemd/system/hiawatha.service"
+
+ # Install sample configuration implementing a virtual server for phpmyadmin, php-fpm, and a default website on localhost
+ install -m644 "$srcdir/hiawatha.conf.sample" "$pkgdir/etc/hiawatha/"
+ # Install sample XSLT transformation on default website on localhost
+ install -m644 "$srcdir/cdcatalog.xml" "$pkgdir/srv/http"
+ install -m644 "$srcdir/cdcatalog.xslt" "$pkgdir/srv/http"
+}
diff --git a/pcr/hiawatha/cdcatalog.xml b/pcr/hiawatha/cdcatalog.xml
new file mode 100644
index 000000000..efc35f9ff
--- /dev/null
+++ b/pcr/hiawatha/cdcatalog.xml
@@ -0,0 +1,212 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Edited with XML Spy v4.2 -->
+<catalog>
+ <cd>
+ <title>Empire Burlesque</title>
+ <artist>Bob Dylan</artist>
+ <country>USA</country>
+ <company>Columbia</company>
+ <price>10.90</price>
+ <year>1985</year>
+ </cd>
+ <cd>
+ <title>Hide your heart</title>
+ <artist>Bonnie Tyler</artist>
+ <country>UK</country>
+ <company>CBS Records</company>
+ <price>9.90</price>
+ <year>1988</year>
+ </cd>
+ <cd>
+ <title>Greatest Hits</title>
+ <artist>Dolly Parton</artist>
+ <country>USA</country>
+ <company>RCA</company>
+ <price>9.90</price>
+ <year>1982</year>
+ </cd>
+ <cd>
+ <title>Still got the blues</title>
+ <artist>Gary Moore</artist>
+ <country>UK</country>
+ <company>Virgin records</company>
+ <price>10.20</price>
+ <year>1990</year>
+ </cd>
+ <cd>
+ <title>Eros</title>
+ <artist>Eros Ramazzotti</artist>
+ <country>EU</country>
+ <company>BMG</company>
+ <price>9.90</price>
+ <year>1997</year>
+ </cd>
+ <cd>
+ <title>One night only</title>
+ <artist>Bee Gees</artist>
+ <country>UK</country>
+ <company>Polydor</company>
+ <price>10.90</price>
+ <year>1998</year>
+ </cd>
+ <cd>
+ <title>Sylvias Mother</title>
+ <artist>Dr.Hook</artist>
+ <country>UK</country>
+ <company>CBS</company>
+ <price>8.10</price>
+ <year>1973</year>
+ </cd>
+ <cd>
+ <title>Maggie May</title>
+ <artist>Rod Stewart</artist>
+ <country>UK</country>
+ <company>Pickwick</company>
+ <price>8.50</price>
+ <year>1990</year>
+ </cd>
+ <cd>
+ <title>Romanza</title>
+ <artist>Andrea Bocelli</artist>
+ <country>EU</country>
+ <company>Polydor</company>
+ <price>10.80</price>
+ <year>1996</year>
+ </cd>
+ <cd>
+ <title>When a man loves a woman</title>
+ <artist>Percy Sledge</artist>
+ <country>USA</country>
+ <company>Atlantic</company>
+ <price>8.70</price>
+ <year>1987</year>
+ </cd>
+ <cd>
+ <title>Black angel</title>
+ <artist>Savage Rose</artist>
+ <country>EU</country>
+ <company>Mega</company>
+ <price>10.90</price>
+ <year>1995</year>
+ </cd>
+ <cd>
+ <title>1999 Grammy Nominees</title>
+ <artist>Many</artist>
+ <country>USA</country>
+ <company>Grammy</company>
+ <price>10.20</price>
+ <year>1999</year>
+ </cd>
+ <cd>
+ <title>For the good times</title>
+ <artist>Kenny Rogers</artist>
+ <country>UK</country>
+ <company>Mucik Master</company>
+ <price>8.70</price>
+ <year>1995</year>
+ </cd>
+ <cd>
+ <title>Big Willie style</title>
+ <artist>Will Smith</artist>
+ <country>USA</country>
+ <company>Columbia</company>
+ <price>9.90</price>
+ <year>1997</year>
+ </cd>
+ <cd>
+ <title>Tupelo Honey</title>
+ <artist>Van Morrison</artist>
+ <country>UK</country>
+ <company>Polydor</company>
+ <price>8.20</price>
+ <year>1971</year>
+ </cd>
+ <cd>
+ <title>Soulsville</title>
+ <artist>Jorn Hoel</artist>
+ <country>Norway</country>
+ <company>WEA</company>
+ <price>7.90</price>
+ <year>1996</year>
+ </cd>
+ <cd>
+ <title>The very best of</title>
+ <artist>Cat Stevens</artist>
+ <country>UK</country>
+ <company>Island</company>
+ <price>8.90</price>
+ <year>1990</year>
+ </cd>
+ <cd>
+ <title>Stop</title>
+ <artist>Sam Brown</artist>
+ <country>UK</country>
+ <company>A and M</company>
+ <price>8.90</price>
+ <year>1988</year>
+ </cd>
+ <cd>
+ <title>Bridge of Spies</title>
+ <artist>T`Pau</artist>
+ <country>UK</country>
+ <company>Siren</company>
+ <price>7.90</price>
+ <year>1987</year>
+ </cd>
+ <cd>
+ <title>Private Dancer</title>
+ <artist>Tina Turner</artist>
+ <country>UK</country>
+ <company>Capitol</company>
+ <price>8.90</price>
+ <year>1983</year>
+ </cd>
+ <cd>
+ <title>Midt om natten</title>
+ <artist>Kim Larsen</artist>
+ <country>EU</country>
+ <company>Medley</company>
+ <price>7.80</price>
+ <year>1983</year>
+ </cd>
+ <cd>
+ <title>Pavarotti Gala Concert</title>
+ <artist>Luciano Pavarotti</artist>
+ <country>UK</country>
+ <company>DECCA</company>
+ <price>9.90</price>
+ <year>1991</year>
+ </cd>
+ <cd>
+ <title>The dock of the bay</title>
+ <artist>Otis Redding</artist>
+ <country>USA</country>
+ <company>Atlantic</company>
+ <price>7.90</price>
+ <year>1987</year>
+ </cd>
+ <cd>
+ <title>Picture book</title>
+ <artist>Simply Red</artist>
+ <country>EU</country>
+ <company>Elektra</company>
+ <price>7.20</price>
+ <year>1985</year>
+ </cd>
+ <cd>
+ <title>Red</title>
+ <artist>The Communards</artist>
+ <country>UK</country>
+ <company>London</company>
+ <price>7.80</price>
+ <year>1987</year>
+ </cd>
+ <cd>
+ <title>Unchain my heart</title>
+ <artist>Joe Cocker</artist>
+ <country>USA</country>
+ <company>EMI</company>
+ <price>8.20</price>
+ <year>1987</year>
+ </cd>
+</catalog>
diff --git a/pcr/hiawatha/cdcatalog.xslt b/pcr/hiawatha/cdcatalog.xslt
new file mode 100644
index 000000000..db9cc35bc
--- /dev/null
+++ b/pcr/hiawatha/cdcatalog.xslt
@@ -0,0 +1,24 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!-- Edited with XML Spy v4.2 -->
+<xsl:stylesheet version="1.0"
+xmlns:xsl="http://www.w3.org/1999/XSL/Transform">
+<xsl:template match="/">
+ <html>
+ <body>
+ <h2>My CD Collection</h2>
+ <table border="1">
+ <tr bgcolor="#9acd32">
+ <th align="left">Title</th>
+ <th align="left">Artist</th>
+ </tr>
+ <xsl:for-each select="catalog/cd">
+ <tr>
+ <td><xsl:value-of select="title"/></td>
+ <td><xsl:value-of select="artist"/></td>
+ </tr>
+ </xsl:for-each>
+ </table>
+ </body>
+ </html>
+</xsl:template>
+</xsl:stylesheet> \ No newline at end of file
diff --git a/pcr/hiawatha/hiawatha.conf.sample b/pcr/hiawatha/hiawatha.conf.sample
new file mode 100644
index 000000000..1c1d62450
--- /dev/null
+++ b/pcr/hiawatha/hiawatha.conf.sample
@@ -0,0 +1,114 @@
+# Hiawatha main configuration file
+# This is a basic sample configuration file that sets up a:
+# 1) Default web site at /srv/http/hiawatha (Note: fast CGI is not active on default site)
+# 2) Virtual host for phpmyadmin at /srv/http/phpMyAdmin
+# note: you must install phpmyadmin, mysql, php-mcrypt, and php-cgi separately. Be sure that extensions
+# mcrypt.so and mysql.so are enabled in your php.ini.
+# Also add phpmyadmin to your hosts file
+# 3) FastCGI server
+
+
+# GENERAL SETTINGS
+ServerId = http
+ConnectionsTotal = 150
+ConnectionsPerIP = 10
+SystemLogfile = /var/log/hiawatha/system.log
+GarbageLogfile = /var/log/hiawatha/garbage.log
+
+
+# BINDING SETTINGS
+# A binding is where a client can connect to.
+#
+Binding {
+ Port = 80
+}
+
+
+
+### The following fast CGI daemons require php-fpm using a UNIX socket and TCP port, respectively.
+# ACTIVATE a FastCGI server for php (using UNIX socket)
+FastCGIserver {
+ FastCGIid = PHP5
+ ConnectTo = /run/php-fpm/php-fpm.sock
+ Extension = php
+ SessionTimeout = 30
+}
+
+# ACTIVATE a FastCGI server for php (using IP-address and TCP port)
+#FastCGIserver {
+# FastCGIid = PHP5
+# ConnectTo = 127.0.0.1:9000
+# Extension = php
+# SessionTimeout = 30
+#}
+
+
+# DEFAULT WEBSITE
+# It is wise to use your IP address as the hostname of the default website
+# and give it a blank webpage. By doing so, automated webscanners won't find
+# your possible vulnerable website.
+#
+Hostname = 127.0.0.1
+WebsiteRoot = /srv/http/hiawatha
+StartFile = index.html
+AccessLogfile = /var/log/hiawatha/access.log
+ErrorLogfile = /var/log/hiawatha/error.log
+#ErrorHandler = 404:/error.cgi
+UseXSLT = yes
+
+
+# VIRTUAL HOSTS
+VirtualHost {
+
+ # If you set WebsiteRoot to /usr/share/webapps/phpMyAdmin you don't need followsymlinks
+ # I symlinked the phpMyAdmin folder to '/srv/http/phpMyAdmin' so that I can easily remember where it's located but
+ # still set 'WebsiteRoot' to the real source directory. You could point WebsiteRoot to the
+ # symlinked directory, but you will have to set 'FollowSymlinks = yes' for that to function properly
+
+ #FollowSymlinks = yes
+ #WebsiteRoot = /srv/http/phpMyAdmin
+ WebsiteRoot = /usr/share/webapps/phpMyAdmin
+ Hostname = phpmyadmin
+ AccessLogfile = /var/log/hiawatha/phpmyadmin/access.log
+ ErrorLogfile = /var/log/hiawatha/phpmyadmin/error.log
+ StartFile = index.php
+ UseFastCGI = PHP5
+
+}
+
+# Add some more
+
+#VirtualHost {
+# Hostname = www.my-domain.com
+# WebsiteRoot = /svr/http/my-domain/public
+# StartFile = index.php
+# AccessLogfile = /svr/http/my-domain/log/access.log
+# ErrorLogfile = /svr/http/my-domain/log/error.log
+# TimeForCGI = 5
+# UseFastCGI = PHP5
+# UseToolkit = banshee
+#}
+
+
+#Additional settings for monitoring
+
+UrlToolkit {
+ ToolkitID = banshee
+ RequestURI isfile Return
+ Match ^/(css|files|images|js)/ Return
+ Match ^/(favicon.ico|robots.txt|sitemap.xml)$ Return
+ Match .*\?(.*) Rewrite /index.php?$1
+ Match .* Rewrite /index.php
+}
+
+VirtualHost {
+ Hostname = monitor.domain.com
+ WebsiteRoot = /svr/http/monitor/public
+ AccessLogfile = /svr/http/monitor/logfiles/access.log
+ ErrorLogfile = /svr/http/monitor/logfiles/error.log
+ StartFile = index.php
+# ExecuteCGI = yes
+ UseFastCGI = PHP5 # Use if you use PHP as a FastCGI daemon
+ TimeForCGI = 15
+ UseToolkit = banshee
+}
diff --git a/pcr/hiawatha/hiawatha.install b/pcr/hiawatha/hiawatha.install
new file mode 100644
index 000000000..0ea96ec65
--- /dev/null
+++ b/pcr/hiawatha/hiawatha.install
@@ -0,0 +1,37 @@
+pre_install() {
+ /bin/cat <<THEENDPOSTINSTALL
+NOTE
+----
+If you are new to Hiawatha, please refer to http://www.hiawatha-webserver.org/howto
+
+!!!!! This PKGBUILD compiles against the system's PolarSSL library. You will need to install PolarSSL from the AUR.!!!!
+
+THEENDPOSTINSTALL
+}
+
+pre_upgrade() {
+ /bin/cat <<THEENDPOSTINSTALL
+NOTE
+----
+If you are new to Hiawatha, please refer to http://www.hiawatha-webserver.org/howto
+
+!!!!! This PKGBUILD compiles against the system's PolarSSL library. You will need to install PolarSSL from the AUR.!!!!
+
+THEENDPOSTINSTALL
+}
+
+post_install() {
+ /bin/cat <<THEENDPOSTINSTALL
+NOTE
+----
+If you are new to Hiawatha, please refer to http://www.hiawatha-webserver.org/howto
+
+PHP-FPM is the prefered fastcgi server. To install.
+ pacman -Sy php-fpm
+ systemctl enable php-fpm
+
+The file hiawatha.conf.sample demonstrates syntax appropriate for use with the php-fpm fast cgi daemon.
+THEENDPOSTINSTALL
+}
+
+
diff --git a/pcr/hiawatha/hiawatha.service b/pcr/hiawatha/hiawatha.service
new file mode 100644
index 000000000..f7daeb8c7
--- /dev/null
+++ b/pcr/hiawatha/hiawatha.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Hiawatha Web Server
+After=network.target remote-fs.target nss-lookup.target
+
+[Service]
+Type=simple
+SyslogIdentifier=hiawatha
+ExecStartPre=/usr/bin/hiawatha -k ; /usr/bin/wigwam
+ExecStart= /usr/bin/hiawatha -d
+TimeoutSec=10
+#(doesn't like this setting. Can't find files) PrivateTmp=true
+LimitNOFILE=infinity
+CapabilityBoundingSet=CAP_NET_BIND_SERVICE CAP_CHOWN CAP_DAC_OVERRIDE CAP_FOWNER CAP_FSETID CAP_SETGID CAP_SETUID
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/hiredis/ChangeLog b/pcr/hiredis/ChangeLog
new file mode 100644
index 000000000..fbe55643a
--- /dev/null
+++ b/pcr/hiredis/ChangeLog
@@ -0,0 +1,4 @@
+2013-06-07 Vladimir Tsanev <tsachev@gamil.com>
+
+ * 0.11.0-1 :
+ Initial PKGBUILD.
diff --git a/pcr/hiredis/PKGBUILD b/pcr/hiredis/PKGBUILD
new file mode 100644
index 000000000..29762e87e
--- /dev/null
+++ b/pcr/hiredis/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Vladimir Tsanev <tsachev@gmail.com>
+
+pkgname=hiredis
+pkgver=0.11.0
+pkgrel=1
+pkgdesc='minimalistic C client library for Redis'
+arch=('x86_64' 'i686')
+url="https://github.com/redis/hiredis/"
+license=('BSD')
+depends=('glibc')
+changelog='ChangeLog'
+source=(https://codeload.github.com/redis/${pkgname}/tar.gz/v${pkgver})
+md5sums=('e2ac29509823ccc96990b6fe765b5d46')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make
+}
+
+#
+#check() {
+# cd "${srcdir}/${pkgname}-${pkgver}"
+# make test check c
+#}
+
+package() {
+
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make PREFIX="$pkgdir/usr" clean dep install
+
+ install -Dm 644 COPYING "$pkgdir/usr/share/licenses/${pkgname}/COPYING"
+
+}
diff --git a/pcr/idjc/PKGBUILD b/pcr/idjc/PKGBUILD
index 0de01f4e3..6834d64a6 100644
--- a/pcr/idjc/PKGBUILD
+++ b/pcr/idjc/PKGBUILD
@@ -1,35 +1,41 @@
+# Maintainer: M0Rf30
# Contributor: Tobias Luther <tobias [at] tonstrom [dot] de>
# Contributor: GraveDigger
# Contributor: Gaetan Bisson <bisson@archlinux.org>
pkgname=idjc
-pkgver=0.8.8
-pkgrel=1
+pkgver=0.8.9
+pkgrel=2
pkgdesc='Powerful yet easy-to-use source-client for individuals interested in streaming live radio shows over the Internet'
url='http://idjc.sourceforge.net/'
license=('GPL2')
arch=('i686' 'x86_64')
-#depends=('python2' 'jack' 'pygtk' 'lame' 'mutagen' 'flac' 'faad2' 'libsamplerate' 'vorbis-tools' 'libsndfile' 'ffmpeg' 'libmad' 'speex' 'dbus-python' 'imagemagick' 'twolame' 'libshout-idjc-git' 'mpg123')
-depends=('desktop-file-utils' 'python2' 'dbus-python' 'mutagen' 'jack' 'pygtk' 'vorbis-tools' 'libsndfile' 'libsamplerate' 'glib2' 'lame' 'libmad' 'ffmpeg' 'flac' 'speex' 'libshout-idjc')
+depends=('desktop-file-utils' 'python2' 'dbus-python' 'mutagen' 'jack' 'pygtk' 'vorbis-tools' 'libsndfile' 'libsamplerate' 'glib2' 'lame' 'libmad' 'ffmpeg-compat' 'flac' 'speex' 'libshout-idjc')
optdepends=('patchage' 'qjackctl')
makedepends=('pkgconfig')
install=${pkgname}.install
source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz")
-md5sums=('a14ce4cc8c789fce55c7b98081743a4a')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr PYTHON="/usr/bin/python2" --disable-libav
-
- make PYTHON="/usr/bin/python2"
-
+ export PYTHON=/usr/bin/python2
+ PKG_CONFIG_PATH+="/usr/lib/ffmpeg-compat/pkgconfig"
+ ./configure \
+ --prefix=/usr \
+ --libexecdir=/usr/lib \
+ --disable-static
+# --disable-libav
+
+ make
}
package() {
cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR="${pkgdir}" PYTHON="/usr/bin/python2" install
+ make DESTDIR="${pkgdir}" install
sed -i 's|#! /usr/bin/python22.7|#! /usr/bin/python2|' ${pkgdir}/usr/bin/idjc
}
+
+md5sums=('99abfe98f13170ab6b1ed17a8f1632e1')
diff --git a/pcr/imagemagick-srv/PKGBUILD b/pcr/imagemagick-srv/PKGBUILD
new file mode 100644
index 000000000..9dc9c4cb2
--- /dev/null
+++ b/pcr/imagemagick-srv/PKGBUILD
@@ -0,0 +1,80 @@
+# $Id$
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+pkgbase=imagemagick
+pkgname=imagemagick-srv
+pkgver=6.8.6.8
+pkgrel=1
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.imagemagick.org/"
+license=('custom')
+provides=("$pkgbase=$pkgver")
+conflicts=$pkgbase
+replaces=$pkgbase
+makedepends=('libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'ghostscript-libre' \
+ 'openexr-libre' 'libwmf' 'librsvg' 'libxml2' 'jasper' 'liblqr' \
+ 'libwebp') # libcl opencl-headers
+#source=(http://www.imagemagick.org/download/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz \
+source=(ftp://ftp.sunet.se/pub/multimedia/graphics/ImageMagick/ImageMagick-${pkgver%.*}-${pkgver##*.}.tar.xz \
+ perlmagick.rpath.patch)
+sha1sums=('fe298492c6be08eb887d02b75efeb609fa6c4d61'
+ 'e143cf9d530fabf3b58023899b5cc544ba93daec')
+
+prepare() {
+ cd ImageMagick-${pkgver%.*}-${pkgver##*.}
+ sed '/AC_PATH_XTRA/d' -i configure.ac
+ autoreconf --force --install
+ patch -p0 -i "${srcdir}/perlmagick.rpath.patch"
+}
+
+build() {
+ cd ImageMagick-${pkgver%.*}-${pkgver##*.}
+ ./configure --prefix=/usr --sysconfdir=/etc --with-modules --disable-static \
+ --disable-hdri --with-wmf --with-openexr --with-xml --with-lcms2 --with-jp2 \
+ --with-webp --with-gslib --with-gs-font-dir=/usr/share/fonts/Type1 \
+ --with-perl --with-perl-options="INSTALLDIRS=vendor" --with-lqr --with-rsvg \
+ --disable-opencl --without-gvc --without-djvu --without-autotrace \
+ --without-jbig --without-fpx --without-dps --without-fftw
+ make
+}
+
+check() {
+ cd ImageMagick-${pkgver%.*}-${pkgver##*.}
+ make check
+}
+
+package_imagemagick-srv() {
+ pkgdesc="An image viewing/manipulation program (for web servers)"
+ depends=('perl' 'libltdl' 'lcms2' 'libxt' 'fontconfig' 'libxext' 'liblqr') # 'libcl')
+ optdepends=('ghostscript-libre: for Ghostscript support'
+ 'openexr-libre: for OpenEXR support'
+ 'libwmf: for WMF support'
+ 'librsvg: for SVG support'
+ 'libxml2: for XML support'
+ 'jasper: for JPEG-2000 support'
+ 'libpng: for PNG support'
+ 'libwebp: for WEBP support')
+ backup=("etc/ImageMagick-${pkgver%%.*}/coder.xml"
+ "etc/ImageMagick-${pkgver%%.*}/colors.xml"
+ "etc/ImageMagick-${pkgver%%.*}/delegates.xml"
+ "etc/ImageMagick-${pkgver%%.*}/log.xml"
+ "etc/ImageMagick-${pkgver%%.*}/magic.xml"
+ "etc/ImageMagick-${pkgver%%.*}/mime.xml"
+ "etc/ImageMagick-${pkgver%%.*}/policy.xml"
+ "etc/ImageMagick-${pkgver%%.*}/quantization-table.xml"
+ "etc/ImageMagick-${pkgver%%.*}/thresholds.xml"
+ "etc/ImageMagick-${pkgver%%.*}/type.xml"
+ "etc/ImageMagick-${pkgver%%.*}/type-dejavu.xml"
+ "etc/ImageMagick-${pkgver%%.*}/type-ghostscript.xml"
+ "etc/ImageMagick-${pkgver%%.*}/type-windows.xml")
+ options=('!docs' 'libtool' '!emptydirs')
+
+ cd ImageMagick-${pkgver%.*}-${pkgver##*.}
+ make -j1 DESTDIR="${pkgdir}" install
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/imagemagick/LICENSE"
+ install -Dm644 NOTICE "${pkgdir}/usr/share/licenses/imagemagick/NOTICE"
+
+#Cleaning
+ rm -f "${pkgdir}"/usr/lib/*.la
+}
diff --git a/pcr/imagemagick-srv/perlmagick.rpath.patch b/pcr/imagemagick-srv/perlmagick.rpath.patch
new file mode 100644
index 000000000..a5b1a82e2
--- /dev/null
+++ b/pcr/imagemagick-srv/perlmagick.rpath.patch
@@ -0,0 +1,11 @@
+--- Makefile.in.orig 2013-02-21 03:26:56.785156600 -0500
++++ Makefile.in 2013-02-21 03:39:03.102411457 -0500
+@@ -10469,6 +10469,8 @@
+
+ @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@$(PERLMAKEFILE): perl-sources $(MAGICKCORE_LIBS) $(MAGICKWAND_LIBS) $(PERLMAKEMAKER)
+ @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @PERL@ Makefile.PL $(PERL_MAKE_OPTIONS)
++@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @SED@ -i 's|LD_RUN_PATH|DIE_LD_RUN_PATH_DIE|g' Makefile
++@WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ cd $(PERLMAGICK) && @SED@ -i 's|LD_RUN_PATH|DIE_LD_RUN_PATH_DIE|g' quantum/Makefile
+
+ @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@install-exec-perl: $(PERLMAKEFILE)
+ @WITH_PERL_DYNAMIC_TRUE@@WITH_PERL_TRUE@ ( cd $(PERLMAGICK) && $(MAKE) CC='@CC@' && \
diff --git a/pcr/jalv/PKGBUILD b/pcr/jalv/PKGBUILD
deleted file mode 100644
index 6100c5902..000000000
--- a/pcr/jalv/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
-
-pkgname=jalv
-pkgver=1.4.0
-pkgrel=1
-pkgdesc="Run an LV2 plugin as a JACK application"
-arch=('i686')
-url="http://drobilla.net/software/$pkgname/"
-license=('custom:ISC')
-depends=('lilv' 'suil')
-makedepends=('python2' 'qt4' 'gtk2' 'gtk3' 'gtkmm')
-optdepends=('qt4: Qt 4.x frontend'
- 'gtk2: Gtk+ 2.x frontend'
- 'gtk3: Gtk+ 3.x frontend'
- 'gtkmm: Gtk++ 2.x frontend')
-source=("http://download.drobilla.net/$pkgname-$pkgver.tar.bz2")
-md5sums=('23297b15cb541e0b3c5c05a2fdd9bcca')
-
-build() {
- cd "$srcdir/$pkgname-$pkgver"
-
- python2 waf configure --prefix=/usr
- python2 waf
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver"
- python2 waf install --destdir="$pkgdir"
-
- # license
- install -Dm644 COPYING \
- "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}
diff --git a/pcr/kamailio/PKGBUILD b/pcr/kamailio/PKGBUILD
new file mode 100644
index 000000000..3e040a495
--- /dev/null
+++ b/pcr/kamailio/PKGBUILD
@@ -0,0 +1,36 @@
+# Maintainer: Xavier Devlamynck <magicrhesus@ouranos.be>
+
+pkgname=kamailio
+pkgver=4.0.1
+pkgrel=1
+pkgdesc="Rock solid SIP server"
+url="http://www.kamailio.org/"
+license=('GPL2')
+arch=('i686' 'x86_64')
+makedepends=('flex' 'bison' 'docbook2x' 'mariadb' 'postgresql' 'libxml2'
+ 'radiusclient-ng' 'lua51' 'mono' 'hiredis' 'libpurple' 'net-snmp'
+ 'libunistring' 'python2')
+optdepends=('mariadb: mysql support'
+ 'expat: xmpp/jabber support'
+ 'libxml2: cpl and presence modules support'
+ 'radiusclient-ng: radius support'
+ 'postgresql: postgresql backend')
+source=(http://www.kamailio.org/pub/kamailio/$pkgver/src/kamailio-${pkgver}_src.tar.gz)
+sha256sums=('dd8652f47a572c0b0e1e45bdd0f6f838a14e50f2dbbeed77726ec0c7076e1769')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make cfg prefix=/usr cfg_prefix=/ bin_dir=/usr/bin
+ make PYTHON="python2" all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make prefix=${pkgdir}/usr \
+ PYTHON="python2" \
+ cfg_prefix=${pkgdir} \
+ bind_dir=${pkgdir}/usr/bin \
+ bingroup_include="standard standard-dep stable experimental" \
+ skip_modules="iptrtpproxy osp dbtext oracle" \
+ install
+}
diff --git a/pcr/kervalasquish-hg/PKGBUILD b/pcr/kervalasquish-hg/PKGBUILD
deleted file mode 100644
index e5e489950..000000000
--- a/pcr/kervalasquish-hg/PKGBUILD
+++ /dev/null
@@ -1,72 +0,0 @@
-# Maintainer: Jorge Araya <jorgean@lavabit.com>
-
-pkgname=kervalasquish-hg
-pkgver=220
-pkgrel=2
-pkgdesc="Free Software DXT compression library, kervala's version"
-arch=('i686' 'x86_64')
-url="http://code.google.com/p/libsquish/"
-license=('MIT')
-makedepends=('mercurial' 'gcc-libs' 'cmake')
-provides=('libsquish')
-conflicts=('libsquish'
- 'kervala_libsquish-hg'
- 'kervalasquish-hg')
-
-_hgroot="http://hg.kervala.net"
-_hgrepo="packaging"
-cmakerepo="cmake"
-
-build() {
- cd "$srcdir"
- msg "Connecting to Kervala's Mercurial server for libsquish..."
-
- if [[ -d "$_hgrepo" ]]; then
- cd "$_hgrepo"
- hg pull -u
- msg "The local files are updated."
- else
- hg clone "${_hgroot}/${_hgrepo}"
- fi
-
- msg "Connecting to Kervala's Mercurial server for cmake modules..."
-
- if [[ -d $srcdir/$cmakerepo ]]; then
- cd $srcdir/$cmakerepo
- hg pull -u
- msg "The local files are updated."
- else
- cd $srcdir
- hg clone ${_hgroot}/${cmakerepo}
- fi
-
- msg "Mercurial checkout done or server timeout"
- msg "Starting build..."
-
- if [[ -d $_hgrepo-build ]]; then
- rm -rf "$srcdir/$_hgrepo-build"
- fi
-
- cp -r "$srcdir/$_hgrepo/squish" "$srcdir/$_hgrepo-build"
-
- if [[ ! -d $_hgrepo-build/CMakeModules ]]; then
- mkdir "$srcdir/$_hgrepo-build/CMakeModules"
- cp $srcdir/cmake/modules/common.cmake $srcdir/$_hgrepo-build/CMakeModules/
- fi
-
- if [[ -d $srcdir/$_hgrepo-build/build ]]; then
- rm -rf $srcdir/$_hgrepo-build/build
- fi
-
- mkdir "$srcdir/$_hgrepo-build/build"
- cd "$srcdir/$_hgrepo-build/build"
- cmake -DCMAKE_INSTALL_PREFIX=/usr ..
- make
-}
-
-package() {
- cd "$srcdir/$_hgrepo-build/build"
- make DESTDIR="${pkgdir}" install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/kompozer/PKGBUILD b/pcr/kompozer/PKGBUILD
index 7b556e166..a65fb3e3b 100644
--- a/pcr/kompozer/PKGBUILD
+++ b/pcr/kompozer/PKGBUILD
@@ -1,59 +1,69 @@
-# Contributor: peace4all <markspost at rocketmail dot com>
+# Maintainer: Muflone <webreg@vbsimple.net>
+# Contributor: ingamedeo <ingamedeo at gmail dot com>
# Maintainer : Parabola GNU / Linux-libre <aurelien@cwb.io>
# thanks to tadzio, and techlive for the investigation
# work and fix included as the NS_IMETHOD_i686.patch
+# Sorry for not honouring makepkg.conf (!buildflags)
+# but the source doesn't compile with makepkg's default C/CXXFLAGS
+
pkgname=kompozer
pkgver=0.8b3
-pkgrel=10
+pkgrel=12
pkgdesc="A Dreamweaver style WYSIWYG web editor; Nvu unofficial bug-fix release"
arch=('x86_64' 'i686')
license=('GPL')
url="http://www.kompozer.net"
depends=('gtk2' 'glib2' 'pango' 'pangox-compat' 'nss' 'libxt' 'libidl2' 'gnome-vfs')
makedepends=('zip' 'pkgconfig')
-source=("http://downloads.sourceforge.net/kompozer/$pkgname-$pkgver-src.tar.bz2"
- 'kompozer.desktop'
- 'mozconfig.patch'
- 'kompozer-libpng15.patch'
- 'kompozer-libpng14.patch'
- 'gcc46_default_ctors.patch'
- 'kompozer_gcc_4.7.patch'
- 'any_kernel_26_plus.patch'
- 'NS_IMETHOD_i686.patch')
+options=('!buildflags')
+source=("http://downloads.sourceforge.net/kompozer/${pkgname}-${pkgver}-src.tar.bz2"
+ 'kompozer.desktop'
+ 'mozconfig.patch'
+ 'kompozer-libpng15.patch'
+ 'kompozer-libpng14.patch'
+ 'gcc46_default_ctors.patch'
+ 'kompozer_gcc_4.7.patch'
+ 'any_kernel_26_plus.patch'
+ 'NS_IMETHOD_i686.patch')
md5sums=('cd4664ecda908666b19ef0607010c627'
'ed8edf6817892a38b8b181fc9b2caaea'
- '4778f967307cf569089daca843de1df9'
+ '4778f967307cf569089daca843de1df9'
'4852034f99e7943071946e7eedc6c2f5'
'd5ba90f7fbaed76f77a6d9717e86f3a5'
'ad3ec5cbc6677dd712b140148398f58f'
- '75b0e1cad65dbeb8feedac5d4f52be32'
+ '75b0e1cad65dbeb8feedac5d4f52be32'
'58a294356b3e17ad070e4c93180bf0ad'
'186c47586bebf83b9b76d339e3a38c95')
build() {
- cd "$srcdir/mozilla"
-
- patch -Np0 -i "$srcdir/mozconfig.patch"
- patch -Np0 -i "$srcdir/kompozer-libpng14.patch"
- patch -Np0 -i "$srcdir/kompozer-libpng15.patch"
- patch -Np0 -i "$srcdir/gcc46_default_ctors.patch"
- patch -Np0 -i "$srcdir/kompozer_gcc_4.7.patch"
- patch -Np0 -i "$srcdir/any_kernel_26_plus.patch"
- patch -Np0 -i "$srcdir/NS_IMETHOD_i686.patch"
-
- make -f client.mk build
+ cd "${srcdir}/mozilla"
+ patch -Np0 -i "${srcdir}/mozconfig.patch"
+ patch -Np0 -i "${srcdir}/kompozer-libpng14.patch"
+ patch -Np0 -i "${srcdir}/kompozer-libpng15.patch"
+ patch -Np0 -i "${srcdir}/gcc46_default_ctors.patch"
+ patch -Np0 -i "${srcdir}/kompozer_gcc_4.7.patch"
+ patch -Np0 -i "${srcdir}/any_kernel_26_plus.patch"
+ patch -Np0 -i "${srcdir}/NS_IMETHOD_i686.patch"
+
+ #make -f client.mk build #If is causing a lot of problem...try to build the package as normally
+ ./configure
+ make
}
package() {
- cd "$srcdir/obj-kompozer"
+ cd "${srcdir}/mozilla"
+
+ make DESTDIR=${pkgdir} install
+ # Remove nspr.m4 because it's now provided by nspr package
+ rm "${pkgdir}/usr/share/aclocal/nspr.m4"
+ rmdir "${pkgdir}/usr/share/aclocal"
- make DESTDIR=$pkgdir install
- install -m755 -dD "$pkgdir/usr/share/applications/"
- install -m644 "$srcdir/kompozer.desktop" "$pkgdir/usr/share/applications/"
+ install -m755 -dD "${pkgdir}/usr/share/applications/"
+ install -m644 "${srcdir}/kompozer.desktop" "${pkgdir}/usr/share/applications/"
- mkdir -p "$pkgdir/usr/share/pixmaps/"
- ln -s "/usr/lib/kompozer/icons/mozicon256.png" "$pkgdir/usr/share/pixmaps/kompozer.png"
- ln -s "/usr/lib/kompozer/icons/mozicon50.xpm" "$pkgdir/usr/share/pixmaps/kompozer.xpm"
+ install -d -m755 "${pkgdir}/usr/share/pixmaps/"
+ ln -s "/usr/lib/kompozer/icons/mozicon256.png" "${pkgdir}/usr/share/pixmaps/kompozer.png"
+ ln -s "/usr/lib/kompozer/icons/mozicon50.xpm" "${pkgdir}/usr/share/pixmaps/kompozer.xpm"
}
diff --git a/pcr/lcmc/PKGBUILD b/pcr/lcmc/PKGBUILD
index 538949f60..6b27ff5f4 100644
--- a/pcr/lcmc/PKGBUILD
+++ b/pcr/lcmc/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=lcmc
pkgver=1.5.1
diff --git a/pcr/libav-builder/PKGBUILD b/pcr/libav-builder/PKGBUILD
deleted file mode 100644
index 5f7168f86..000000000
--- a/pcr/libav-builder/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-static=false
-pkgbase=libav
-if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
- pkgname=libav-static-builder
-elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then
- pkgname=libav-builder
-fi
-pkgflag=builder
-pkgver=9.3
-pkgrel=1
-pkgdesc="Link files on /usr/include and /usr/lib dir (ONLY FOR BUILD OTHERS PACKAGES)"
-arch=any
-url="http://$pkgbase.org/"
-license=GPL
-depends=${pkgname%-$pkgflag}=$pkgver
-conflicts=(
- ffmpeg
- ffmpeg-static
-)
-if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
- conflicts+=(
- ${pkgname%-static-$pkgflag}
- )
-elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then
- conflicts+=(
- ${pkgname%-$pkgflag}-static
- )
-fi
-
-package() {
- install -m755 -d $pkgdir/usr/{include,lib{,/pkgconfig}}
- include_list=$(ls /opt/${pkgname%-$pkgflag}/include)
- for i in $include_list; do
- ln -s /opt/${pkgname%-$pkgflag}/include/$i $pkgdir/usr/include
- done
- lib_list=$(ls /opt/${pkgname%-$pkgflag}/lib | grep lib)
- for l in $lib_list; do
- ln -s /opt/${pkgname%-$pkgflag}/lib/$l $pkgdir/usr/lib
- done
- pkgconfig_list=$(ls /opt/${pkgname%-$pkgflag}/lib/pkgconfig)
- for c in $pkgconfig_list; do
- ln -s /opt/${pkgname%-$pkgflag}/lib/pkgconfig/$c $pkgdir/usr/lib/pkgconfig
- done
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/libav/PKGBUILD b/pcr/libav/PKGBUILD
index 05dd756c0..c0fb9e062 100644
--- a/pcr/libav/PKGBUILD
+++ b/pcr/libav/PKGBUILD
@@ -1,30 +1,16 @@
-# $Id$
-# Maintainer : Ionut Biru <ibiru@archlinux.org>
-# Contributor: Tom Newsom <Jeepster@gmx.co.uk>
-# Contributor: Paul Mattal <paul@archlinux.org>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
-static=false
-pkgbase=libav
-if [[ $static == true ]] || [[ $static == 1 ]] || [[ $static == enable ]]; then
- pkgname=libav-static
- pkgflag=-static
- staticdesc=', with static library'
-elif [[ $static == false ]] || [[ $static == 0 ]] || [[ $static == disable ]]; then
- pkgname=libav
-fi
-pkgver=9.3
-pkgrel=1
-pkgdesc="Complete and free Internet live audio and video broadcasting solution for GNU/Linux$staticdesc"
+pkgname=libav
+pkgver=9.8
+pkgrel=3
+pkgdesc="Complete and free Internet live audio and video broadcasting solution for GNU/Linux"
arch=(
- i686
- x86_64
mips64el
+ x86_64
+ i686
)
-url="http://$pkgbase.org/"
-license=(
- GPL
-)
+url=http://$pkgname.org/
+license=GPL3
depends=(
alsa-lib
bzip2
@@ -37,7 +23,8 @@ depends=(
libvorbis
libvpx
opencore-amr
- openjpeg
+ #openjpeg
+ opus
rtmpdump
schroedinger
sdl
@@ -50,30 +37,42 @@ makedepends=(
yasm
libvdpau
)
-source=(
- http://$pkgbase.org/releases/$pkgbase-$pkgver.tar.gz
-)
-sha512sums=(
- de3aaa571fed67d22ec2a0c53599af56684afa38445cf67fd09d26c23eeded5a184d045f472d414815d17783b421f937fd3d9565637e20f2050aaaf0081164fe
-)
+source=http://$pkgname.org/releases/$pkgname-$pkgver.tar.gz
+sha512sums=ef7c164fb29d365a236ead927e6355ca9191203dce86f0d0d8251f275ed5be4ab5e3f56a0c51384d7b9e83c3c3ef7ebdee95c9a7ac7b6520eaf25973a2bd20ae
build() {
- cd $pkgbase-$pkgver
-
- [[ $static == false ]] && sttcv=disable || sttcv=enable
-
+ cd $pkgname-$pkgver
+ if [[ $CARCH == x86_64 ]]; then
+ _asm='--disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vis --disable-altivec\
+ --enable-amd3dnow --enable-mmx --enable-mmxext --enable-amd3dnow --enable-amd3dnowext --enable-sse --enable-sse2 --enable-sse3\
+ --enable-avx --enable-fma4 --enable-sse3 --enable-ssse3 --enable-sse4 --enable-sse42'
+ elif [[ $CARCH == i686 ]]; then
+ _asm='--disable-armv5te --disable-armv6 --disable-armv6t2 --disable-neon --disable-vfp --disable-vis --disable-altivec\
+ --enable-amd3dnow --enable-mmx --enable-mmxext --enable-amd3dnow --enable-amd3dnowext --enable-sse --enable-sse2 --enable-sse3\
+ --disable-avx --disable-fma4 --disable-sse3 --disable-ssse3 --disable-sse4 --disable-sse42'
+ else
+ _asm='--disable-asm'
+ fi
+ [[ $_static == false ]] && _stf='--disable-static'
./configure\
- --prefix=/opt/$pkgname\
+ $_asm $_stf\
+ --prefix=/usr\
+ --bindir=/opt/$pkgname/bin\
+ --incdir=/opt/$pkgname/include\
+ --libdir=/opt/$pkgname/lib\
+ --shlibdir=/opt/$pkgname/lib\
+ --disable-avserver\
--disable-debug\
- --$sttcv-static\
--enable-avresample\
+ --enable-dxva2\
--enable-gpl\
--enable-libfreetype\
--enable-libgsm\
--enable-libmp3lame\
--enable-libopencore_amrnb\
--enable-libopencore_amrwb\
- --enable-libopenjpeg\
+ --disable-libopenjpeg\
+ --enable-libopus\
--enable-libpulse\
--enable-librtmp\
--enable-libschroedinger\
@@ -83,31 +82,27 @@ build() {
--enable-libvpx\
--enable-libx264\
--enable-libxvid\
+ --enable-pic\
--enable-runtime-cpudetect\
--enable-shared\
+ --enable-vdpau\
--enable-version3\
--enable-x11grab
-
- setarch $CARCH make
- setarch $CARCH make tools/qt-faststart
- setarch $CARCH make doc/av{conv,play,server}.1
+ make
+ make tools/qt-faststart
+ make doc/av{conv,play}.1 # doc/avserver.1
}
package() {
- cd $pkgbase-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install install-man
- install -m755 -d $pkgdir/etc/ld.so.conf.d
- install -m755 -d $pkgdir/usr/bin
- install -m755 -d $pkgdir/usr/share/man/man1
- install -Dm755 tools/qt-faststart $pkgdir/opt/$pkgname/bin
- ln -s /opt/$pkgname/bin/avconv $pkgdir/usr/bin/avconv$pkgflag
- ln -s /opt/$pkgname/bin/avplay $pkgdir/usr/bin/avplay$pkgflag
- ln -s /opt/$pkgname/bin/avprobe $pkgdir/usr/bin/avprobe$pkgflag
- ln -s /opt/$pkgname/bin/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname
- ln -s /opt/$pkgname/share/man/man1/avconv.1 $pkgdir/usr/share/man/man1/avconv$pkgflag.1
- ln -s /opt/$pkgname/share/man/man1/avplay.1 $pkgdir/usr/share/man/man1/avplay$pkgflag.1
- ln -s /opt/$pkgname/share/man/man1/avprobe.1 $pkgdir/usr/share/man/man1/avprobe$pkgflag.1
- echo /opt/libav$pkgflag/lib > $pkgdir/etc/ld.so.conf.d/libav$pkgflag.conf
+ cd $pkgname-$pkgver
+
+ make DESTDIR=$pkgdir install install-man
+ install -vD tools/qt-faststart $pkgdir/usr/bin/qt-faststart-$pkgname
+
+ for _bin in conv play probe; do
+ echo -e "#!/usr/bin/env bash\nLD_LIBRARY_PATH=/opt/$pkgname/lib /opt/$pkgname/bin/av$_bin \$@" > $pkgdir/usr/bin/av$_bin
+ done
+ chmod -v +x $pkgdir/usr/bin/*
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/libcgroup/PKGBUILD b/pcr/libcgroup/PKGBUILD
new file mode 100644
index 000000000..849a5c128
--- /dev/null
+++ b/pcr/libcgroup/PKGBUILD
@@ -0,0 +1,57 @@
+# Maintainer: Christian Hesse <mail@eworm.de>
+# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com>
+
+pkgname=libcgroup
+pkgver=0.40rc1
+pkgrel=1
+pkgdesc="Library that abstracts the control group file system in Linux"
+arch=('i686' 'x86_64')
+url="http://libcg.sourceforge.net"
+license=(LGPL)
+backup=('etc/cgconfig.conf'
+ 'etc/cgrules.conf'
+ 'etc/cgsnapshot_blacklist.conf')
+options=('!emptydirs' '!libtool')
+install=libcgroup.install
+source=("http://downloads.sourceforge.net/libcg/${pkgname}-${pkgver/rc/.rc}.tar.bz2"
+ 'cgconfig.service'
+ 'cgrules.service')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc/.rc}"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --sbindir=/usr/bin \
+ --enable-opaque-hierarchy=name=systemd
+
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver/rc/.rc}"
+
+ make DESTDIR="${pkgdir}" pkgconfigdir="/usr/lib/pkgconfig" install
+
+ install -D -m0644 samples/cgconfig.conf "${pkgdir}/etc/cgconfig.conf"
+ install -D -m0644 samples/cgrules.conf "${pkgdir}/etc/cgrules.conf"
+ install -D -m0644 samples/cgsnapshot_blacklist.conf "${pkgdir}/etc/cgsnapshot_blacklist.conf"
+
+ install -D -m0644 ${srcdir}/cgconfig.service "${pkgdir}/usr/lib/systemd/system/cgconfig.service"
+ install -D -m0644 ${srcdir}/cgrules.service "${pkgdir}/usr/lib/systemd/system/cgrules.service"
+
+ rm -f ${pkgdir}/usr/lib/security/pam_cgroup.{la,so,so.0}
+ mv ${pkgdir}/usr/lib/security/pam_cgroup.so.0.0.0 ${pkgdir}/usr/lib/security/pam_cgroup.so
+
+ rm -rf ${pkgdir}/etc/rc.d
+
+ # Make cgexec setgid cgred
+ chown root:160 ${pkgdir}/usr/bin/cgexec
+ chmod 2755 ${pkgdir}/usr/bin/cgexec
+}
+
+sha256sums=('c2fa2cfdfd1023093afb6de456fc3ac000f92a2f01b905bcdda1c3e36ad44072'
+ '808fc354abf36d7b6673dad790be275309ac57a2606d1be3732b9b3aeb5885eb'
+ '6b1340ff6717f55e5e57dacc72accc0bfaed7e50ef31439271b6ddc893cbf671')
diff --git a/pcr/libcgroup/cgconfig.service b/pcr/libcgroup/cgconfig.service
new file mode 100644
index 000000000..3e6689d77
--- /dev/null
+++ b/pcr/libcgroup/cgconfig.service
@@ -0,0 +1,17 @@
+[Unit]
+Description=Control Group configuration service
+
+# The service should be able to start as soon as possible,
+# before any 'normal' services:
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+
+[Service]
+Type=oneshot
+RemainAfterExit=yes
+ExecStart=/usr/bin/cgconfigparser -l /etc/cgconfig.conf -s 1664
+ExecStop=/usr/bin/cgclear -l /etc/cgconfig.conf -e
+
+[Install]
+WantedBy=sysinit.target
diff --git a/pcr/libcgroup/cgrules.service b/pcr/libcgroup/cgrules.service
new file mode 100644
index 000000000..cd0bf34fb
--- /dev/null
+++ b/pcr/libcgroup/cgrules.service
@@ -0,0 +1,16 @@
+[Unit]
+Description=Control Group rules service
+
+# The service should be able to start as soon as possible,
+# before any 'normal' services:
+DefaultDependencies=no
+Conflicts=shutdown.target
+Before=basic.target shutdown.target
+After=cgconfig.service
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/cgrulesengd -n -f -
+
+[Install]
+WantedBy=sysinit.target
diff --git a/pcr/libcgroup/libcgroup.install b/pcr/libcgroup/libcgroup.install
new file mode 100644
index 000000000..a78216add
--- /dev/null
+++ b/pcr/libcgroup/libcgroup.install
@@ -0,0 +1,11 @@
+post_install() {
+ getent group cgred &>/dev/null || groupadd -r -g 160 cgred >/dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ getent group cgred &>/dev/null && groupdel cgred >/dev/null
+}
diff --git a/pcr/libqb/PKGBUILD b/pcr/libqb/PKGBUILD
index 6b9d7d9d7..85b3ff082 100644
--- a/pcr/libqb/PKGBUILD
+++ b/pcr/libqb/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=libqb
pkgver=0.14.4
-pkgrel=2
+pkgrel=3
pkgdesc='Library with the primary purpose of providing high performance client server reusable features'
arch=(
i686
@@ -14,7 +14,7 @@ makedepends=(
splint
)
license=LGPL2.1
-options=!libtool
+options=(!libtool)
url=https://github.com/asalkeld/$pkgname/wiki
source=https://github.com/asalkeld/$pkgname/archive/v$pkgver.tar.gz
sha512sums=1377e38d5547eb516b255c0aa0972e858048053202692d7d5ef1c746d79dee2c78eddc29e797215376990f2c776b34261f765858606b59d77f9218fb0dac5977
@@ -25,7 +25,8 @@ build() {
setarch $CARCH ./configure --prefix=/usr\
--disable-fatal-warnings\
--disable-static\
- --libdir=/usr/lib
+ --libdir=/usr/lib\
+ --sbindir=/usr/bin
setarch $CARCH make
}
diff --git a/pcr/libquvi-scripts-current/PKGBUILD b/pcr/libquvi-scripts-current/PKGBUILD
new file mode 100644
index 000000000..bce42b0e4
--- /dev/null
+++ b/pcr/libquvi-scripts-current/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 188870 2013-06-23 17:45:51Z heftig $
+# Maintainer: Lukas Fleischer <archlinux at cryptocrack dot de>
+
+pkgname=libquvi-scripts-current
+_pkgname=libquvi-scripts
+provides=(libquvi-scripts)
+pkgver=0.4.18
+pkgrel=1
+pkgdesc='Library for parsing video download links.'
+arch=('any')
+url='http://quvi.sourceforge.net/'
+license=('LGPL')
+depends=('curl' 'lua')
+options=('!libtool')
+source=("http://downloads.sourceforge.net/sourceforge/quvi/${_pkgname}-${pkgver}.tar.xz"{,.sig})
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+ ./configure --prefix=/usr --with-nsfw --with-nlfy
+ make
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
+md5sums=('d36f966974c851d36136c75d462fb319'
+ 'SKIP')
diff --git a/pcr/librevpn-git/PKGBUILD b/pcr/librevpn-git/PKGBUILD
new file mode 100644
index 000000000..551a984e2
--- /dev/null
+++ b/pcr/librevpn-git/PKGBUILD
@@ -0,0 +1,145 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+ _branch=master
+#_branch=feature/empaquetable
+
+if [[ $_branch == master ]]; then
+ # committer Nicolás Reynolds <fauno@endefensadelsl.org> 2013-07-30 17:16:33 (GMT)
+ _srcver=20130730
+ _commit=fb7d07789398d7b68ed437db75c68a24b0c17905
+ _sha512sums=4dc77346fe6294d3bcfc47ead15f722bee628daf2a28d3fef9a15960038395140ee98918a4502ed1ed186bedbe2a83d9e68a202323523c8461476776bd3fdb2b
+fi
+
+if [[ $_branch == feature/empaquetable ]]; then
+ # committer Nicolás Reynolds <fauno@endefensadelsl.org> 2013-07-29 02:41:53 (GMT)
+ _srcver=20130729
+ _commit=5ee3d723da187d85f8b789998f98c8aebec843f7
+ _sha512sums=f4c62b6bda67ce97eff9b35223f6c8d03c813e0151e81289006d8303e3296ed6346c2fb2b3835309d0902d9ea2ea73d4536636f544039ada5ae3d737600b0ebc
+fi
+
+_srcname=lvpn
+_pkgname=librevpn
+pkgname=$_pkgname-git
+pkgver=$_srcver
+pkgrel=3
+pkgdesc='Free Virtual Network with tinc2dot and generate-ipv6-address'
+url=http://$_pkgname.org.ar/
+license=('AGPL3:(lvpn, tinc2dot)' 'MIT:(generate-ipv6-address)')
+arch=(mips64el x86_64 i686)
+depends=(avahi bash tinc)
+optdepends=(
+ 'graphviz: for graph and tinc2dot'
+ 'libnatpmp: (AUR)'
+ miniupnpc
+ 'python2: for avahi-publish-alias'
+ python2-bottle
+ 'ruby: for graph'
+ sudo
+)
+provides=($_pkgname)
+conflicts=$_pkgname
+source=$_srcname-$_commit.tar.xz::http://repo.hackcoop.com.ar/$_pkgname.git/snapshot/$_commit.tar.xz
+sha512sums=$_sha512sums
+
+build() {
+ cd $srcdir/$_commit
+
+ if [[ $_branch == feature/empaquetable ]]; then
+ sed -i '\|generate-ipv6-address|d;\|natpmp|d;\|upnpc|d' Makefile
+ sed -i '\|LVPN_DIR=| s|${PWD}|/usr/share/lvpn|' $_srcname.in
+ sed -i 's|${LVPN_DIR}/bin|/usr/bin|;
+ s|$(uname -m)-||;
+ ' lib/common
+ make PREFIX=/usr
+ fi
+
+ cd $srcdir/$_commit/etc/generate-ipv6-address-0.1
+ sed -i 's|`uname -m`-||;s|/man/man8|/share/man/man8|' Makefile
+ make PREFIX=/usr
+}
+
+package() {
+ cd $srcdir/$_commit
+
+ if [[ $_branch == feature/empaquetable ]]; then
+ make PREFIX=$pkgdir/usr TEXTDOMAINDIR=$pkgdir/usr/share/locale install
+
+ msg 'Installing scripts files'
+ install -vm755 bin/avahi-publish-alias $pkgdir/usr/share/$_srcname
+ install -vm755 bin/graph $pkgdir/usr/share/$_srcname # conflicts with plotutils on /usr/bin
+ install -vm755 bin/tinc2dot $pkgdir/usr/share/$_srcname # tinc2dot 0.2.1 script
+ install -vm755 bin/cronjob $pkgdir/usr/share/$_srcname/fauno-cronjob # fauno script
+
+ msg 'Removing dirs'
+ rmdir -v $pkgdir/usr/share/locale/pacman-scripts
+
+ msg 'Fixing beagle patch'
+ rmdir -v $pkgdir/usr/share/$_srcname/beadle
+ ln -vs hosts $pkgdir/usr/share/$_srcname/beadle
+
+ msg 'Adding doc patch'
+ install -vd $pkgdir/usr/share/doc
+ ln -vs ../$_srcname $pkgdir/usr/share/doc/$_srcname
+
+ msg 'Installing locale files'
+ _locales=(en)
+ for _po in ${_locales[@]}; do
+ install -vd $pkgdir/usr/share/locale/$_po/LC_MESSAGES
+ msgfmt -o $pkgdir/usr/share/locale/$_po/LC_MESSAGES/$_srcname.mo locale/$_po.po
+ done
+ fi
+
+ if [[ $_branch == master ]]; then
+ cd $srcdir/$_commit
+
+ msg 'Fixing patchs with sed'
+ sed -i '\|LVPN=| s|$(readlink -f $0)|lvpn|;
+ \|LVPN_DIR=| s|$(dirname "$LVPN")|/usr/share/lvpn|;
+ \|LVPN_BIN=| s|${LVPN_DIR}|/usr|;
+ \|LVPN_LIBDIR=| s|${LVPN_DIR}/lib|/usr/lib/lvpn|;
+ ' $_srcname
+ sed -i 's|${LVPN_DIR}/bin|/usr/bin|;
+ s|$(uname -m)-||;
+ ' lib/{common,lvpn-init}
+
+ msg 'Copying doc, hosts and lib dirs'
+ install -vd $pkgdir/usr/{lib,share/$_srcname}
+ cp -va doc $pkgdir/usr/share/$_srcname
+ cp -va hosts $pkgdir/usr/share/$_srcname
+ cp -va lib $pkgdir/usr/lib/$_srcname
+
+ msg 'Installing scripts files'
+ install -vd $pkgdir/usr/bin
+ install -vm755 $_srcname $pkgdir/usr/bin
+ install -vm755 bin/avahi-publish-alias $pkgdir/usr/share/$_srcname
+ install -vm755 bin/graph $pkgdir/usr/share/$_srcname # conflicts with plotutils on /usr/bin
+ install -vm755 bin/tinc2dot $pkgdir/usr/share/$_srcname # tinc2dot 0.2.1 script
+ install -vm755 bin/cronjob $pkgdir/usr/share/$_srcname/fauno-cronjob # fauno script
+
+ msg 'Fixing beagle patch'
+ ln -vs hosts $pkgdir/usr/share/$_srcname/beadle
+
+ msg 'Adding doc patch'
+ install -vd $pkgdir/usr/share/doc
+ ln -vs ../$_srcname $pkgdir/usr/share/doc/$_srcname
+
+ msg 'Installing locale files'
+ _locales=(en)
+ for _po in ${_locales[@]}; do
+ install -vd $pkgdir/usr/share/locale/$_po/LC_MESSAGES
+ msgfmt -o $pkgdir/usr/share/locale/$_po/LC_MESSAGES/$_srcname.mo locale/$_po.po
+ done
+ fi
+
+ msg 'Creating dirs'
+ install -d $pkgdir/{usr/share/$_srcname/nodos,etc/{logrotate.d,NetworkManager/dispatcher.d}}
+
+ msg 'Installing license files'
+ install -vDm644 LICENSE $pkgdir/usr/share/licenses/$_srcname/COPYING
+
+ msg 'Installing "generate-ipv6-address" files'
+ cd etc/generate-ipv6-address-0.1
+ make PREFIX=$pkgdir/usr TEXTDOMAINDIR=$pkgdir/usr/share/locale install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/librevpn/PKGBUILD b/pcr/librevpn/PKGBUILD
new file mode 100644
index 000000000..71a3a2f7c
--- /dev/null
+++ b/pcr/librevpn/PKGBUILD
@@ -0,0 +1,86 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+_pkgname=lvpn
+pkgname=librevpn
+pkgver=0.0.3
+pkgrel=1
+pkgdesc='Free Virtual Network with tinc2dot and generate-ipv6-address'
+url=http://$pkgname.org.ar/
+license=("AGPL3:($_pkgname, tinc2dot)" 'MIT:(generate-ipv6-address)')
+arch=(mips64el x86_64 i686)
+depends=(avahi bash tinc)
+optdepends=(
+ 'graphviz: for graph and tinc2dot'
+ 'libnatpmp: (AUR)'
+ miniupnpc
+ networkmanager
+ 'python2: for avahi-publish-alias'
+ python2-bottle
+ 'ruby: for graph'
+ sudo
+)
+source=http://repo.hackcoop.com.ar/$pkgname.git/snapshot/$pkgname-$pkgver.tar.xz
+sha512sums=96a0de4e35d1fd45652c4b7ee25d7335d9b3816065b48e978274845c328b68a03623abf812119af34f1856bd05170cac8ad59f233fc3dcd63ea6c84c89a80968
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+
+ msg "BUGFIX: Fixing Makefile with sed:"
+ msg " * Removing generate-ipv6-address, natpmp and upnpc build softwares"
+ msg " * Fixing wrong man-pages patch"
+ msg " * Removing useless pacman-scripts (or lvpn) patch (TEXTDOMAIN)"
+ sed -i '\|generate-ipv6-address|d;\|natpmp|d;\|upnpc|d;
+ s|/share/man1|/share/man/man1|;
+ s|$(TARGET)$(TEXTDOMAINDIR)/$(TEXTDOMAIN)|$(TARGET)$(TEXTDOMAINDIR)|;
+ ' Makefile
+
+ msg "Building '$pkgname'"
+ make PREFIX=/usr NETWORK=lvpn
+
+ msg "Building 'generate-ipv6-address'"
+ cd etc/generate-ipv6-address-0.1
+ sed -i 's|`uname -m`-||;s|/man/man8|/share/man/man8|' Makefile
+ make PREFIX=/usr
+}
+
+package() {
+ cd $srcdir/$pkgname-$pkgver
+ make PREFIX=$pkgdir/usr TEXTDOMAINDIR=$pkgdir/usr/share/locale install
+
+ msg 'Installing scripts files'
+ msg 'Note: graph scrip conflicts with plotutils on /usr/bin'
+ install -vm755 bin/avahi-publish-alias $pkgdir/usr/bin
+ install -vm755 bin/graph $pkgdir/usr/bin/$_pkgname-graph
+ install -vm755 bin/tinc2dot $pkgdir/usr/bin # tinc2dot 0.2.1 script
+ install -vm755 bin/cronjob $pkgdir/usr/bin/fauno-cronjob # fauno script
+
+ msg 'BUGFIX: Installing doc files'
+ _doc=(es)
+ for _md in ${_doc[@]};do
+ install -vd $pkgdir/usr/share/{doc,$_pkgname/doc/$_md}
+ install -vm644 doc/$_md/*.markdown $pkgdir/usr/share/$_pkgname/doc/$_md
+ ln -vs ../$_pkgname/doc $pkgdir/usr/share/doc/$_pkgname
+ done
+
+ msg 'BUGFIX: Installing locale files'
+ _locales=(en)
+ for _po in ${_locales[@]}; do
+ install -vd $pkgdir/usr/share/locale/$_po/LC_MESSAGES
+ msgfmt -o $pkgdir/usr/share/locale/$_po/LC_MESSAGES/$_pkgname.mo locale/$_po.po
+ done
+
+ #msg 'BUGFIX: Removing useless pacman-scripts dir'
+ #rmdir -v $pkgdir/usr/share/locale/pacman-scripts
+
+ msg 'BUGFIX: Creating NetworkManager dir, due which fail without NetworkManager software'
+ install -d $pkgdir/etc/NetworkManager/dispatcher.d
+
+ msg 'Installing license files'
+ install -vDm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/COPYING
+
+ msg 'Installing "generate-ipv6-address" files'
+ cd etc/generate-ipv6-address-0.1
+ make PREFIX=$pkgdir/usr TEXTDOMAINDIR=$pkgdir/usr/share/locale install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/libsquish-svn/LICENSE b/pcr/libsquish-svn/LICENSE
new file mode 100644
index 000000000..dd0f22eb9
--- /dev/null
+++ b/pcr/libsquish-svn/LICENSE
@@ -0,0 +1,24 @@
+/* -----------------------------------------------------------------------------
+
+ Copyright (c) 2006 Simon Brown si@sjbrown.co.uk
+
+ Permission is hereby granted, free of charge, to any person obtaining
+ a copy of this software and associated documentation files (the
+ "Software"), to deal in the Software without restriction, including
+ without limitation the rights to use, copy, modify, merge, publish,
+ distribute, sublicense, and/or sell copies of the Software, and to
+ permit persons to whom the Software is furnished to do so, subject to
+ the following conditions:
+
+ The above copyright notice and this permission notice shall be included
+ in all copies or substantial portions of the Software.
+
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS
+ OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF
+ MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT.
+ IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY
+ CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT,
+ TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE
+ SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
+
+ -------------------------------------------------------------------------- */
diff --git a/pcr/libsquish-svn/PKGBUILD b/pcr/libsquish-svn/PKGBUILD
new file mode 100644
index 000000000..17af64a96
--- /dev/null
+++ b/pcr/libsquish-svn/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
+# Contributor: F0ruD<fzerorubigd{AT}gmail{DOT}com>
+pkgname=libsquish-svn
+pkgver=48
+pkgrel=5
+pkgdesc="DXT compression library - svn build"
+arch=('i686' 'x86_64')
+url="http://code.google.com/p/libsquish"
+makedepends=('subversion' )
+license=('MIT')
+provides=('libsquish')
+conflicts=('libsquish' 'kervalasquish-hg' 'kervala_libsquish-hg')
+mksource=("$pkgname-$pkgver"::svn+http://libsquish.googlecode.com/svn/trunk/#revision=$pkgver)
+mkmd5sums=('SKIP')
+
+source=("libre://$pkgname-$pkgver.tar.gz"
+ LICENSE)
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ # make install
+ mkdir -p $pkgdir/usr/local/{include,lib}
+
+ install -Dm 644 squish.h $pkgdir/usr/local/include/squish.h
+ install -Dm 644 libsquish.so.0.0 $pkgdir/usr/local/lib/libsquish.so.0.0
+ install -Dm 644 $srcdir/LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
+sha256sums=('d1c057bf105872f50f504584fd7b31fb980ed5e235b14a92c6cb0aa7d7758e8f'
+ 'ed13029728a637f599833a68be22f3cc356a7f13be8d79284b2c415e172efd75')
diff --git a/pcr/libwww-hg/PKGBUILD b/pcr/libwww-hg/PKGBUILD
new file mode 100644
index 000000000..9fc91e231
--- /dev/null
+++ b/pcr/libwww-hg/PKGBUILD
@@ -0,0 +1,36 @@
+# $Id$
+# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
+# Maintainer (Archlinux): Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Buharev Vasilij <buharev.v.p@gmail.com>
+
+pkgname=libwww-hg
+pkgver=20130730
+_changeset=facbea79943a
+pkgrel=11
+pkgdesc="A general-purpose client side WEB API"
+arch=('i686' 'x86_64')
+url="http://hg.kervala.net/packaging/"
+license=('W3C')
+depends=()
+conflicts=("libwww")
+provides=("libwww")
+makedepends=('gcc' 'pkgconfig' 'perl' 'zlib')
+options=('!libtool')
+source=("http://hg.kervala.net/packaging/archive/${_changeset}.tar.gz")
+sha256sums=('26adbb77c4ecb3df3a074597a8dfc45b7215879fbc0447cb086199c17ae8ba8d')
+
+
+build() {
+ cd "$srcdir/packaging-${_changeset}/libwww"
+ ./autogen.sh
+ ./configure --prefix=/usr/ \
+ --with-ssl=no --with-zlib --with-expat --with-gnu-ld \
+ --enable-shared --enable-static
+ #sed -i 's#Examples##' Library/Makefile
+ make
+}
+
+package() {
+ cd "$srcdir/packaging-${_changeset}/libwww"
+ make DESTDIR="$pkgdir" install
+}
diff --git a/pcr/lilo/PKGBUILD b/pcr/lilo/PKGBUILD
new file mode 100644
index 000000000..10d334b05
--- /dev/null
+++ b/pcr/lilo/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer: Connor Behan <connor.behan@gmail.com>
+# Contributor: Eric Belanger <eric@archlinux.org>
+# Contributor: judd <jvinet@zeroflux.org>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
+
+pkgname=lilo
+pkgver=24.0
+pkgrel=1
+pkgdesc="A bootloader for GNU/Linux (Parabola rebranded)"
+arch=('i686' 'x86_64')
+url="https://alioth.debian.org/projects/lilo/"
+license=('BSD')
+backup=('etc/lilo.conf')
+depends=('device-mapper' 'coreutils')
+makedepends=('bin86' 'sharutils')
+optdepends=('perl: to use keytab-lilo')
+install=lilo.install
+options=('!makeflags')
+source=("http://lilo.alioth.debian.org/ftp/sources/${pkgname}-${pkgver}.tar.gz"
+ 'lilo.conf')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ export LC_ALL=C
+
+ sed -i -e 's/strip lilo.static/strip lilo.static || true/' src/Makefile
+ make all
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+
+ install -D -m644 "${srcdir}"/lilo.conf "${pkgdir}"/etc/lilo.conf
+ install -D -m644 COPYING "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+
+ # All binaries in /usr/bin
+ mkdir "${pkgdir}"/usr/bin
+ mv "${pkgdir}"/sbin/lilo "${pkgdir}"/usr/bin/
+ mv "${pkgdir}"/usr/sbin/* "${pkgdir}"/usr/bin/
+ rm -rf "${pkgdir}"/sbin
+ rm -rf "${pkgdir}"/usr/sbin
+
+ # Avoid conflict with syslinux
+ mv "${pkgdir}"/usr/bin/keytab-lilo "${pkgdir}"/usr/bin/keytab-lilo.pl
+}
+md5sums=('03d7090835a5675314082847f1ac7910' 'd06b3c4655577ed01fea79ec5743b4b0')
diff --git a/pcr/lilo/lilo.conf b/pcr/lilo/lilo.conf
new file mode 100644
index 000000000..479390df5
--- /dev/null
+++ b/pcr/lilo/lilo.conf
@@ -0,0 +1,25 @@
+#
+# /etc/lilo.conf
+#
+
+boot=/dev/sda
+# This line often fixes L40 errors on bootup
+# disk=/dev/sda bios=0x80
+
+default=parabola
+timeout=50
+lba32
+prompt
+
+image=/boot/vmlinuz-linux-libre
+ label=parabola
+ root=/dev/sda3
+ initrd=/boot/initramfs-linux-libre.img
+ read-only
+
+image=/boot/vmlinuz-linux-libre
+ label=parabola-fallback
+ root=/dev/sda3
+ initrd=/boot/initramfs-linux-libre-fallback.img
+ read-only
+
diff --git a/pcr/lilo/lilo.install b/pcr/lilo/lilo.install
new file mode 100644
index 000000000..7375fddf8
--- /dev/null
+++ b/pcr/lilo/lilo.install
@@ -0,0 +1,5 @@
+post_upgrade() {
+ echo
+ echo "If you use the LILO bootloader, you should run 'lilo' after upgrading."
+ echo
+}
diff --git a/pcr/maildirproc/PKGBUILD b/pcr/maildirproc/PKGBUILD
new file mode 100644
index 000000000..0e3becf75
--- /dev/null
+++ b/pcr/maildirproc/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Mick Koch <kchmck@gmail.com>
+
+pkgname="maildirproc"
+pkgver="0.5.0"
+pkgrel="3"
+pkgdesc="Sorts mail based on a Python configuration file"
+arch=("any")
+url="http://joel.rosdahl.net/maildirproc/"
+license=("GPL") # GPLv2+
+depends=("python")
+source=("http://joel.rosdahl.net/maildirproc/releases/$pkgname-$pkgver.tar.bz2")
+md5sums=("eaa001f6cd1befee99528ca55da979ca")
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir" --optimize=1
+
+ mkdir -p "$pkgdir"/usr/share/doc/$pkgname/
+ cp -r doc/* "$pkgdir"/usr/share/doc/$pkgname/
+}
diff --git a/pcr/maliit-framework/PKGBUILD b/pcr/maliit-framework/PKGBUILD
new file mode 100644
index 000000000..545c34a0c
--- /dev/null
+++ b/pcr/maliit-framework/PKGBUILD
@@ -0,0 +1,33 @@
+# Contributor: Jon Nordby <jononor@gmail.com>
+# Maintainer: Jon Nordby <jononor@gmail.com>
+# Maintainer (Parabola): Javier Barcena <javierbuilder@gmail.com>
+# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
+
+pkgname=maliit-framework
+pkgver=0.99.0
+pkgrel=6
+pkgdesc="Maliit Input Methods - Framework"
+arch=('x86_64' 'i686')
+url="http://maliit.org"
+license=('LGPL')
+depends=('qt5-base' 'qt5-quick1' 'gtk2' 'gtk3' 'gconf')
+install=$pkgname.install
+source=(http://maliit.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('c5e8c67cbfb514122518d92f1edcc990')
+
+build() {
+ cd "$pkgname-$pkgver"
+
+ # BUILD
+ qmake -r .
+ make
+}
+
+package() {
+ cd "$pkgname-$pkgver"
+ make INSTALL_ROOT="$pkgdir" GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 install
+
+ install -m755 -d "$pkgdir/usr/share/gconf/schemas"
+ gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" --domain maliit-framework "$pkgdir"/etc/gconf/schemas/*.schemas
+ rm -f "$pkgdir"/etc/gconf/schemas/*.schemas
+}
diff --git a/pcr/maliit-framework/maliit-framework.install b/pcr/maliit-framework/maliit-framework.install
new file mode 100755
index 000000000..08c54ae1b
--- /dev/null
+++ b/pcr/maliit-framework/maliit-framework.install
@@ -0,0 +1,30 @@
+pkgname=maliit-framework
+
+post_install() {
+ echo "Updating gtk.immodules..."
+ gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+ echo "Done."
+
+ gconfpkg --install ${pkgname}
+}
+
+pre_upgrade() {
+ pre_remove $1
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+pre_remove() {
+ gconfpkg --uninstall ${pkgname}
+}
+
+post_remove() {
+ echo "Updating gtk.immodules..."
+ gtk-query-immodules-2.0 > /etc/gtk-2.0/gtk.immodules
+ gtk-query-immodules-3.0 --update-cache
+ echo "Done."
+
+}
diff --git a/pcr/maliit-plugins/PKGBUILD b/pcr/maliit-plugins/PKGBUILD
new file mode 100644
index 000000000..cdab07003
--- /dev/null
+++ b/pcr/maliit-plugins/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor: Jon Nordby <jononor@gmail.com>
+# Maintainer: Jon Nordby <jononor@gmail.com>
+
+pkgname=maliit-plugins
+pkgver=0.99.0
+pkgrel=1
+pkgdesc="Maliit Input Methods - Plugins"
+arch=('x86_64' 'i686')
+url="http://maliit.org"
+license=('LGPL')
+depends=('qt5-base' 'maliit-framework')
+source=(http://maliit.org/releases/${pkgname}/${pkgname}-${pkgver}.tar.bz2
+ config.patch)
+md5sums=('29f07d937803a61e74301e4616d55dbb'
+ 'f43d45c9917924750edf36000492bd73')
+
+build() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ # fix issue on building
+ patch -Np1 -i "$srcdir/config.patch"
+
+ # BUILD
+ qmake -r . CONFIG+=notests
+ make
+}
+
+package() {
+ cd "$srcdir/${pkgname}-${pkgver}"
+
+ make install INSTALL_ROOT="$pkgdir/"
+}
diff --git a/pcr/mathjax/PKGBUILD b/pcr/mathjax/PKGBUILD
new file mode 100644
index 000000000..47f581fa1
--- /dev/null
+++ b/pcr/mathjax/PKGBUILD
@@ -0,0 +1,21 @@
+# Maintainer (Arch): Tianjiao Yin <ytj000@gmail.com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+#taken from https://aur.archlinux.org/packages/mathjax/
+
+pkgname=mathjax
+pkgver=2.1
+pkgrel=1
+pkgdesc='An open source JavaScript display engine for mathematics that works in all modern browsers'
+url='http://www.mathjax.org/'
+arch=('any')
+license=('apache')
+options=('!strip')
+source=('https://github.com/mathjax/MathJax/archive/v2.1.tar.gz')
+
+build() {
+ mkdir -p $pkgdir/usr/share
+ mv $srcdir/MathJax-* $pkgdir/usr/share/mathjax
+}
+
+
+md5sums=('8e7ad1b8f3a69be8ec83f21d3e2a509c')
diff --git a/pcr/mednafen-server/PKGBUILD b/pcr/mednafen-server/PKGBUILD
index 0c7057908..9968dde38 100644
--- a/pcr/mednafen-server/PKGBUILD
+++ b/pcr/mednafen-server/PKGBUILD
@@ -1,26 +1,24 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=mednafen-server
+_pkgname=${pkgname%-server}
pkgver=0.5.0
-pkgrel=1
+pkgrel=2
pkgdesc='A server multi-system gaming emulator'
-url=http://${pkgname%-server}.sourceforge.net/
-license=(
- GPL
-)
+url=http://$_pkgname.sourceforge.net/
+license=GPL2
arch=(
i686
x86_64
mips64el
)
+backup=etc/$pkgname/standard.conf
source=(
- http://downloads.sourceforge.net/project/${pkgname%-server}/Mednafen-Server/$pkgver/$pkgname-$pkgver.tar.gz
- ${pkgname}d
+ http://downloads.sourceforge.net/project/$_pkgname/${_pkgname^}-Server/$pkgver/$pkgname-$pkgver.tar.gz
$pkgname.service
)
sha512sums=(
700b2021e5085761b90bb5ee802ff9ccded3cdade76682fe9faa98ebbb0653c9b00baea5baa1c486f850bad606aae33a88e4d9486015babb210648aa0cd4542d
- 55cba761db9c10978a5146e4f92ccce2a645e0566d0744e745b36ede56a0332d1cb1f6c8a09df6a1c01320b539f07ccd7073b2d85eca6b340449a1c3b9761407
cd3d19b789ec7f62c4b8f5fe0f93e7836fab5406a3416434701caf6404cce02c7223dcb8b82bd1e4b00bdcf4df623f0cd44f850a7f79a7be73e04c0804972700
)
@@ -34,6 +32,5 @@ package() {
cd $srcdir/$pkgname
make DESTDIR=$pkgdir install
install -Dm644 standard.conf $pkgdir/etc/$pkgname/standard.conf
- install -Dm644 $srcdir/${pkgname}d $pkgdir/etc/rc.d/$pkgname
install -Dm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system/$pkgname.service
}
diff --git a/pcr/mimms/PKGBUILD b/pcr/mimms/PKGBUILD
new file mode 100644
index 000000000..3697c1a3b
--- /dev/null
+++ b/pcr/mimms/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer (Arch): Jaroslav Lichtblau <dragonlord@aur.archlinux.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/mimms/
+
+pkgname=mimms
+pkgver=3.2.1
+pkgrel=2
+pkgdesc="Download streams using the MMS protocol and save them to your
+computer"
+arch=('any')
+url="http://savannah.nongnu.org/projects/mimms/"
+license=('GPL3')
+depends=('libmms' 'python2')
+source=(http://download.savannah.gnu.org/releases/$pkgname/$pkgname-$pkgver.tar.bz2)
+md5sums=('ec629d8899551b4789ba15c17402c36f')
+
+build() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+#Python2 fix
+ sed -i "s/python/python2/g" Makefile
+
+ make
+}
+
+package() {
+ cd ${srcdir}/$pkgname-$pkgver
+
+ make DESTDIR=${pkgdir} install
+}
diff --git a/pcr/miniupnpd/PKGBUILD b/pcr/miniupnpd/PKGBUILD
index 57a04c290..5e8e59fd9 100644
--- a/pcr/miniupnpd/PKGBUILD
+++ b/pcr/miniupnpd/PKGBUILD
@@ -1,8 +1,8 @@
# $Id$
# Maintainer: fauno <fauno@parabola.nu>
pkgname=miniupnpd
-pkgver=1.8.20130503
-pkgrel=3
+pkgver=1.8.20130730
+pkgrel=1
pkgdesc="Lightweight UPnP IGD daemon"
arch=('i686' 'x86_64' 'mips64el')
url="http://miniupnp.free.fr"
@@ -12,8 +12,6 @@ depends=('libnfnetlink' 'iptables>=1.4.3' 'net-tools')
makedepends=('lsb-release')
source=("http://miniupnp.free.fr/files/$pkgname-$pkgver.tar.gz"
miniupnpd.systemd)
-md5sums=('484dbda7c428b2d5f3768500a48d3375'
- '0c3f1777b6c043dd5029092d62896660')
build() {
cd "$srcdir/$pkgname-$pkgver"
@@ -41,3 +39,7 @@ package() {
cd "$pkgdir"
mv usr/sbin usr/bin
}
+sha1sums=('32eed969a6c653d6d5ccd236ee50275c933d020e'
+ '64bf27526bc830d7be98a9bb48e58911afdbe735')
+sha256sums=('919ab6ec719959fff9bdae3f1d83f6a39c43fa4a6d3f2c48077f43729d3d7d43'
+ '2707d028f28fbb28c3a9d13605c9c738e9628f828e22288a8a1492ac93f9ad7c')
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index 219da84fc..0961ef11d 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -1,35 +1,40 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
-pkgname=(
- mitsuba
- blender-addon-mitsuba
-)
-_bldname=${pkgname[1]::7}
-_addname=${pkgname[0]}-${_bldname}
-pkgver=0.4.4 # Thu Feb 28 15:00:37 2013 -0800 tag:v0.4.4 rev:1674
-_pkgdat=20130228
-_pkgrev=1674
-_bldver=2.66
-_addver=0.2.1 # Wed Mar 20 01:30:37 2013 +0100 rev:40 ($srcdir/$_addname/${pkgname[0]}/__init__.py:bl_info>version)
+_pkgname=mitsuba
+_pkgver=0.4.4
+_pkgrel=4
+_bldname=blender
+_bldver=2.68
+_bldep=9
+_addname=$_pkgname-$_bldname
_adddat=20130320
_addrev=40
-_bldep=7
+_addrel=3
_pyver=3.3
-pkgrel=1
+
+# Wed Mar 20 01:30:37 2013 +0100 rev:40 ($srcdir/$_addname/$_pkgname/__init__.py:bl_info>version)
+_addver=0.2.1
+
+pkgname=(
+ $_pkgname
+ $_bldname-addon-$_pkgname
+)
+pkgver=$_pkgver
+pkgrel=$_pkgrel
pkgdesc='A physically based renderer'
arch=(
- i686
- x86_64
mips64el
+ x86_64
+ i686
)
-url=https://${pkgname[0]}-renderer.org/
+url=https://www.$_pkgname-renderer.org/
license=GPL3
depends=(
boost-libs
collada-dom
glew
libxxf86vm
- 'openexr=2.0.0'
+ openexr-libre
qt4
xerces-c
)
@@ -44,90 +49,93 @@ makedepends=(
mercurial
python
)
-install=$pkgname.install
source=(
- hg+https://${pkgname[0]}-renderer.org/hg/${pkgname[0]}
- hg+https://${pkgname[0]}-renderer.org/hg/$_addname
- ${pkgname[1]}.install
+ $_pkgname-$pkgver.tar.bz2::${url}hg/$_pkgname/archive/v$pkgver.tar.bz2
+ $_addname-$_addver.tar.bz2::${url}hg/$_addname/archive/$_addrev.tar.bz2
+)
+sha512sums=(
+ 66dcab376a44eeb2fbe808a32ead5b554d777fb2f6a73c43883086b7829e0c697aaeccbb6fbbed9fcb221684a64ccce8be81a78ebcd228316ea12b8f6f3e7f6c
+ c829978a28c7780605662c604450c3d00b8ac958310e26aa7ad02dfb50f1875420e0e85fe0c868e030946c894cb939d18a4589c9e06a169f86eba5948eb2147e
)
-sha512sums=(SKIP SKIP SKIP)
prepare() {
- mv $srcdir/${pkgname[1]}.install $startdir
-
- cd $srcdir/${pkgname[0]}
-
- [[ -d build ]] && rm -r build
- mkdir build
-
- cd $startdir/../srcdest/${pkgname[0]}
-
- msg "${pkgname[0]}"
- hg update -c v$pkgver
- hg log -l 1 -r v$pkgver
-
- cd $startdir/../srcdest/$_addname
-
- msg "${pkgname[1]}"
- hg update -c -r $_addrev
- hg log -l 1 -r $_addrev
+ cd $srcdir/$_pkgname-v$pkgver
+
+ msg 'renaming wrong OS name'
+ _OS=$(uname -o)
+ [[ $_OS == GNU ]] && sed -i 's|Linux|GNU|I' src/libcore/plugin.cpp
+ [[ $_OS == GNU/Linux ]] && sed -i 's|Linux,|GNU/Linux-libre,|' src/libcore/plugin.cpp
+ sed -i 's|Linux/|Linux,|
+ s|Linux|GNU/Linux|
+ ' include/$_pkgname/core/{atomic,fstream,random,thread}.h
+
+ msg 'removing Open Source term'
+ sed -i 's|free-software/open-source|free-software|
+ ' include/$_pkgname/core/quad.h
+
+ [[ -d build ]] && rm -vr build
+ mkdir -v build
}
build() {
- cd $srcdir/${pkgname[0]}/build
+ cd $srcdir/$_pkgname-v$pkgver/build
- [[ $CARCH != x86_64 ]] && DMTS_SSE='-DMTS_SSE=OFF'
+ [[ $CARCH == x86_64 ]] && _SSE=ON || _SSE=OFF
+ # i686: MTS_SSE disabled
- setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
- $DMTS_SSE\
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
-DBoost_PYTHON_LIBRARY=/usr/lib/libboost_python${_pyver::1}.so\
+ -DMTS_SSE=$_SSE\
-DPYTHON_INCLUDE_DIR=/usr/include/python${_pyver}m\
-DPYTHON_LIBRARY=/usr/lib/libpython${_pyver}m.so
-
- setarch $CARCH make
+ make
}
package_mitsuba() {
- cd $srcdir/${pkgname[0]}/build
- setarch $CARCH make DESTDIR=$pkgdir install
+ cd $srcdir/$_pkgname-v$pkgver/build
+ make DESTDIR=$pkgdir install
+ install=$_pkgname.install
- #fixing files and folders location
+ msg 'fixing files and folders location'
a=$pkgdir/usr
- b=$srcdir/${pkgname[0]}
- install -d $a/{bin,lib{,/python$_pyver/lib-dynload},share/{applications,{licenses/,}${pkgname[0]},pixmaps}}
- install -m644 $b/data/linux/${pkgname[0]}.desktop $a/share/applications
- install -m644 $b/src/mtsgui/resources/${pkgname[0]}48.png $a/share/pixmaps
- install -m644 $b/doc/license.txt $a/share/licenses/${pkgname[0]}/LICENSE
- mv $a/{m{itsuba,ts{gui,import,srv,util}},bin}
- mv $a/lib{${pkgname[0]}-{bidir,core,hw,render}.so,}
- mv $a/{{data,plugins},share/${pkgname[0]}}
- mv $a/{python/mitsuba.so,lib/python$_pyver/lib-dynload}
- mv $a/{sdk/include,}
- rmdir $a/{python,sdk}
+ b=$srcdir/$_pkgname-v$pkgver
+ install -vd $a/{bin,lib{,/python$_pyver/lib-dynload},share/{applications,{licenses/,}$_pkgname,pixmaps}}
+ install -vm644 $b/data/linux/$_pkgname.desktop $a/share/applications
+ install -vm644 $b/src/mtsgui/resources/${_pkgname}48.png $a/share/pixmaps
+ install -vm644 $b/doc/license.txt $a/share/licenses/$_pkgname/LICENSE
+ mv -v $a/{m{itsuba,ts{gui,import,srv,util}},bin}
+ mv -v $a/lib{$pkgname-{bidir,core,hw,render}.so,}
+ mv -v $a/{{data,plugins},share/$_pkgname}
+ mv -v $a/{python/mitsuba.so,lib/python$_pyver/lib-dynload}
+ mv -v $a/{sdk/include,}
+ rmdir -v $a/{python,sdk}
}
package_blender-addon-mitsuba() {
- _pkgname=${pkgname:14}
- _pkgver=$pkgver
- pkgver=$_addver.r$_addrev.v$_bldver
pkgdesc="A addon for the ${_bldname^} which allows render and export with Mitsuba (built for the $_bldname-libre package)"
arch=any
depends=(
- $_pkgname=$_pkgver
- "$_bldname>=$(($_bldep-1)):$_bldver"
- "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
+ $_pkgname=$pkgver
+ "$_bldname-libre>=$_bldep:$_bldver"
+ "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))"
)
+ _pkgver=$pkgver
+ pkgver=$_addver.r$_addrev.v$_bldver
+ pkgrel=$_addrel
optdepends=
- install=$pkgname.install
- cd $srcdir/$_addname
+ cd $srcdir/$_addname-$_addrev
+
+ msg 'fixing binary path'
+ sed -i 's|'"'default'"': efutil.find_config_value('"'mitsuba', 'defaults', 'binary_path', ''"')|'"'default'"': '"'/usr/bin'"'|
+ ' $_pkgname/properties/engine.py
a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
b=$pkgdir/usr/share/licenses/$pkgname
- c=$srcdir/$_pkgname/doc/license.txt
+ c=$srcdir/$_pkgname-v$_pkgver/doc/license.txt
- install -d $a && cp -a $_pkgname $a
- install -d $b && install -m644 $c $b/LICENSE
+ install -vd $a && cp -a $_pkgname $a
+ install -vd $b && install -m644 $c $b/LICENSE
}
# vim:set ts=2 sw=2 et:
diff --git a/pcr/mitsuba/blender-addon-mitsuba.install b/pcr/mitsuba/blender-addon-mitsuba.install
deleted file mode 100644
index 41d69870d..000000000
--- a/pcr/mitsuba/blender-addon-mitsuba.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- cat << EOF
-## Please type "/usr/bin" in
-## "Mitsuba Engine Settings" > "Executable path:" option
-## to correct fuction.
-EOF
-}
-
-post_upgrade() {
- post_install
-}
diff --git a/pcr/monkeysign/PKGBUILD b/pcr/monkeysign/PKGBUILD
new file mode 100644
index 000000000..2e4ab1f3f
--- /dev/null
+++ b/pcr/monkeysign/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: fauno <fauno@kiwwwi.com.ar>
+pkgname=monkeysign
+pkgver=1.0
+pkgrel=1
+pkgdesc="OpenPGP Key Exchange for Humans"
+arch=('any')
+url="http://web.monkeysphere.info/monkeysign/"
+license=('GPL3')
+depends=('python2-setuptools' 'python2-qrencode' 'gtk2' 'pygtk' 'zbar' 'python2-imaging')
+source=(http://cdn.debian.net/debian/pool/main/m/${pkgname}/${pkgname}_${pkgver}.tar.gz)
+# http://cdn.debian.net/debian/pool/main/m/monkeysign/monkeysign_1.0.dsc
+sha1sums=('28e29beae7fed3c3deba236cbe8879cab5eeb4e8')
+sha256sums=('944fc4d0915236bf72390bd2dc2f5445cfb70033df438b91b1af38bd0ff9fd46')
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --prefix="/usr" --optimize=1
+}
+
diff --git a/pcr/monkeysphere/PKGBUILD b/pcr/monkeysphere/PKGBUILD
index f83e05741..749cb0c25 100644
--- a/pcr/monkeysphere/PKGBUILD
+++ b/pcr/monkeysphere/PKGBUILD
@@ -3,8 +3,8 @@
# Contributor: Olivier Mehani <shtrom-arch@ssji.net>
# $Id: PKGBUILD 264 2010-11-10 00:57:53Z shtrom $
pkgname=monkeysphere
-pkgver=0.35
-pkgrel=5
+pkgver=0.36
+pkgrel=1
pkgdesc="Leverage the OpenPGP web of trust for OpenSSH and Web authentication"
arch=('any')
url="http://web.monkeysphere.info/"
@@ -20,17 +20,20 @@ prepare() {
patch -Ni "${srcdir}/binmerge.patch"
}
-check() {
- cd "$srcdir/$pkgname-$pkgver"
-
- make test
-}
+# Checks fail
+#check() {
+# cd "$srcdir/$pkgname-$pkgver"
+#
+# make test
+#}
package() {
cd "$srcdir/$pkgname-$pkgver"
make DESTDIR="$pkgdir/" install
mkdir -p $pkgdir/var/lib/monkeysphere
-}
-md5sums=('481ac14c9fdef0ccd1944c593bd4f517'
- 'a8bd35dc7dd58b5952beeecafe5045a7')
+}
+sha1sums=('c4f950346040f7703cb4c6e8b32022f4361d0c9d'
+ '780c2e203980558316b0714c4b2a3ad49be3ea27')
+sha256sums=('6ae4edeff2cc29b6913346e15b61500ea7cc06d761a9f42e67de83b7d2607be7'
+ 'e49a1097296b06090010ce5344588f5e4917aeb06a118de920fc58411d2a7cf7')
diff --git a/pcr/msdl/PKGBUILD b/pcr/msdl/PKGBUILD
new file mode 100644
index 000000000..dfcf99c03
--- /dev/null
+++ b/pcr/msdl/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Nathan Owe ndowens04 at gmail dot com
+# Contributor: noonov <noonov@gmail.com>
+
+pkgname=msdl
+pkgver=1.2.7_r2
+_pkgver=${pkgver/_/-}
+pkgrel=1
+pkgdesc="A multi-protocol downloader for various streaming protocols"
+arch=('i686' 'x86_64')
+url="http://msdl.sourceforge.net/"
+license=('GPL3')
+depends=('glibc')
+source=(http://downloads.sourceforge.net/msdl/${pkgname}-${_pkgver}.tar.gz)
+
+build() {
+ cd ${srcdir}/${pkgname}-${_pkgver}
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${_pkgver}
+
+ make DESTDIR=${pkgdir} install
+}
+
+md5sums=('a2b37162115170cc59ff6ace1d9c5ac4')
+
diff --git a/pcr/nevow/PKGBUILD b/pcr/nevow/PKGBUILD
new file mode 100644
index 000000000..956a0cd32
--- /dev/null
+++ b/pcr/nevow/PKGBUILD
@@ -0,0 +1,23 @@
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=nevow
+pkgver=0.10.0
+pkgrel=8
+pkgdesc="web application construction kit written in Python"
+arch=('any')
+url='http://pypi.python.org/pypi/Nevow'
+license=('custom')
+depends=('python2' 'twisted')
+source=( http://pypi.python.org/packages/source/N/Nevow/Nevow-$pkgver.tar.gz )
+md5sums=('66dda2ad88f42dea05911add15f4d1b2')
+
+build(){
+ cd "$srcdir/Nevow-$pkgver"
+ python2 setup.py build
+}
+
+package(){
+ cd "$srcdir/Nevow-$pkgver"
+ python2 setup.py install --prefix=/usr --root="$pkgdir" --install-data=/usr/share/"$pkgname"
+ install -D LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
diff --git a/pcr/nppangband-libre/PKGBUILD b/pcr/nppangband-libre/PKGBUILD
new file mode 100644
index 000000000..eeb59f6fc
--- /dev/null
+++ b/pcr/nppangband-libre/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: Israfel <israfel@lavabit.com>
+# Original PKGBUILD by James Rayner <iphitus@gmail.com>
+# The Angband "adjust-sound-dir" patch by Chris Carr <rantingman@gmail.com> served as a reference for what files to edit for sound.patch
+
+_pkgname=nppangband
+pkgname=nppangband-libre
+pkgver=6.1.2
+pkgrel=1
+pkgdesc="A variant of Angband that attempts to take popular ideas from other variants, without nonfree sound effects"
+url="http://forum.nppangband.org/"
+replaces=$_pkgname
+conflicts=$_pkgname
+provides=$_pkgname
+depends=('sdl' 'sdl_image' 'sdl_ttf' 'sdl_mixer' 'ncurses' 'libx11' 'freetype2')
+source=(http://download.nppangband.org/npp-6.1.2-src.zip sound.patch)
+license=('GPLv2 custom')
+arch=('i686' 'x86_64')
+
+build() {
+ cd $srcdir/npp-6.1.2-src/
+ patch -Np1 -i ../sound.patch
+ sh autogen.sh
+ ./configure --enable-sdl
+ make
+}
+
+package() {
+ cd $srcdir/npp-6.1.2-src/
+ make DESTDIR="$pkgdir/" install
+}
+
+sha512sums=('e12e05fd8944bb1d7e43b883416009a8e77198ee1ad0ea87480eaafb5f46ecdb218ef0b68876fb77cc2ab490a99f9b9303e02c7db385db6eb8d1d01a48cffdd0'
+ '820f4e678543b8f4d5092d6654bb3d4006e039fbc119d9ff5f468c01176497c25579ca2b0d6f6d302b11a3fbfaa6cfcdf89029ff586cda31d97e413cb8b91040')
diff --git a/pcr/nppangband-libre/sound.patch b/pcr/nppangband-libre/sound.patch
new file mode 100644
index 000000000..9de2b0177
--- /dev/null
+++ b/pcr/nppangband-libre/sound.patch
@@ -0,0 +1,241 @@
+# Made by Israfel <israfel@lavabit.com> for the Parabola GNU/Linux-Libre "nppangband-libre" package
+# The Angband "adjust-sound-dir" patch by Chris Carr <rantingman@gmail.com> served as a reference for what files to edit
+diff -crB npp-6.1.2-src/COPYING npp-6.1.2-src-libre/COPYING
+*** npp-6.1.2-src/COPYING 2013-03-29 14:37:32.000000000 -0400
+--- npp-6.1.2-src-libre/COPYING 2013-06-29 16:22:09.154804370 -0400
+***************
+*** 13,20 ****
+ * David Gervais' (32x32) graphics, including modifications and additional tiles by Jeff Greene, Thacker and Rob Fiala for NPPAngband may be redistributed,
+ modified, and used only under the terms of the Creative Commons Attribution 3.0 licence: http://creativecommons.org/licenses/by/3.0/
+
+- * the sounds are freeware, whatever that means.
+-
+ * the font files are under the licences noted in lib/xtra/font/copying.txt,
+ all of which are OSI-compliant.
+
+--- 13,18 ----
+Only in npp-6.1.2-src/lib/xtra/sound: breath.wav
+Only in npp-6.1.2-src/lib/xtra/sound: clunk.wav
+Only in npp-6.1.2-src/lib/xtra/sound: death.wav
+Only in npp-6.1.2-src/lib/xtra/sound: destroy.wav
+Only in npp-6.1.2-src/lib/xtra/sound: drop.wav
+Only in npp-6.1.2-src/lib/xtra/sound: eat.wav
+Only in npp-6.1.2-src/lib/xtra/sound: flee.wav
+Only in npp-6.1.2-src/lib/xtra/sound: hallu.wav
+Only in npp-6.1.2-src/lib/xtra/sound: hit1.wav
+Only in npp-6.1.2-src/lib/xtra/sound: hit.wav
+Only in npp-6.1.2-src/lib/xtra/sound: kill1.wav
+Only in npp-6.1.2-src/lib/xtra/sound: kill.wav
+Only in npp-6.1.2-src/lib/xtra/sound: level.wav
+diff -crB npp-6.1.2-src/lib/xtra/sound/Makefile npp-6.1.2-src-libre/lib/xtra/sound/Makefile
+*** npp-6.1.2-src/lib/xtra/sound/Makefile 2013-03-29 14:37:36.000000000 -0400
+--- npp-6.1.2-src-libre/lib/xtra/sound/Makefile 2013-06-29 16:21:53.525414705 -0400
+***************
+*** 1,10 ****
+ MKPATH=../../../mk/
+ include $(MKPATH)buildsys.mk
+
+! LIBDATA = sound.cfg breath.wav clunk.wav death.wav destroy.wav \
+! drop.wav eat.wav flee.wav hallu.wav hit.wav hit1.wav kill.wav \
+! kill1.wav level.wav miss.wav miss1.wav money.wav opendoor.wav \
+! shutdoor.wav thump.wav vomit.wav \
+
+ PACKAGE = xtra/sound
+
+--- 1,7 ----
+ MKPATH=../../../mk/
+ include $(MKPATH)buildsys.mk
+
+! LIBDATA = sound.cfg
+
+ PACKAGE = xtra/sound
+
+Only in npp-6.1.2-src/lib/xtra/sound: miss1.wav
+Only in npp-6.1.2-src/lib/xtra/sound: miss.wav
+Only in npp-6.1.2-src/lib/xtra/sound: money.wav
+Only in npp-6.1.2-src/lib/xtra/sound: opendoor.wav
+Only in npp-6.1.2-src/lib/xtra/sound: shutdoor.wav
+diff -crB npp-6.1.2-src/lib/xtra/sound/sound.cfg npp-6.1.2-src-libre/lib/xtra/sound/sound.cfg
+*** npp-6.1.2-src/lib/xtra/sound/sound.cfg 2013-03-29 14:37:38.000000000 -0400
+--- npp-6.1.2-src-libre/lib/xtra/sound/sound.cfg 2013-06-29 16:20:47.241336459 -0400
+***************
+*** 41,59 ****
+ #
+
+ # The shopkeep bought a worthless item.
+! store1 = money.wav
+
+ # The shopkeep paid too much for an item.
+! store2 = money.wav
+
+ # The shopkeep got away with a good bargain.
+! store3 = money.wav
+
+ # The shopkeep got away with a great bargain.
+! store4 = money.wav
+
+ # You make a normal transaction (buying or selling).
+! store5 = money.wav
+
+ # You enter a store.
+ store_enter =
+--- 41,59 ----
+ #
+
+ # The shopkeep bought a worthless item.
+! store1 =
+
+ # The shopkeep paid too much for an item.
+! store2 =
+
+ # The shopkeep got away with a good bargain.
+! store3 =
+
+ # The shopkeep got away with a great bargain.
+! store4 =
+
+ # You make a normal transaction (buying or selling).
+! store5 =
+
+ # You enter a store.
+ store_enter =
+***************
+*** 69,75 ****
+ #
+
+ # You succeed in a melee attack against a monster.
+! hit = hit.wav drop.wav hit1.wav
+
+ # It was a good hit!
+ hit_good =
+--- 69,75 ----
+ #
+
+ # You succeed in a melee attack against a monster.
+! hit =
+
+ # It was a good hit!
+ hit_good =
+***************
+*** 87,93 ****
+ hit_hi_superb =
+
+ # You miss a melee attack against a monster.
+! miss = miss.wav miss1.wav
+
+ # You fire a missile.
+ shoot =
+--- 87,93 ----
+ hit_hi_superb =
+
+ # You miss a melee attack against a monster.
+! miss =
+
+ # You fire a missile.
+ shoot =
+***************
+*** 99,105 ****
+ hitpoint_warn =
+
+ # You die.
+! death = death.wav
+
+ #
+ # Player sounds - status changes
+--- 99,105 ----
+ hitpoint_warn =
+
+ # You die.
+! death =
+
+ #
+ # Player sounds - status changes
+***************
+*** 197,206 ****
+ money3 =
+
+ # You (or a monster) drop something on the ground.
+! drop = clunk.wav
+
+ # You gain (or regain) a level.
+! level = level.wav
+
+ # You successfully study a spell or prayer.
+ study =
+--- 197,206 ----
+ money3 =
+
+ # You (or a monster) drop something on the ground.
+! drop =
+
+ # You gain (or regain) a level.
+! level =
+
+ # You successfully study a spell or prayer.
+ study =
+***************
+*** 224,242 ****
+ hitwall =
+
+ # You eat something.
+! eat = eat.wav
+
+ # You successfully dig through something.
+! dig = thump.wav
+
+ # You open a door.
+! opendoor = opendoor.wav
+
+ # You shut a door.
+! shutdoor = shutdoor.wav
+
+ # You teleport from a level (including via recall).
+! tplevel = teleport.wav
+
+ # Default "bell" sound for system messages.
+ bell =
+--- 224,242 ----
+ hitwall =
+
+ # You eat something.
+! eat =
+
+ # You successfully dig through something.
+! dig =
+
+ # You open a door.
+! opendoor =
+
+ # You shut a door.
+! shutdoor =
+
+ # You teleport from a level (including via recall).
+! tplevel =
+
+ # Default "bell" sound for system messages.
+ bell =
+***************
+*** 291,300 ****
+ #
+
+ # A monster flees in terror.
+! flee = flee.wav
+
+ # A monster is killed.
+! kill = kill.wav destroy.wav kill1.wav
+
+ # A unique is killed.
+ kill_unique =
+--- 291,300 ----
+ #
+
+ # A monster flees in terror.
+! flee =
+
+ # A monster is killed.
+! kill =
+
+ # A unique is killed.
+ kill_unique =
+Only in npp-6.1.2-src/lib/xtra/sound: thump.wav
+Only in npp-6.1.2-src/lib/xtra/sound: vomit.wav
diff --git a/pcr/ocsync/PKGBUILD b/pcr/ocsync/PKGBUILD
index 34ce2f62c..cde26af30 100644
--- a/pcr/ocsync/PKGBUILD
+++ b/pcr/ocsync/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds
-
+# Maintainer: Jorge Araya Navarro <shackra@riseup.net>
+#
##############################################################
#### The section below can be adjusted to suit your needs ####
##############################################################
@@ -14,28 +15,31 @@ _buildtype="Release"
##############################################################
pkgname=ocsync
-pkgver=0.70.5
+pkgver=0.90.0
pkgrel=1
-pkgdesc="A file synchronizer especially designed for you, the normal user."
+pkgdesc="A file synchronizer especially designed for you, the normal user. Dependency of owncloud-client."
arch=("i686" "x86_64")
url="http://www.csync.org"
license=('GPL2')
-depends=('sqlite3' 'iniparser' 'neon' 'smbclient' 'libssh')
+depends=('sqlite3' 'iniparser' 'neon')
makedepends=('cmake')
-#optdepends=('samba: smb support' 'libssh: sftp support')
+optdepends=('libssh: sftp support')
provides=('csync' 'csync-owncloud')
conflicts=('csync' 'csync-owncloud')
+backup=('etc/ocsync/ocsync.conf' 'etc/ocsync/ocsync_exclude.conf')
source=("http://download.owncloud.com/download/${pkgname}-${pkgver}.tar.bz2")
-md5sums=('7c8b6f260cc53d29c4355f6837990329')
+md5sums=('db46cdb4c710a607dfc062ed0a413b35')
-# Clean options array to strip pkg if release buildtype is chosen
-if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
- options=()
+if [[ ! ${_buildtype} == "Release" ]] && [[ ! ${_buildtype} == "release" ]]; then
+ options=(!strip)
fi
-build() {
+prepare() {
if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
mkdir ${srcdir}/${pkgname}-${pkgver}-build
+}
+
+build() {
cd ${srcdir}/${pkgname}-${pkgver}-build
cmake -DCMAKE_BUILD_TYPE=${_buildtype} \
@@ -48,3 +52,4 @@ package() {
cd ${srcdir}/${pkgname}-${pkgver}-build
make DESTDIR=${pkgdir} install
}
+md5sums=('6f1cfe47d6a7741c6e8df8642de52c0f')
diff --git a/pcr/openhpi/PKGBUILD b/pcr/openhpi/PKGBUILD
deleted file mode 100644
index bffcc74ba..000000000
--- a/pcr/openhpi/PKGBUILD
+++ /dev/null
@@ -1,185 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=openhpi
-pkgver=3.2.0
-pkgrel=4
-pkgdesc='Abstracted interface for managing computer hardware, typically chassis and rack based servers'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://www.$pkgname.org/
-license=custom
-depends=(
- libxml2
- net-snmp
-)
-options=(!libtool)
-source=http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz
-sha512sums=5a54ccc2279b3a608e2842dd3b4f01d7d483182ecd33d1d33186247cea15b62f1e0aea4eea1294cd6c3959a25424dc322cca73e516f4c8fd9d3a41a949d087ab
-
-prepare() {
- cd $srcdir/$pkgname-$pkgver
-
- _automake=$(automake --version | grep automake | sed 's|automake (GNU automake) ||')
- sed -i "/am__api_version=/ s|1.12|${_automake::4}|;
- " $(grep -rl am__api_version=)
-
- #sed -i 's|INCLUDES|AM_CPPFLAGS|;
- # ' $(grep -rl INCLUDES | grep Makefile.am)
-
- # fixing path
- sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
- sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
- sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
- #sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
- sed -i 's|usr/libexec|usr/lib|;
- ' $(grep -rl usr/libexec)
- sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
- sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
-
- # remove Open Source term
- #sed -i 's|Open Source / ||;
- # s|open source / ||;
- # s|Open Source|Free Software|;
- # s|open source|free software|;
- # s|Free Software Development Lab|Open Source Development Lab|;
- # ' $(grep -ril 'open source')
- #sed -i 's|OpenSource / ||;
- # s|opensource / ||;
- # s|OpenSource|FreeSoftware|;
- # s|opensource|freesoftware|;
- # s|freesoftware.org|opensource.org|;
- # s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
- # s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
- # s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- # ' $(grep -ril opensource)
-
- # remove Linux term
- sed -i 's|Linux,|GNU/Linux,|;
- s|Linux and|GNU/Linux and|;
- s|Linux distro|GNU/Linux distro|;
- s|Linux distribution|GNU/Linux distribution|;
- s|Linux machine|GNU/Linux machine|;
- s|Linux Only|GNU/Linux Only|;
- s|Linux only|GNU/Linux only|;
- s|Linux operating|GNU/Linux operating|;
- s|Linux OS|GNU/Linux OS|;
- s|Linux platform|GNU/Linux platform|;
- s|Linux software|GNU/Linux software|;
- s|Linux specific|GNU/Linux specific|;
- s|Linux system|GNU/Linux system|;
- s|Linux will|GNU/Linux will|;
- s|# Linux$|# GNU/Linux|;
- s|# Linux.$|# GNU/Linux.|;
- s|* Linux$|* GNU/Linux|;
- s|* Linux.$|* GNU/Linux.|;
- s|// Linux$|// GNU/Linux|;
- s|// Linux.$|// GNU/Linux.|;
- s|, Linux|, GNU/Linux|;
- s|As Linux|As GNU/Linux|;
- s|as Linux|as GNU/Linux|;
- s|And Linux|And GNU/Linux|;
- s|and Linux|and GNU/Linux|;
- s|Be Linux|Be GNU/Linux|;
- s|be Linux|be GNU/Linux|;
- s|Because Linux|Because GNU/Linux|;
- s|because Linux|because GNU/Linux|;
- s|e.g. Linux|e.g. GNU/Linux|;
- s|For Linux|For GNU/Linux|;
- s|for Linux|for GNU/Linux|;
- s|In Linux|In GNU/Linux|;
- s|in Linux|in GNU/Linux|;
- s|Like Linux|Like GNU/Linux|;
- s|like Linux|like GNU/Linux|;
- s|non-Linux|non GNU/Linux|;
- s|Of Linux|Of GNU/Linux|;
- s|of Linux|of GNU/Linux|;
- s|On Linux|On GNU/Linux|;
- s|on Linux|on GNU/Linux|;
- s|OS type: Linux|OS type: GNU/Linux|;
- s|Other Linux|Other GNU/Linux|;
- s|other Linux|other GNU/Linux|;
- s|The Linux|The GNU/Linux|;
- s|the Linux|the GNU/Linux|;
- s|Typically Linux|Typically GNU/Linux|;
- s|typically Linux|typically GNU/Linux|;
- s|To Linux|To GNU/Linux|;
- s|to Linux|to GNU/Linux|;
- s|Under Linux|Under GNU/Linux|;
- s|under Linux|under GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
-}
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH ./configure --prefix=/usr\
- --disable-static\
- --enable-clients\
- --enable-dynamic_simulator\
- --enable-ilo2_ribcl\
- --enable-ipmidirect\
- --enable-man\
- --enable-oa_soap\
- --enable-simulator\
- --enable-slave\
- --enable-snmp_bc\
- --enable-sysfs\
- --enable-test_agent\
- --enable-watchdog\
- --localstatedir=/var\
- --sbindir=/usr/bin\
- --sysconfdir=/etc
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- rm $pkgdir/etc/init.d/openhpid && rmdir $pkgdir/etc/init.d
-
- install -d $pkgdir/usr/lib/systemd/system
- echo '[Unit]' > $pkgdir/usr/lib/systemd/system/openhpi.service
- echo 'Description=Enable OpenHPI service which is provided by openhpid' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo 'After=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo '' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo '[Service]' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo 'ExecStart=/usr/bin/openhpid -c /etc/openhpi/openhpi.conf' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo '' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo '[Install]' >> $pkgdir/usr/lib/systemd/system/openhpi.service
- echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/openhpi.service
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/openipmi/PKGBUILD b/pcr/openipmi/PKGBUILD
deleted file mode 100644
index cced11d05..000000000
--- a/pcr/openipmi/PKGBUILD
+++ /dev/null
@@ -1,177 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=openipmi
-_pkgname1=${pkgname::4}
-_pkgname2=${pkgname:4}
-_pkgname=${_pkgname1^}${_pkgname2^^}
-pkgver=2.0.19
-_pkgver=${pkgver::3}
-pkgrel=3
-pkgdesc="Allow access to platform information using Intelligent Platform Management Interface (${_pkgname2^^})"
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://sourceforge.net/projects/$pkgname/
-depends=(
- glib
- net-snmp
- #python2
- swig
- tcl
-)
-makedepends=(
- dia
- ghostscript-libre
- texlive-bibtexextra
-)
-options=(!libtool)
-license=(
- BSD-new
- GPL2
- LGPL2.1
-)
-source=http://downloads.sourceforge.net/project/$pkgname/$_pkgname' '$_pkgver' 'Library/$_pkgname-$pkgver.tar.gz
-sha512sums=ee95eb64b7cde3f22c8444a5f8e3172808b0bb9a3a7034c1302c5f568c1cc0852a44ccc836924267b5f9901f7a8a3f4c66272cc0b663aa55689d7529841217cb
-
-prepare() {
- cd $srcdir/$_pkgname-$pkgver
-
- #mv configure.{in,ac}
-
- #_automake=$(automake --version | grep automake | sed 's|automake (GNU automake) ||')
- #sed -i "/am__api_version=/ s|1.11|${_automake::4}|;
- # " $(grep -rl am__api_version=)
-
- #sed -i "s|AC_INIT(README.Force)|AC_INIT(OpenIPMI, $pkgver|;
- # " configure.ac
- #sed -i 's|AM_INIT_AUTOMAKE(OpenIPMI, ${OPENIPMI_VERSION_MAJOR}.${OPENIPMI_VERSION_MINOR}.${OPENIPMI_VERSION_RELEASE}${OPENIPMI_VERSION_EXTRA})|AM_INIT_AUTOMAKE|;
- # ' configure.ac
-
- # fixing path
- sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
- sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
- sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
- #sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
- sed -i 's|usr/libexec|usr/lib|;
- ' $(grep -rl usr/libexec)
- sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
- #sed -i 's|var/run|run|;
- # ' $(grep -rl var/run)
-
- # remove Open Source term
- sed -i 's|Open Source / ||;
- s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
- s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
- #sed -i 's|OpenSource / ||;
- # s|opensource / ||;
- # s|OpenSource|FreeSoftware|;
- # s|opensource|freesoftware|;
- # s|freesoftware.org|opensource.org|;
- # s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
- # s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
- # s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- # ' $(grep -ril opensource)
-
- # remove Linux term
- sed -i 's|Linux,|GNU/Linux,|;
- s|Linux and|GNU/Linux and|;
- s|Linux distro|GNU/Linux distro|;
- s|Linux distribution|GNU/Linux distribution|;
- s|Linux machine|GNU/Linux machine|;
- s|Linux Only|GNU/Linux Only|;
- s|Linux only|GNU/Linux only|;
- s|Linux operating|GNU/Linux operating|;
- s|Linux OS|GNU/Linux OS|;
- s|Linux platform|GNU/Linux platform|;
- s|Linux software|GNU/Linux software|;
- s|Linux specific|GNU/Linux specific|;
- s|Linux system|GNU/Linux system|;
- s|Linux will|GNU/Linux will|;
- s|# Linux$|# GNU/Linux|;
- s|# Linux.$|# GNU/Linux.|;
- s|* Linux$|* GNU/Linux|;
- s|* Linux.$|* GNU/Linux.|;
- s|// Linux$|// GNU/Linux|;
- s|// Linux.$|// GNU/Linux.|;
- s|, Linux|, GNU/Linux|;
- s|As Linux|As GNU/Linux|;
- s|as Linux|as GNU/Linux|;
- s|And Linux|And GNU/Linux|;
- s|and Linux|and GNU/Linux|;
- s|Be Linux|Be GNU/Linux|;
- s|be Linux|be GNU/Linux|;
- s|Because Linux|Because GNU/Linux|;
- s|because Linux|because GNU/Linux|;
- s|e.g. Linux|e.g. GNU/Linux|;
- s|For Linux|For GNU/Linux|;
- s|for Linux|for GNU/Linux|;
- s|In Linux|In GNU/Linux|;
- s|in Linux|in GNU/Linux|;
- s|Like Linux|Like GNU/Linux|;
- s|like Linux|like GNU/Linux|;
- s|non-Linux|non GNU/Linux|;
- s|Of Linux|Of GNU/Linux|;
- s|of Linux|of GNU/Linux|;
- s|On Linux|On GNU/Linux|;
- s|on Linux|on GNU/Linux|;
- s|OS type: Linux|OS type: GNU/Linux|;
- s|Other Linux|Other GNU/Linux|;
- s|other Linux|other GNU/Linux|;
- s|The Linux|The GNU/Linux|;
- s|the Linux|the GNU/Linux|;
- s|Typically Linux|Typically GNU/Linux|;
- s|typically Linux|typically GNU/Linux|;
- s|To Linux|To GNU/Linux|;
- s|to Linux|to GNU/Linux|;
- s|Under Linux|Under GNU/Linux|;
- s|under Linux|under GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
-}
-
-build() {
- cd $srcdir/$_pkgname-$pkgver
- setarch $CARCH ./configure --prefix=/usr\
- --disable-static
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$_pkgname-$pkgver
- install -d $pkgdir/usr/bin
- setarch $CARCH make DESTDIR=$pkgdir install
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/otf-stix/PKGBUILD b/pcr/otf-stix/PKGBUILD
new file mode 100644
index 000000000..6a9b2d62c
--- /dev/null
+++ b/pcr/otf-stix/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer (Arch): ezzetabi <ezzetabi at gawab dot com>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/otf-stix/
+
+pkgname=otf-stix
+pkgver=1.1.0
+#_pkgver=${pkgver//_/-}
+pkgrel=2
+epoch=2
+pkgdesc='A comprehensive set of fonts that serve the scientific and
+engineering community.'
+arch=('any')
+url="http://www.stixfonts.org"
+license=('Custom: OFL')
+depends=('fontconfig' 'xorg-fonts-encodings' 'xorg-font-utils')
+makedepends=('unzip')
+install=otf-stix.install
+source=("http://downloads.sourceforge.net/stixfonts/STIXv$pkgver.zip"
+'http://www.stixfonts.org/STIXFontLicense2010.txt')
+
+build() {
+ /bin/true
+}
+
+package() {
+ cd "$srcdir"
+
+ install -m755 -d "$pkgdir/usr/share/fonts/OTF"
+ install -m644 Fonts/STIX-General/*.otf "$pkgdir/usr/share/fonts/OTF"
+ install -m644 Fonts/STIX-Word/*.otf "$pkgdir/usr/share/fonts/OTF"
+ install -Dm644 "$srcdir"/STIXFontLicense2010.txt \
+ "$pkgdir"/usr/share/licenses/"$pkgname"/license.txt
+}
+
+md5sums=('e5ebc8ef9b7df0f0bac0fd90bce95295'
+'b1af7bbd3cea93a60bf68cf571ad6cab')
+
diff --git a/pcr/otf-stix/otf-stix.install b/pcr/otf-stix/otf-stix.install
new file mode 100644
index 000000000..5d66bc226
--- /dev/null
+++ b/pcr/otf-stix/otf-stix.install
@@ -0,0 +1,16 @@
+post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -s
+ mkfontscale /usr/share/fonts/OTF
+ mkfontdir /usr/share/fonts/OTF
+ echo "done."
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
diff --git a/pcr/owncloud-client/PKGBUILD b/pcr/owncloud-client/PKGBUILD
index 69905f40a..ea808c1ef 100644
--- a/pcr/owncloud-client/PKGBUILD
+++ b/pcr/owncloud-client/PKGBUILD
@@ -1,6 +1,7 @@
# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
# https://github.com/zizzfizzix/pkgbuilds
-
+# Maintainer: Jorge Araya Navarro <shackra@riseup.net>
+#
##############################################################
#### The section below can be adjusted to suit your needs ####
##############################################################
@@ -15,31 +16,33 @@ _buildtype="Release"
_name=mirall
pkgname=owncloud-client
-pkgver=1.2.3
+pkgver=1.4.0
pkgrel=1
pkgdesc="ownCloud client based on mirall"
arch=('i686' 'x86_64')
url="http://owncloud.org/"
license=('GPL2')
-depends=('qt4' 'ocsync')
+depends=('qt4' 'ocsync' 'qtkeychain' 'qtwebkit')
makedepends=('cmake')
+optdepends=('qtkeychain: safe password storage')
provides=('mirall' 'owncloud-client')
conflicts=('mirall-git')
install=owncloud-client.install
backup=('etc/owncloud-client/sync-exclude.lst')
-source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2"
- "${pkgname}.desktop")
-md5sums=('a3aa2cb1b9ccb13c7e8b0ef8a1b539df'
- 'e223d162626c2ff54efebaa90a182d81')
-
-# Clean options array to strip pkg if release buildtype is chosen
-if [[ ${_buildtype} == "Release" ]] || [[ ${_buildtype} == "release" ]]; then
- options=()
+source=("http://download.owncloud.com/download/${_name}-${pkgver}.tar.bz2")
+md5sums=('05a69082b4e940b4282c2b05344c143a')
+
+
+if [[ ! ${_buildtype} == "Release" ]] && [[ ! ${_buildtype} == "release" ]]; then
+ options=(!strip)
fi
-build() {
+prepare() {
if [[ -e ${srcdir}/${_name}-${pkgver}-build ]]; then rm -rf ${srcdir}/${_name}-${pkgver}-build; fi
mkdir ${srcdir}/${_name}-${pkgver}-build
+}
+
+build() {
cd ${srcdir}/${_name}-${pkgver}-build
cmake -DQT_QMAKE_EXECUTABLE=qmake-qt4 \
@@ -55,5 +58,4 @@ build() {
package() {
cd ${srcdir}/${_name}-${pkgver}-build
make DESTDIR=${pkgdir} install
- install -Dm644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
}
diff --git a/pcr/owncloud-client/owncloud-client.install b/pcr/owncloud-client/owncloud-client.install
index e216754c7..eecc35ccd 100644
--- a/pcr/owncloud-client/owncloud-client.install
+++ b/pcr/owncloud-client/owncloud-client.install
@@ -1,5 +1,5 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor
+ xdg-icon-resource forceupdate --theme hicolor > /dev/null
}
post_upgrade() {
diff --git a/pcr/pacemaker/PKGBUILD b/pcr/pacemaker/PKGBUILD
deleted file mode 100644
index 7ee8209ad..000000000
--- a/pcr/pacemaker/PKGBUILD
+++ /dev/null
@@ -1,222 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=pacemaker
-pkgver=1.1.9
-pkgrel=5
-pkgdesc='Cluster resource manager (Linux-HA)'
-arch=(
- i686
- x86_64
- mips64el
-)
-group=linux-ha
-url=http://$group.org/wiki/${pkgname^}
-license=GPL2
-depends=(
- corosync
- heartbeat
- libqb
- libxslt
- resource-agent
- #saxon-he
-)
-makedepends=(
- asciidoc
- help2man
- inkscape
- lynx
- openssh
- valgrind
- w3m
-)
-options=(!libtool)
-provides=(ha-$pkgname)
-conflicts=ha-$pkgname
-replaces=ha-$pkgname
-source=https://github.com/ClusterLabs/$pkgname/archive/${pkgname^}-$pkgver.tar.gz
-sha512sums=97d13cf722aea9cba1ce344afc3137d9edc15a978d2a7acc44179c4859ecb18f800312caf02c9574b0fab528cd6e2c3e4876a1ffde8a08c2500c0ba816cdf071
-
-prepare() {
- cd $srcdir/$pkgname-${pkgname^}-$pkgver
-
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- s|AM_INIT_AUTOMAKE($PACKAGE_NAME, $PACKAGE_VERSION)|AM_INIT_AUTOMAKE|;
- ' configure.ac
-
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
-
- # fixing path
- sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
- sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
- sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
- sed -i 's|/lib64|/lib|;
- ' $(grep -rl /lib64)
- sed -i 's|usr/libexec|usr/lib|;
- ' $(grep -rl usr/libexec)
- sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
- sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
-
- # remove Open Source term
- sed -i 's|Open Source / ||;
- s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
- s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
- sed -i 's|OpenSource / ||;
- s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
- s|freesoftware.org|opensource.org|;
- s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
- s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
- s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- ' $(grep -ril opensource)
-
- # remove Linux term
- sed -i 's|Linux,|GNU/Linux,|;
- s|Linux and|GNU/Linux and|;
- s|Linux distro|GNU/Linux distro|;
- s|Linux distribution|GNU/Linux distribution|;
- s|Linux machine|GNU/Linux machine|;
- s|Linux Only|GNU/Linux Only|;
- s|Linux only|GNU/Linux only|;
- s|Linux operating|GNU/Linux operating|;
- s|Linux OS|GNU/Linux OS|;
- s|Linux platform|GNU/Linux platform|;
- s|Linux software|GNU/Linux software|;
- s|Linux specific|GNU/Linux specific|;
- s|Linux system|GNU/Linux system|;
- s|Linux will|GNU/Linux will|;
- s|# Linux$|# GNU/Linux|;
- s|# Linux.$|# GNU/Linux.|;
- s|* Linux$|* GNU/Linux|;
- s|* Linux.$|* GNU/Linux.|;
- s|// Linux$|// GNU/Linux|;
- s|// Linux.$|// GNU/Linux.|;
- s|, Linux|, GNU/Linux|;
- s|As Linux|As GNU/Linux|;
- s|as Linux|as GNU/Linux|;
- s|And Linux|And GNU/Linux|;
- s|and Linux|and GNU/Linux|;
- s|Be Linux|Be GNU/Linux|;
- s|be Linux|be GNU/Linux|;
- s|Because Linux|Because GNU/Linux|;
- s|because Linux|because GNU/Linux|;
- s|e.g. Linux|e.g. GNU/Linux|;
- s|For Linux|For GNU/Linux|;
- s|for Linux|for GNU/Linux|;
- s|In Linux|In GNU/Linux|;
- s|in Linux|in GNU/Linux|;
- s|Like Linux|Like GNU/Linux|;
- s|like Linux|like GNU/Linux|;
- s|non-Linux|non GNU/Linux|;
- s|Of Linux|Of GNU/Linux|;
- s|of Linux|of GNU/Linux|;
- s|On Linux|On GNU/Linux|;
- s|on Linux|on GNU/Linux|;
- s|OS type: Linux|OS type: GNU/Linux|;
- s|Other Linux|Other GNU/Linux|;
- s|other Linux|other GNU/Linux|;
- s|The Linux|The GNU/Linux|;
- s|the Linux|the GNU/Linux|;
- s|Typically Linux|Typically GNU/Linux|;
- s|typically Linux|typically GNU/Linux|;
- s|To Linux|To GNU/Linux|;
- s|to Linux|to GNU/Linux|;
- s|Under Linux|Under GNU/Linux|;
- s|under Linux|under GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
- sed -i 's|Linux|GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux | grep .po)
-}
-
-build() {
- cd $srcdir/$pkgname-${pkgname^}-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --disable-static\
- --enable-fatal-warnings\
- --enable-systemd\
- --enable-upstart\
- --libdir=/usr/lib\
- --libexecdir=/usr/lib\
- --localstatedir=/var\
- --sbindir=/usr/bin\
- --sysconfdir=/etc\
- --with-acl\
- --with-ais\
- --with-cibsecrets\
- --with-cman\
- --with-corosync\
- --with-cs-quorum\
- --with-esmtp\
- --with-heartbeat\
- --with-lcrso-dir=/usr/lib/lcrso\
- --with-nagios\
- --with-profiling\
- --with-snmp\
- --without-gcov
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$pkgname-${pkgname^}-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- rm $pkgdir/etc/rc.d/pacemaker{_remote,} && rmdir $pkgdir/etc{/rc.d,}
- mv $pkgdir/{var/,}run
- mv $pkgdir/usr/bin/cibsecret{,-$pkgname}
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/pandoc/PKGBUILD b/pcr/pandoc/PKGBUILD
index 6fe28cc7c..0d2f2d8ea 100644
--- a/pcr/pandoc/PKGBUILD
+++ b/pcr/pandoc/PKGBUILD
@@ -5,13 +5,13 @@
pkgname=pandoc-static
_pkgname=pandoc
-pkgver=1.11.1
-pkgrel=2
+pkgver=1.12
+pkgrel=1
pkgdesc='Conversion between markup formats (no Haskell libs)'
url='http://johnmacfarlane.net/pandoc/'
license=('GPL')
arch=('i686' 'x86_64')
-makedepends=('ghc' 'sh' 'cabal-install')
+makedepends=('ghc' 'sh' 'cabal-install' 'alex' 'happy')
options=(strip !makeflags !distcc !emptydirs)
#source=(https://repo.parabolagnulinux.org/other/${_pkgname}-${pkgver}-$pkgrel-any.src.tar.xz{,.sig}
source=(https://repo.parabolagnulinux.org/other/${_pkgname}-${pkgver}-1-any.src.tar.xz{,.sig}
@@ -20,9 +20,9 @@ source=(https://repo.parabolagnulinux.org/other/${_pkgname}-${pkgver}-1-any.src.
replaces=('pandoc')
provides=('pandoc')
optdepends=('texlive-most: for pdf creation')
-md5sums=('74acd042fcd85bee9edb093cc3fe5c2e'
+md5sums=('3d5f23060cad2ff29ba2df5651e92f8a'
'SKIP'
- 'ee9d5924632ac07b5049be834a1ed054')
+ 'c2e9f9b880468455b6e6a7f9ba7308e8')
# PKGBUILD functions
build() {
@@ -47,7 +47,7 @@ build() {
case $_hkpkg in
$_pkgname-$pkgver)
HOME=${srcdir}/${_pkgname}-${pkgver} \
- cabal configure --flags='-library blaze_html_0_5' \
+ cabal configure --flags='-library' \
--prefix=/usr \
--libdir=${srcdir}/build/usr/lib -v
diff --git a/pcr/pandoc/SRCBUILD b/pcr/pandoc/SRCBUILD
index ec499f814..f822bb1a0 100644
--- a/pcr/pandoc/SRCBUILD
+++ b/pcr/pandoc/SRCBUILD
@@ -2,10 +2,7 @@
# Based on haskell-pandoc
pkgname=pandoc
-pkgver=1.11.1
-# 0.4 doesn't work with ghc 7.6
-# Use blaze_html_0_5 flag in the future
-_blaze_html=0.6.1.1
+pkgver=1.12
pkgrel=1
pkgdesc='Conversion between markup formats (no Haskell libs)'
url='http://johnmacfarlane.net/pandoc/'
@@ -24,12 +21,12 @@ build() {
cabal --verbose=3 update
HOME=${srcdir}/${pkgname}-${pkgver} \
- cabal --verbose=3 fetch file-embed blaze-html-${_blaze_html} ${pkgname}-${pkgver}
+ cabal --verbose=3 fetch file-embed ${pkgname}-${pkgver}
msg2 "Getting the dependency build order"
# Ignore the cabal messages
HOME=${srcdir}/${pkgname}-${pkgver} \
- cabal install --dry-run file-embed blaze-html-${_blaze_html} ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER
+ cabal install --dry-run file-embed ${pkgname}-${pkgver} | grep "\-[0-9]\+" >>BUILDORDER
}
package() {
diff --git a/pcr/par/PKGBUILD b/pcr/par/PKGBUILD
new file mode 100644
index 000000000..2a6c0fac3
--- /dev/null
+++ b/pcr/par/PKGBUILD
@@ -0,0 +1,38 @@
+# Contributor: Federico Quagliata (quaqo) <quaqo@despammed.com>
+# Contributor: quantax -- contact via Arch Linux forum or AUR
+
+pkgname=par
+pkgver=1.52
+pkgrel=3
+pkgdesc="Paragraph reformatter"
+url="http://www.nicemice.net/par/"
+depends=('glibc')
+arch=(i686 x86_64)
+license=('Custom')
+source=(http://www.nicemice.net/par/Par152-autoconf.tar.gz
+ http://www.nicemice.net/par/par_1.52-i18n.3.diff.gz
+ http://www.nicemice.net/par/Par152.tar.gz )
+md5sums=('83e4d23a943ab07c44dd995b73195c70'
+ 'e79b448cb14323a39d817afce4847cdf'
+ '4ccacd824171ba2c2f14fb8aba78b9bf')
+
+prepare() {
+ cd $srcdir/Par152
+
+ patch -p1 -i $srcdir/par_1.52-i18n.3.diff
+}
+
+build() {
+ cd $srcdir/Par152
+
+ ./configure --prefix=/usr
+
+ make
+}
+
+package() {
+ cd $srcdir/Par152
+ install --mode=755 -D par "${pkgdir}/usr/bin/par"
+ install --mode=644 -D par.1 "${pkgdir}/usr/share/man/man1/par.1"
+ install --mode=644 -D par.doc "${pkgdir}/usr/share/licenses/${pkgname}/par.doc"
+}
diff --git a/pcr/perl-crypt-dh/PKGBUILD b/pcr/perl-crypt-dh/PKGBUILD
new file mode 100644
index 000000000..e2c9b5a3c
--- /dev/null
+++ b/pcr/perl-crypt-dh/PKGBUILD
@@ -0,0 +1,47 @@
+# Maintainer (AUR): Michael Witten
+#
+# Derived from perl-crypt-blowfish:
+# Contributor: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Charles Mauch <cmauch@gmail.com>
+#
+# Contributor: Pedro Alejandro LĂłpez-Valencia <palopezv@gmail.com>
+
+pkgname=perl-crypt-dh
+pkgver=0.07
+pkgrel=3
+
+pkgdesc='Perl/CPAN Module Crypt::DH: Diffie-Hellman key exchange system'
+
+_cpan_name=Crypt-DH-$pkgver
+url=http://search.cpan.org/~mithaldu/$_cpan_name/lib/Crypt/DH.pm
+
+license=(GPL PerlArtistic)
+source=("http://search.cpan.org/CPAN/authors/id/M/MI/MITHALDU/$_cpan_name.tar.gz")
+md5sums=(5494c91420bf77de4af808fcafb6c3ce)
+
+arch=(any)
+makedepends=(make)
+depends=(perl perl-math-bigint-gmp)
+
+build()
+{
+ cd "$srcdir/$_cpan_name"
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check()
+{
+ cd "$srcdir/$_cpan_name"
+ make test
+}
+
+package()
+{
+ cd "$srcdir/$_cpan_name"
+ make pure_install DESTDIR="$pkgdir"
+
+ cd "$pkgdir"
+ find . -name '.packlist' -delete
+ find . -name '*.pod' -delete
+}
diff --git a/pcr/perl-geo-ipfree/PKGBUILD b/pcr/perl-geo-ipfree/PKGBUILD
new file mode 100644
index 000000000..394e38ca1
--- /dev/null
+++ b/pcr/perl-geo-ipfree/PKGBUILD
@@ -0,0 +1,28 @@
+_author=bricas
+_perlmod=Geo-IPfree
+pkgname=perl-geo-ipfree
+pkgver=1.131650
+pkgrel=1
+pkgdesc="An IPv4 to country lookup database"
+arch=('any')
+url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.10.0')
+options=(!emptydirs)
+source=(http://search.cpan.org/CPAN/authors/id/B/BR/BRICAS/$_perlmod-$pkgver.tar.gz)
+md5sums=('23d71e4f9a872184d9b4c6903c5a2b98')
+
+build() {
+ cd "$srcdir/$_perlmod-$pkgver"
+
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make install DESTDIR="$pkgdir/"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/perl-math-bigint-gmp/PKGBUILD b/pcr/perl-math-bigint-gmp/PKGBUILD
new file mode 100644
index 000000000..32923d432
--- /dev/null
+++ b/pcr/perl-math-bigint-gmp/PKGBUILD
@@ -0,0 +1,37 @@
+# Maintainer (AUR): Pedro Alejandro LĂłpez-Valencia <palopezv@gmail.com>
+
+_author=PJACKLAM
+_perlmod=Math-BigInt-GMP
+pkgname=perl-math-bigint-gmp
+pkgver=1.37
+pkgrel=2
+pkgdesc="Big integer calculations using the GNU Multiple Precision Arithmetic Library."
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/~$_author/$_perlmod-$pkgver/"
+license=('GPL' 'PerlArtistic')
+depends=('perl>=5.16.2' 'gmp')
+options=(!emptydirs)
+source=(http://cpan.perl.org/modules/by-authors/id/P/PJ/$_author/$_perlmod-$pkgver.tar.gz)
+md5sums=('d11bf69c0471e38191f33144079d0373')
+
+build() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ # Install module in vendor directories.
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make test
+}
+
+package() {
+ cd "$srcdir/$_perlmod-$pkgver"
+ make install DESTDIR="$pkgdir/"
+
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+}
+
+# vim:set ts=2 sw=2 et ft=sh:
diff --git a/pcr/perl-net-sftp-foreign/Changes b/pcr/perl-net-sftp-foreign/Changes
index eff2bb00b..f730a8973 100644
--- a/pcr/perl-net-sftp-foreign/Changes
+++ b/pcr/perl-net-sftp-foreign/Changes
@@ -1,5 +1,48 @@
Revision history for Net::SFTP::Foreign
+1.75 Apr 2, 2013
+ - release as stable
+
+1.74_07 Mar 21, 2013
+ - seek method was returning offset instead of success value
+ (bug report by Paul Kolano).
+
+1.74_06 Mar 12, 2013
+ - disconnect may kill some unrelated process when called
+ repeatly (bug report by Douglas Wilson)
+ - debug was clobbering $!
+
+1.74_05 Feb 5, 2013
+ - error was not being set on timeouts (bug report by Kqfh
+ Jjgrn)
+
+1.74_04 Oct 25, 2012
+ - overwriting rename of a file over itself was broken (bug
+ report by Mike Wilder)
+ - stat and lstat path arguments is now optional and defaults
+ to '.' (bug report by Paul Kolano)
+ - fstat was broken
+ - add git repository and bugtracker into meta files
+
+1.74_03 Sep 21, 2012
+ - put_content was broken (bug report by Caleb Cushing)
+ - document put_content method
+ - add more tests
+
+1.74_02 Jul 11, 2012
+ - rget was dieing when trying to copy remote symbolic links
+ - add support for get method slow-start feature: when file
+ size is unknown don't start asking for $queue_size packets
+ as it slows down the transfer of small files, instead,
+ starting from a queue size of one go gradually increasing it
+ until the stated maximum is reached (bug report by David
+ R. Wagner)
+ - parse supported2 extension
+
+1.74_01
+ - add support for password_prompt (feature request by Douglas
+ Wilson)
+
1.73 May 11, 2012
- password authentication was broken on Solaris (maybe also on
others) due to an incorrect waitpid call (bug report and
@@ -134,6 +177,7 @@ Revision history for Net::SFTP::Foreign
get_symlink options using hashes
- remove operation inside put_symlink was clobbering error and
status from previous symlink call
+ - solve several minor bugs related to autodie handling
- do not die from inside DESTROY methods when autodie is set
- resume feature in get method was broken
- refactor numbered logic inside _inc_numbered sub
diff --git a/pcr/perl-net-sftp-foreign/PKGBUILD b/pcr/perl-net-sftp-foreign/PKGBUILD
index 61fb3b8df..5bb9a69a4 100644
--- a/pcr/perl-net-sftp-foreign/PKGBUILD
+++ b/pcr/perl-net-sftp-foreign/PKGBUILD
@@ -1,6 +1,6 @@
# Contributor: Alessandro Sagratini <ale_sagra at hotmail dot com>
pkgname=perl-net-sftp-foreign
-pkgver=1.73
+pkgver=1.75
pkgrel=1
pkgdesc="Perl SFTP client using the native SSH client application"
arch=(any)
@@ -11,7 +11,7 @@ optdepends=('perl-file-which' 'perl-sort-key')
options=(!emptydirs)
changelog=Changes
source=(http://search.cpan.org/CPAN/authors/id/S/SA/SALVA/Net-SFTP-Foreign-$pkgver.tar.gz)
-md5sums=('3de69b9281027e484a30e3efa581981f')
+md5sums=('2545691cd69f8515dd9c126cc52e40c5')
build() {
cd "$srcdir/Net-SFTP-Foreign-$pkgver"
diff --git a/pcr/perl-php-serialization/PKGBUILD b/pcr/perl-php-serialization/PKGBUILD
index f09269c92..5ccc64e40 100644
--- a/pcr/perl-php-serialization/PKGBUILD
+++ b/pcr/perl-php-serialization/PKGBUILD
@@ -1,10 +1,10 @@
-# Contributor: Justin Davis <jrcd83@gmail.com>
-# Generator : CPANPLUS::Dist::Arch 1.18
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# CPAN Name : PHP-Serialization
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator : CPANPLUS::Dist::Arch 1.25
pkgname='perl-php-serialization'
pkgver='0.34'
-pkgrel='1'
+pkgrel='2'
pkgdesc="simple flexible means of converting the output of PHP's serialize() into the equivalent Perl memory structure, and vice versa."
arch=('any')
license=('PerlArtistic' 'GPL')
@@ -15,7 +15,7 @@ url='http://search.cpan.org/dist/PHP-Serialization'
source=('http://search.cpan.org/CPAN/authors/id/B/BO/BOBTFISH/PHP-Serialization-0.34.tar.gz')
md5sums=('333af0848ad79931875a35cc61dc22e0')
sha512sums=('72218973f21ab71419751cf818e6bd998235aa74bf8ae60ec4a6080ba169d0d7fcefde4f433ce3f6f30ed3084a651deb8aa3a5dd818fc6ebf3fb6188def4efe7')
-_distdir="${srcdir}/PHP-Serialization-0.34"
+_distdir="PHP-Serialization-0.34"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -24,22 +24,23 @@ build() {
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
- cd "$_distdir"
+ cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
- cd "$_distdir"
+ cd "$srcdir/$_distdir"
make install
+
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
diff --git a/pcr/perl-sys-mmap/PKGBUILD b/pcr/perl-sys-mmap/PKGBUILD
index e563d5da7..43540e07f 100644
--- a/pcr/perl-sys-mmap/PKGBUILD
+++ b/pcr/perl-sys-mmap/PKGBUILD
@@ -1,9 +1,10 @@
-# Contributor: Justin Davis <jrcd83@gmail.com>
-# Generator : CPANPLUS::Dist::Arch 1.18
+# CPAN Name : Sys-Mmap
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator : CPANPLUS::Dist::Arch 1.25
pkgname='perl-sys-mmap'
pkgver='0.16'
-pkgrel='1'
+pkgrel='3'
pkgdesc="uses mmap to map in a file as a Perl variable"
arch=('i686' 'x86_64')
license=('PerlArtistic' 'GPL')
@@ -14,7 +15,7 @@ url='http://search.cpan.org/dist/Sys-Mmap'
source=('http://search.cpan.org/CPAN/authors/id/T/TO/TODDR/Sys-Mmap-0.16.tar.gz')
md5sums=('faae869e876fa86f92e6de3f13af3aef')
sha512sums=('9f533f8eaa2707a77fa69dc0163e5e55b13d6653ddb5f7850c3fcaa090c79069cccedb947c1b8cd5a125fd7b055803eff437697c120785f422bff0414be7cd05')
-_distdir="${srcdir}/Sys-Mmap-0.16"
+_distdir="Sys-Mmap-0.16"
build() {
( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
@@ -23,22 +24,23 @@ build() {
PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
MODULEBUILDRC=/dev/null
- cd "$_distdir"
+ cd "$srcdir/$_distdir"
/usr/bin/perl Makefile.PL
make
)
}
check() {
- cd "$_distdir"
+ cd "$srcdir/$_distdir"
( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
make test
)
}
package() {
- cd "$_distdir"
+ cd "$srcdir/$_distdir"
make install
+
find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
diff --git a/pcr/perl-x10/PKGBUILD b/pcr/perl-x10/PKGBUILD
index 51283d599..0a0d352cb 100644
--- a/pcr/perl-x10/PKGBUILD
+++ b/pcr/perl-x10/PKGBUILD
@@ -1,30 +1,51 @@
-# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
-# Contributor: Ross melin <rdmelin@gmail.com>
+# CPAN Name : X10
+# Contributor: John D Jones III <j[nospace]n[nospace]b[nospace]e[nospace]k[nospace]1972 -_AT_- the domain name google offers a mail service at ending in dot com>
+# Generator : CPANPLUS::Dist::Arch 1.25
-# Required by zoneminder
-
-pkgname=perl-x10
-pkgver=0.03
-pkgrel=2
-pkgdesc="X10"
-arch=('i686' 'x86_64')
-url="http://search.cpan.org/~ROBF/X10"
-license=('GPL' 'PerlArtistic')
-depends=('perl-astro-suntime>=0.01' 'perl-device-serialport' 'perl-time-modules')
+pkgname='perl-x10'
+pkgver='0.03'
+pkgrel='3'
+pkgdesc=""
+arch=('any')
+license=('PerlArtistic' 'GPL')
options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/R/RO/ROBF/X10-$pkgver.tar.gz)
+depends=('perl-astro-suntime>=0.01' 'perl-device-serialport' 'perl-time-modules')
+makedepends=()
+url='http://search.cpan.org/dist/X10'
+source=('http://search.cpan.org/CPAN/authors/id/R/RO/ROBF/X10-0.03.tar.gz')
md5sums=('056b3d98fab545865148b948de6784c7')
+sha512sums=('6ed2b9526732dc5f704ceb94f3a9abb51c208aabb6f127480046ce1f01ecf763e4de2dcb5bf52ef598831dbd5ba78ff9d108238001070076b0cc05c7681dea2f')
+_distdir="X10-0.03"
build() {
- cd $startdir/src/X10-$pkgver
- eval `perl -V:archname`
- PERL_MM_USE_DEFAULT=1 /usr/bin/perl Makefile.PL \
- INSTALLDIRS=vendor || return 1
-
- /usr/bin/make || return 1
- /usr/bin/make DESTDIR=$startdir/pkg install || return 1
- /usr/bin/find $startdir/pkg -name '.packlist' -delete
- /usr/bin/find $startdir/pkg -name '*.pod' -delete
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \
+ PERL_AUTOINSTALL=--skipdeps \
+ PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
+ PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
+ MODULEBUILDRC=/dev/null
+
+ cd "$srcdir/$_distdir"
+ /usr/bin/perl Makefile.PL
+ make
+ )
+}
+
+check() {
+ cd "$srcdir/$_distdir"
+ ( export PERL_MM_USE_DEFAULT=1 PERL5LIB=""
+ make test
+ )
+}
+
+package() {
+ cd "$srcdir/$_distdir"
+ make install
+
+ find "$pkgdir" -name .packlist -o -name perllocal.pod -delete
}
+# Local Variables:
+# mode: shell-script
+# sh-basic-offset: 2
+# End:
# vim:set ts=2 sw=2 et:
diff --git a/pcr/plowshare/PKGBUILD b/pcr/plowshare/PKGBUILD
index cc2fd08ef..3076b779e 100644
--- a/pcr/plowshare/PKGBUILD
+++ b/pcr/plowshare/PKGBUILD
@@ -2,7 +2,7 @@
# Contributor: breakdown <breakdown(at)archlinux(dot)us>
pkgname=plowshare
-pkgver=snapshot_git20130401.7b374cb
+pkgver=snapshot_git20130901.1c5013f
pkgrel=1
pkgdesc="Command-line downloader and uploader for Rapidshare, Mediafire and other file sharing websites."
arch=('any')
@@ -15,7 +15,7 @@ optdepends=('bash-completion: enable bash auto completion'
'aview: ascii display for no X server')
conflicts=("$pkgname-git")
source=("http://$pkgname.googlecode.com/files/${pkgname}4-${pkgver/_/-}.tar.gz")
-md5sums=('edcc004c9432c22644a44f97c2cd5992')
+md5sums=('c5fe40d79dea2cf02ba534c9a0ea9680')
package() {
cd "$srcdir/${pkgname}4-${pkgver/_/-}"
diff --git a/pcr/pngcrush/PKGBUILD b/pcr/pngcrush/PKGBUILD
deleted file mode 100644
index a4ac8b5cb..000000000
--- a/pcr/pngcrush/PKGBUILD
+++ /dev/null
@@ -1,26 +0,0 @@
-# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
-
-pkgname=pngcrush
-pkgver=1.7.58
-pkgrel=1
-pkgdesc="A tool for optimizing the compression of PNG files"
-arch=('i686' 'x86_64' 'mips64el')
-url="http://pmt.sourceforge.net/"
-license=('custom')
-depends=('libpng' 'zlib')
-source=(http://downloads.sourceforge.net/pmt/$pkgname-$pkgver-nolib.tar.xz)
-
-build() {
- cd "$srcdir"/$pkgname-$pkgver-nolib
- sed -n '10,17s/^\s*//p' cexcept.h > LICENSE.cexcept.txt
- sed -rn '97,142s/ \* ?//p' pngcrush.c > LICENSE.pngcrush.txt
- make
-}
-
-package() {
- cd "$srcdir"/$pkgname-$pkgver-nolib
- install -Dm755 $pkgname "$pkgdir"/usr/bin/$pkgname
- install -Dm644 LICENSE.cexcept.txt "$pkgdir"/usr/share/licenses/$pkgname/cexcept.txt
- install -Dm644 LICENSE.pngcrush.txt "$pkgdir"/usr/share/licenses/$pkgname/pngcrush.txt
-}
-md5sums=('aa09aa8a65999ba522e5735ed0ad6a1a')
diff --git a/pcr/polarssl/PKGBUILD b/pcr/polarssl/PKGBUILD
new file mode 100644
index 000000000..9d547d1d1
--- /dev/null
+++ b/pcr/polarssl/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Mihai Militaru <mihai militaru at xmpp dot ro>
+
+pkgname=polarssl
+pkgver=1.2.8
+pkgrel=1
+pkgdesc="Portable cryptographic and SSL/TLS library"
+arch=('i686' 'x86_64')
+url="http://www.polarssl.org/"
+license=('GPL2')
+source=(http://www.polarssl.org/code/releases/polarssl-"$pkgver"-gpl.tgz)
+sha1sums=('a3e69d4e9302529c5006dcb7d8ecab9c99488036')
+depends=('glibc')
+
+build() {
+ cd "$pkgname"-"$pkgver"
+
+ sed -i 's^CFLAGS +=^CFLAGS += -fPIC^g' library/Makefile
+ sed -i 's#all: static#all: static shared#g' library/Makefile
+
+ make
+}
+
+package() {
+ cd "$pkgname"-"$pkgver"
+
+ make DESTDIR="$pkgdir/usr" install
+ echo "WARNING: in order to run the tests, execute in this directory, after you install the library: cd src/polarssl-$pkgver && make check"
+}
diff --git a/pcr/pybonjour/PKGBUILD b/pcr/pybonjour/PKGBUILD
index 9f77354b2..cb7d6bd45 100644
--- a/pcr/pybonjour/PKGBUILD
+++ b/pcr/pybonjour/PKGBUILD
@@ -16,4 +16,4 @@ md5sums=('30cbfd3e9e9721b39f6aa67df1c315a2')
package() {
cd $srcdir/$pkgname-$pkgver
python2 setup.py install --root=$pkgdir
- }
+}
diff --git a/pcr/pycryptopp/PKGBUILD b/pcr/pycryptopp/PKGBUILD
new file mode 100644
index 000000000..f95654884
--- /dev/null
+++ b/pcr/pycryptopp/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=pycryptopp
+pkgver=0.6.0
+_pkgtag=1206569328141510525648634803928199668821045408958
+pkgrel=2
+pkgdesc="Python wrappers for the Crypto++ library"
+arch=('i686' 'x86_64')
+url='http://allmydata.org/trac/pycryptopp'
+license=('GPL2' 'custom')
+depends=('python2' 'crypto++')
+makedepends=('darcsver' 'setuptools_darcs')
+source=( http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.$_pkgtag.tar.gz
+ http://pypi.python.org/packages/source/p/$pkgname/$pkgname-$pkgver.$_pkgtag.tar.gz.asc )
+md5sums=('ce38fbe03705d27da408c78b56eb1947'
+ '76fe2da5b1fc964d9e1ee4596c36d5bf')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
+ export PYCRYPTOPP_DISABLE_EMBEDDED_CRYPTOPP=1
+ python2 setup.py build
+ python2 setup.py test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver.$_pkgtag"
+ python2 setup.py install --root="$pkgdir"
+
+ install -d $pkgdir/usr/share/licenses/$pkgname/
+ install -m 644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
+}
diff --git a/pcr/python-blinker/PKGBUILD b/pcr/python-blinker/PKGBUILD
new file mode 100644
index 000000000..00dc3cdad
--- /dev/null
+++ b/pcr/python-blinker/PKGBUILD
@@ -0,0 +1,19 @@
+pkgname=python-blinker
+pkgver=1.3
+pkgrel=1
+pkgdesc="Fast, simple object-to-object and broadcast signaling"
+arch=("any")
+url="http://pythonhosted.org/blinker/"
+license=('custom')
+depends=('python')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/b/blinker/blinker-$pkgver.tar.gz")
+md5sums=('66e9688f2d287593a0e698cd8a5fbc57')
+
+package() {
+ cd "$srcdir/blinker-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+ install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python-feedgenerator/PKGBUILD b/pcr/python-feedgenerator/PKGBUILD
new file mode 100644
index 000000000..0f0d65952
--- /dev/null
+++ b/pcr/python-feedgenerator/PKGBUILD
@@ -0,0 +1,18 @@
+pkgname=python-feedgenerator
+pkgver=1.6
+pkgrel=1
+pkgdesc="Standalone version of django.utils.feedgenerator"
+arch=("any")
+url="https://github.com/dmdm/feedgenerator-py3k.git"
+license=('custom:BSD')
+depends=('python' 'python-distribute' 'python-pytz' 'python-six')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/f/feedgenerator/feedgenerator-$pkgver.tar.gz")
+md5sums=('63f6f8529a1ae877715124328edea196')
+
+package() {
+ cd "$srcdir/feedgenerator-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python-pelican/PKGBUILD b/pcr/python-pelican/PKGBUILD
new file mode 100644
index 000000000..6d250a014
--- /dev/null
+++ b/pcr/python-pelican/PKGBUILD
@@ -0,0 +1,20 @@
+pkgname=python-pelican
+pkgver=3.2.2
+pkgrel=1
+pkgdesc="Static blog generator"
+arch=("any")
+url="http://getpelican.com/"
+license=('AGPL3')
+depends=('python' 'python-feedgenerator' 'python-jinja' 'python-pygments'
+ 'python-docutils' 'python-pytz' 'python-blinker' 'python-unidecode'
+ 'python-six' 'python-distribute')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/p/pelican/pelican-$pkgver.tar.gz")
+md5sums=('cf9af2669dbd84c3e83b546b70b1a78c')
+
+package() {
+ cd "$srcdir/pelican-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python-pygame-hg/PKGBUILD b/pcr/python-pygame-hg/PKGBUILD
new file mode 100644
index 000000000..c48317b19
--- /dev/null
+++ b/pcr/python-pygame-hg/PKGBUILD
@@ -0,0 +1,72 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+_pkgname=pygame
+_pkgver=1.9.2
+_pyname=python
+_py3ver=3.3
+_py2ver=2.7
+_pkg3name=$_pyname-$_pkgname
+_pkg2name=${_pyname}2-$_pkgname
+_srcver=pre.d$(LC_ALL=C date -u +%Y%m%d)
+
+pkgbase=$_pyname-$_pkgname
+pkgname=(
+ $_pkg3name-hg
+ $_pkg2name-hg
+)
+pkgver=$_pkgver$_srcver
+pkgrel=1
+pkgdesc="${_pyname^} game library"
+arch=(
+ mips64el
+ x86_64
+ i686
+)
+url=http://www.$_pkgname.org/
+license=LGPL2.1
+depends=(
+ ffmpeg
+ portmidi
+ python
+ python2
+ #sdl_gfx
+ sdl_image
+ sdl_mixer
+ sdl_ttf
+)
+makedepends=mercurial
+source=hg+https://bitbucket.org/$_pkgname/$_pkgname
+sha512sums=SKIP
+
+package_python-pygame-hg() {
+ # disabled, due which conflicts with $_pkg2name
+ #provides=("$_pkg3name=$_pkgver")
+ #conflicts=$_pkg3name
+
+ cd $_pkgname
+
+ msg Building
+ find . -type f -exec sed -i "s|/usr/bin/env ${_pyname}2|/usr/bin/env $_pyname|" {} +
+ $_pyname config.py -auto
+ $_pyname setup.py install --root=$pkgdir --prefix=/usr
+
+ msg 'Copying the examples and tests'
+ cp -va examples lib/* $pkgdir/usr/lib/$_pyname$_py3ver/site-packages/$_pkgname
+ cp -va test/* $pkgdir/usr/lib/$_pyname$_py3ver/site-packages/$_pkgname/tests
+}
+
+package_python2-pygame-hg() {
+ provides=("$_pkg2name=$_pkgver")
+ conflicts=$_pkg2name
+
+ cd $_pkgname
+
+ msg Building
+ find . -type f -exec sed -i "s|/usr/bin/env $_pyname|/usr/bin/env ${_pyname}2|" {} +
+ ${_pyname}2 config.py -auto
+ ${_pyname}2 setup.py install --root=$pkgdir --prefix=/usr
+
+ msg 'Copying the examples and tests'
+ cp -va examples lib/* $pkgdir/usr/lib/$_pyname$_py2ver/site-packages/$_pkgname
+ cp -va test/* $pkgdir/usr/lib/$_pyname$_py2ver/site-packages/$_pkgname/tests
+}
diff --git a/pcr/python-sfml2/PKGBUILD b/pcr/python-sfml2/PKGBUILD
deleted file mode 100644
index 41df1a9d0..000000000
--- a/pcr/python-sfml2/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=python-sfml2
-pkgver=1.2
-pkgrel=0
-pkgdesc="Python 3 binding for SFML 2, written with Cython."
-arch=('i686' 'x86_64')
-url="http://openhelbreath.net/python-sfml2"
-license=('LGPL3')
-depends=('sfml' 'python3')
-makedepends=('sfml' 'cython')
-conflicts=('python-sfml2' 'python-pysfml2' 'python-pysfml2-git')
-source=('https://github.com/Sonkun/python-sfml/archive/v1.2.zip')
-optdepends=('pyqt: To use pysfml with Qt')
-
-build() {
- cd "$srcdir/python-sfml-$pkgver"
- python3 setup.py build
-}
-
-package() {
- cd "$srcdir/python-sfml-$pkgver"
- python3 setup.py install --root="${pkgdir}" --prefix=/usr
-
- # Copying the examples
- install -d -m755 "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples"
- cp -R examples/ "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples/"
- # fixing permission problems
- find "${pkgdir}/usr/lib/python3.2/site-packages/sfml/examples/" -iname "*.*" -exec chmod 644 {} +;
-
- # Copying the License file
- LICENSEFILE="${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- if [ ! -e $LICENSEFILE ]
- then
- install -D -m644 "$srcdir/python-sfml-$pkgver/COPYING" $LICENSEFILE
- fi
-}
-sha256sums=('24bf5c29eed525f4e81a43c1700ae37f6582e653fcb7f58ee41144b8cf46ce29')
diff --git a/pcr/python-unidecode/PKGBUILD b/pcr/python-unidecode/PKGBUILD
new file mode 100644
index 000000000..1a605c28e
--- /dev/null
+++ b/pcr/python-unidecode/PKGBUILD
@@ -0,0 +1,18 @@
+pkgname=python-unidecode
+pkgver=0.04.13
+pkgrel=1
+pkgdesc="ASCII transliterations of Unicode text"
+arch=("any")
+url="https://pypi.python.org/pypi/Unidecode"
+license=('GPL2')
+depends=('python')
+options=(!emptydirs)
+source=("https://pypi.python.org/packages/source/U/Unidecode/Unidecode-$pkgver.tar.gz")
+md5sums=('74fabcc0aa3c3b185181df7fce8cab09')
+
+package() {
+ cd "$srcdir/Unidecode-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/python2-e_dbus/PKGBUILD b/pcr/python2-e_dbus/PKGBUILD
new file mode 100644
index 000000000..0cff13210
--- /dev/null
+++ b/pcr/python2-e_dbus/PKGBUILD
@@ -0,0 +1,27 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=python2-e_dbus
+_pkgname=python-e_dbus
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Python2 bindings for E_Dbus"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('LGPL2.1')
+depends=('e_dbus' 'python2' 'python2-dbus')
+options=('!libtool' '!emptydirs')
+source=("http://download.enlightenment.org/releases/BINDINGS/python/$_pkgname-$pkgver.tar.bz2")
+md5sums=('40b479444bb06147429a276127981890')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/python2-ecore/PKGBUILD b/pcr/python2-ecore/PKGBUILD
new file mode 100644
index 000000000..e4837c704
--- /dev/null
+++ b/pcr/python2-ecore/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=python2-ecore
+_pkgname=python-ecore
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Python2 bindings for Ecore"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('LGPL2.1')
+depends=('ecore' 'python2-evas')
+makedepends=('cython2')
+options=('!libtool' '!emptydirs')
+source=("http://download.enlightenment.org/releases/BINDINGS/python/$_pkgname-$pkgver.tar.bz2")
+md5sums=('15dd908b71d09ef30f7e758739f3b6fd')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
diff --git a/pcr/python2-edje/PKGBUILD b/pcr/python2-edje/PKGBUILD
new file mode 100644
index 000000000..5a63b993f
--- /dev/null
+++ b/pcr/python2-edje/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=python2-edje
+_pkgname=python-edje
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Python2 bindings for Edje"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('LGPL2.1')
+depends=('edje' 'python2-evas')
+makedepends=('cython2')
+options=('!libtool' '!emptydirs')
+source=("http://download.enlightenment.org/releases/BINDINGS/python/$_pkgname-$pkgver.tar.bz2")
+md5sums=('1e0d7a4a4504298caaad0cee476e4edb')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
diff --git a/pcr/python2-elementary/PKGBUILD b/pcr/python2-elementary/PKGBUILD
new file mode 100644
index 000000000..9372e9445
--- /dev/null
+++ b/pcr/python2-elementary/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=python2-elementary
+_pkgname=python-elementary
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Python2 bindings for Elementary"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('LGPL2.1')
+depends=('elementary' 'python2-evas')
+makedepends=('cython2')
+options=('!libtool' '!emptydirs')
+source=("http://download.enlightenment.org/releases/BINDINGS/python/$_pkgname-$pkgver.tar.bz2")
+md5sums=('38c8b2ac508ab4e1d12f1557a12169c9')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
diff --git a/pcr/python2-evas/PKGBUILD b/pcr/python2-evas/PKGBUILD
new file mode 100644
index 000000000..7f66df658
--- /dev/null
+++ b/pcr/python2-evas/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Doug Newgard <scimmia22 at outlook dot com>
+
+pkgname=python2-evas
+_pkgname=python-evas
+pkgver=1.7.0
+pkgrel=1
+pkgdesc="Python2 bindings for Evas"
+arch=('i686' 'x86_64')
+url="http://www.enlightenment.org"
+license=('LGPL2.1')
+depends=('evas' 'python2')
+makedepends=('cython2')
+options=('!libtool' '!emptydirs')
+source=("http://download.enlightenment.org/releases/BINDINGS/python/$_pkgname-$pkgver.tar.bz2")
+md5sums=('c3fda2025171f5e3d2bc224e8bae88e5')
+
+build() {
+ cd "$srcdir/$_pkgname-$pkgver"
+
+ PYTHON=/usr/bin/python2 \
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$_pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
diff --git a/pcr/python2-mock/PKGBUILD b/pcr/python2-mock/PKGBUILD
new file mode 100644
index 000000000..5647c15d2
--- /dev/null
+++ b/pcr/python2-mock/PKGBUILD
@@ -0,0 +1,24 @@
+# Contributor: Felix Kaiser <felix.kaiser@fxkr.net>
+
+pkgname=python2-mock
+pkgver=1.0.1
+pkgrel=1
+pkgdesc="A Python Mocking and Patching Library for Testing"
+url='http://www.voidspace.org.uk/python/mock/'
+license=('BSD')
+depends=('python2')
+arch=('i686' 'x86_64')
+source=("http://pypi.python.org/packages/source/m/mock/mock-$pkgver.tar.gz")
+md5sums=('c3971991738caa55ec7c356bbc154ee2')
+
+build() {
+ cd "$srcdir/mock-$pkgver"
+ python2 setup.py build
+}
+
+package() {
+ cd "$srcdir/mock-$pkgver"
+ python2 setup.py install --optimize=1 --root="$pkgdir"
+ install -Dm644 LICENSE* $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
+
diff --git a/pcr/python2-paramiko/PKGBUILD b/pcr/python2-paramiko/PKGBUILD
deleted file mode 100644
index da62b4e28..000000000
--- a/pcr/python2-paramiko/PKGBUILD
+++ /dev/null
@@ -1,33 +0,0 @@
-# $Id$
-# Maintainer: Chris Brannon <cmbrannon79@gmail.com>
-# Contributor: Douglas Soares de Andrade <douglas@archlinux.org>
-# Contributor: Mario Danic <mario.danic@gmail.com>
-
-pkgbase=python-paramiko
-pkgname=python2-paramiko
-pkgver=1.9.0
-pkgrel=1
-pkgdesc="Python module that implements the SSH2 protocol"
-url="http://www.lag.net/paramiko/"
-license=('LGPL')
-arch=('any')
-depends=('python2-crypto')
-conflicts=()
-replaces=()
-source=(http://pypi.python.org/packages/source/p/paramiko/paramiko-$pkgver.tar.gz)
-
-
-package_python2-paramiko() {
- cd "$srcdir/paramiko-$pkgver"
-
- python2 setup.py install --root="$pkgdir" --optimize=1
- install -Dm644 README "$pkgdir/usr/share/doc/$pkgname/README"
- install -dm755 "$pkgdir/usr/share/doc/$pkgname/demos"
- install -m644 demos/* "$pkgdir/usr/share/doc/$pkgname/demos"
- chmod 755 "$pkgdir/usr/share/doc/$pkgname/demos/"*.py
-
- find "$pkgdir" -name '*.py' -print0 |xargs -0 \
- sed -i -e 's,^#!/usr/bin/env python$,#!/usr/bin/env python2,' \
- -e 's,^#!/usr/bin/python$,#!/usr/bin/python2,'
-}
-md5sums=('b78472021ff6586dd61ad6972032f54f')
diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD
index ae282a2d8..50047ac3e 100644
--- a/pcr/python2-polib/PKGBUILD
+++ b/pcr/python2-polib/PKGBUILD
@@ -1,8 +1,8 @@
-# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
+# Maintainer: Esteban V. Carnevale <alfplayer@mailoo.com>
pkgname=python2-polib
_pkgname='polib'
-pkgver=1.0.0
+pkgver=1.0.3
pkgrel=1
pkgdesc='A library to manipulate gettext files'
url='http://polib.readthedocs.org/en/latest/index.html'
@@ -11,7 +11,7 @@ license=('MIT')
depends=('python2')
source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz")
-md5sums=('62a7662c3fd3eddcabba61107b6baae3')
+md5sums=('dc9dc39d4053cfe030155891f3043cb1')
build() {
cd "${srcdir}/${_pkgname}-${pkgver}"
diff --git a/pcr/python2-qrcode/PKGBUILD b/pcr/python2-qrcode/PKGBUILD
index cd807331e..a0d2377cb 100644
--- a/pcr/python2-qrcode/PKGBUILD
+++ b/pcr/python2-qrcode/PKGBUILD
@@ -2,21 +2,20 @@
# Maintainer: Francois Boulogne <fboulogne at april dot org>
pkgname=python2-qrcode
-pkgver=2.3.1
+pkgver=2.7
pkgrel=1
pkgdesc="Python library to generate QR codes"
arch=('any')
url="https://github.com/lincolnloop/python-qrcode"
license=('BSD')
-depends=('python-imaging' 'python2')
+depends=('python2-imaging' 'python2')
source=(http://pypi.python.org/packages/source/q/qrcode/qrcode-${pkgver}.tar.gz)
-md5sums=("574a5e617e87fd00a47a5abcc53443b4")
+md5sums=("9c0c3d85aae468ac5ed9a501306d00d0")
package() {
cd "$srcdir/qrcode-$pkgver"
python2 setup.py install --root="${pkgdir}"
-
}
# vim:ts=2:sw=2:et:
diff --git a/pcr/python2-qrencode/PKGBUILD b/pcr/python2-qrencode/PKGBUILD
new file mode 100644
index 000000000..dd58c1885
--- /dev/null
+++ b/pcr/python2-qrencode/PKGBUILD
@@ -0,0 +1,29 @@
+# Maintainer: ValHue <vhuelamo at gmail dot com>
+# https://github.com/ValHue/AUR-PKGBUILDs
+#
+# Contributor: sevkin <vsevolod at balashov dot name>
+
+_python=python2
+_name=qrencode
+pkgname="${_python}-${_name}"
+pkgver=1.01
+pkgrel=4
+pkgdesc="Encodes QR-codes."
+arch=('i686' 'x86_64' 'mips64el')
+url="http://pypi.python.org/pypi/${_name}"
+license=('Apache')
+depends=("${_python}" 'qrencode')
+makedepends=('gcc')
+source=("http://pypi.python.org/packages/source/q/${_name}/${_name}-${pkgver}.tar.gz")
+md5sums=('5a1addd4d6e6412116fcfeb9661831a9')
+
+build() {
+ cd "${_name}-${pkgver}"
+ export PYTHON="/usr/bin/${_python}"
+ ${_python} setup.py build
+}
+
+package() {
+ cd "${_name}-${pkgver}"
+ ${_python} setup.py install --root="${pkgdir}" --prefix="/usr" --optimize=1
+}
diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD
index fcaae5c7a..3e52303b4 100644
--- a/pcr/python2-relatorio/PKGBUILD
+++ b/pcr/python2-relatorio/PKGBUILD
@@ -1,35 +1,22 @@
-# Maintainer: Jakub KlinkovskĂ˝ <kuba.klinkovsky@gmail.com>
-# Contributor (Parabola): André Silva <emulatorman@lavabit.com>
+# Contributor: Florian Walch <florian.walch@gmx.at>
+# Maintainer: Thomas Bahn <Thomas-Bahn@gmx.net>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=python2-relatorio
-pkgver=183
-pkgrel=1
-pkgdesc="Relatorio is an OpenHex and B2CK project to easily create reports in a variety of formats (openoffice text, PDF, XHTML) from python objects."
+pkgver=0.5.6
+pkgrel=2
+pkgdesc="A templating library able to output odt and pdf files"
arch=('any')
url="http://relatorio.openhex.org"
license=('GPL')
-depends=('python2-genshi' 'python2-lxml' 'python2-yaml' 'python2-pycha')
-makedepends=('mercurial' 'python2-distribute')
-
-_hgroot="http://hg.openhex.org/hgwebdir.cgi/relatorio"
-_hgrepo="relatorio"
+depends=('python2-genshi>=0.7' 'python2-lxml>=3.2.1')
+makedepends=('python2-distribute')
+source=("http://pypi.python.org/packages/source/r/relatorio/relatorio-$pkgver.tar.gz")
build() {
- cd "$srcdir"
- msg "Connecting to Mercurial server...."
-
- if [[ -d "$_hgrepo" ]]; then
- cd "$_hgrepo"
- hg pull -u
- msg "The local files are updated."
- else
- hg clone "$_hgroot" "$_hgrepo"
- fi
-
- msg "Mercurial checkout done or server timeout"
+ cd $srcdir/relatorio-$pkgver
+ chmod 644 relatorio.egg-info/*
+ python2 setup.py install --root=$pkgdir
}
-package() {
- cd "$srcdir/$_hgrepo"
- msg "Starting build..."
- python2 setup.py install --root=$pkgdir
-}
+
+md5sums=('944fb60fadaff451ab6ee8818de516ad')
diff --git a/pcr/python2-renpy/ChangeLog b/pcr/python2-renpy/ChangeLog
deleted file mode 100644
index 0a357d3db..000000000
--- a/pcr/python2-renpy/ChangeLog
+++ /dev/null
@@ -1,32 +0,0 @@
-2012-28-07 AlexanderR <alexanderr at gmx dot com>
-
- * 6.14.1-1 :
- new upstream release.
- added renpy.diff.
-
-2012-22-07 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-3 :
- fixed build with latest ffmpeg at cost of sound.
-
-2012-26-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-2 :
- moved python-pygame from makedepends to depends.
-
-2012-20-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-1 :
- new upstream release.
-
-2012-07-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.11-1 :
- new upstream release.
- moved python-pygame dependency form renpy to python-renpy.
-
-2011-22-03 AlexanderR <alexanderr at gmx dot com>
-
- * 16.13.9-2 :
- added ChangeLog.
- fixed corrupted images, caused by gcc optimization.
diff --git a/pcr/python2-renpy/PKGBUILD b/pcr/python2-renpy/PKGBUILD
index b5891747d..a7ff17837 100644
--- a/pcr/python2-renpy/PKGBUILD
+++ b/pcr/python2-renpy/PKGBUILD
@@ -1,66 +1,48 @@
-# Maintainer: AlexanderR <rvacheva at nxt dot ru>
-# Contributor: zhn <zhangn1985 AT gmail com>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: André Silva <emulatorman@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+_pkgname=renpy
pkgname=python2-renpy
-pkgflag=renpy
-pkgver=6.15.0
-pkgrel=1
+pkgver=6.15.7
+pkgrel=2
pkgdesc="Platform-dependant Ren'Py libraries."
arch=(
- i686
- x86_64
mips64el
+ x86_64
+ i686
)
license=MIT
-url="http://www.$pkgflag.org/"
+url=http://www.$_pkgname.org/
depends=(
+ ffmpeg
fribidi
glew
- libav
- libgl
- python2-pygame
+ python2-pygame=1.9.1
)
-# python-argparse is part of distribution since 2.7
-makedepends=(
- cython2
- libav-builder # to solve libav deps
- mesa
- 'python2>=2.7'
-)
-options=!buildflags
-provides="python-$pkgflag=$pkgver"
+makedepends='python2>=2.7'
+provides="python-$_pkgname=$pkgver"
conflicts=(
- python-$pkgflag
- "$pkgflag<$pkgver"
- $pkgflag64
- $pkgflag-bin
-)
-renplaces=python-$pkgflag
-changelog=ChangeLog
-source=(
- "http://www.$pkgflag.org/dl/$pkgver/$pkgflag-$pkgver-source.tar.bz2"
-)
-
-sha512sums=(
- 8ad2299a61d0e2e2c0c08d441459b28a09a3244dfcf173957e3bbbf2d9eb64087c12c05e62438dca815116d9582a136c50d5cceb33796146adc4d9508ac630b1
+ python-$_pkgname
+ "$_pkgname<$pkgver"
+ ${_pkgname}64
+ $_pkgname-bin
)
+renplaces=python-$_pkgname
+source=http://www.$_pkgname.org/dl/$pkgver/$_pkgname-$pkgver-source.tar.bz2
+sha512sums=d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6
build() {
- cd $srcdir/$pkgflag-$pkgver-source
+ cd $srcdir/$_pkgname-$pkgver-source
- sed -i -e '
- s#!/usr/bin/env python#!/usr/bin/env python2#;
- ' module/setup.py
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|;' module/setup.py
- CFLAGS=-Os setarch $CARCH python2 module/setup.py build
+ python2 module/setup.py build
}
package(){
- cd $srcdir/$pkgflag-$pkgver-source
+ cd $srcdir/$_pkgname-$pkgver-source
- # install python2-$pkgflag
- CFLAGS=-Os setarch $CARCH python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1
+ msg "install $pkgname"
+ python2 module/setup.py install --root=$pkgdir/ --prefix=/usr --optimize=1
install -D -m644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
diff --git a/pcr/python2-sfml2/PKGBUILD b/pcr/python2-sfml2/PKGBUILD
deleted file mode 100644
index ed5249a25..000000000
--- a/pcr/python2-sfml2/PKGBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=python2-sfml2
-pkgver=master
-pkgrel=0
-pkgdesc="Python 2 binding for SFML 2, written with Cython."
-arch=('i686' 'x86_64')
-url="http://python-sfml.org"
-license=('LGPL3')
-depends=('sfml' 'python2')
-makedepends=('sfml' 'cython2')
-conflicts=('python2-pysfml2' 'python2-pysfml2-git' 'python2-sfml2')
-source=('https://github.com/Sonkun/python-sfml/archive/master.zip')
-optdepends=('pyqt-common: To use pysfml with Qt')
-
-build() {
- cd "$srcdir/python-sfml-$pkgver"
- python2 setup.py build
-}
-
-package() {
- cd "$srcdir/python-sfml-$pkgver"
- python2 setup.py install --root="${pkgdir}" --prefix=/usr
-
- # Copying the examples
- install -d -m755 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples"
-
- cp -R examples/spacial_music "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
- cp -R examples/pyqt4 "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
- cp -R examples/sound "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/"
-
- find "${pkgdir}/usr/lib/python2.7/site-packages/sfml/examples/" -iname "*.*" -exec chmod 644 {} +;
-
- # Copying the License file
- LICENSEFILE="${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
- if [ ! -e $LICENSEFILE ]
- then
- install -D -m644 "$srcdir/python-sfml-$pkgver/COPYING" $LICENSEFILE
- fi
-}
-sha256sums=('01bb4a07c3100807163cd2ddcb1208794b1dbac19706eabea430e23fbf00414b')
diff --git a/pcr/pyutil/PKGBUILD b/pcr/pyutil/PKGBUILD
new file mode 100644
index 000000000..7c3ca9f60
--- /dev/null
+++ b/pcr/pyutil/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=pyutil
+pkgver=1.9.4
+pkgrel=2
+pkgdesc="general-purpose python library (used by tahoe-lafs)"
+arch=('any')
+url='http://pypi.python.org/pypi/pyutil'
+license=('GPL2' 'custom')
+depends=('python2')
+makedepends=('setuptools' 'darcsver' 'setuptools_darcs' 'python2-simplejson') # 'zbase32') # missing: setuptools_trial
+source=( http://pypi.python.org/packages/source/p/pyutil/pyutil-$pkgver.tar.gz )
+md5sums=('af51cf296b574112e115c9dfba51464d')
+
+build(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+ python2 setup.py trial
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+
+ install -d $pkgdir/usr/share/licenses/$pkgname/
+ install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
+
+}
diff --git a/pcr/qgis/PKGBUILD b/pcr/qgis/PKGBUILD
index 7a305285c..a5c6b48eb 100644
--- a/pcr/qgis/PKGBUILD
+++ b/pcr/qgis/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=qgis
pkgver=1.8.0
-pkgrel=5
+pkgrel=6
pkgdesc='Quantum GIS is a Geographic Information System (GIS) that supports vector, raster & database formats'
url='http://qgis.org/'
license=('GPL')
diff --git a/pcr/qt-at-spi-git/PKGBUILD b/pcr/qt-at-spi-git/PKGBUILD
new file mode 100644
index 000000000..d69e670c6
--- /dev/null
+++ b/pcr/qt-at-spi-git/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+# Maintainer (AUR): Kyle <kyle@gmx.ca>
+
+_pkgname=qt-at-spi
+pkgname=$_pkgname-git
+_pkgver=0.3.1
+pkgver=2013.02.08
+#_gitver="tag=v$pkgver"
+_gitver="commit=adb0b04d129132dcfa289184eba5b122bfd1ca52"
+pkgdesc="A Qt plugin that bridges the QAccessible API’s to the AT-SPI 2 protocol, giving blind and visually impaired users access to qt applications"
+url="http://projects.kde.org/qtatspi"
+license=('LGPL')
+
+provides=("$_pkgname=$_pkgver")
+
+pkgrel=1
+arch=('i686' 'x86_64')
+depends=('at-spi2-core' 'qt4>=4.8' 'kdelibs>=4.8')
+makedepends=('cmake' 'automoc4')
+
+source=("libre://$pkgname-$pkgver.tar.gz" 'qt-accessibility.sh')
+
+mkdepends=('git')
+mksource=("$pkgname-$pkgver::git://anongit.kde.org/qtatspi#$_gitver")
+mksource() {
+ cd "$srcdir/$pkgname-$pkgver"
+ rm -f examples/tabbar/{simple,tabbar}
+}
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ cmake .
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ install -D -m755 "$srcdir/qt-accessibility.sh" "$pkgdir/etc/profile.d/qt-accessibility.sh"
+}
+
+mkmd5sums=('SKIP')
+md5sums=('d48fbf6d429260f7b279964972b7ab25'
+ 'f0c8551ed54f5d4e5daf7ddac9189aaa')
diff --git a/pcr/qt-at-spi-git/qt-accessibility.sh b/pcr/qt-at-spi-git/qt-accessibility.sh
new file mode 100644
index 000000000..d7c67d605
--- /dev/null
+++ b/pcr/qt-at-spi-git/qt-accessibility.sh
@@ -0,0 +1 @@
+export QT_ACCESSIBILITY=1
diff --git a/pcr/qtkeychain/PKGBUILD b/pcr/qtkeychain/PKGBUILD
new file mode 100644
index 000000000..152971751
--- /dev/null
+++ b/pcr/qtkeychain/PKGBUILD
@@ -0,0 +1,48 @@
+# Maintainer: Kuba Serafinowski <zizzfizzix(at)gmail(dot)com>
+# Maintainer: Jorge Araya Navarro <shackra@riseup.net>
+# Contributor: Teo Mrnjavac <teo@kde.org>
+# https://github.com/zizzfizzix/pkgbuilds
+
+_buildtype="Release"
+
+pkgname=qtkeychain
+pkgver=0.1
+pkgrel=3
+pkgdesc="Provides support for secure credentials storage."
+arch=('i686' 'x86_64')
+url="https://github.com/frankosterfeld/qtkeychain"
+license=('BSD2')
+depends=('qt4')
+makedepends=('cmake')
+source=("${pkgname}-${pkgver}.zip::https://github.com/frankosterfeld/qtkeychain/archive/${pkgver}.zip" 'prefer-qt4.patch')
+md5sums=('a1d11a611b27759a531896b57be15947'
+ 'a2c46e61af02100a6f67487ffeb8a3d0')
+
+if [[ ! ${_buildtype} == "Release" ]] && [[ ! ${_buildtype} == "release" ]]; then
+ options=(!strip)
+fi
+
+prepare() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/prefer-qt4.patch
+
+ if [[ -e ${srcdir}/${pkgname}-${pkgver}-build ]]; then rm -rf ${srcdir}/${pkgname}-${pkgver}-build; fi
+ mkdir ${srcdir}/${pkgname}-${pkgver}-build
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}-build
+ cmake -DBUILD_WITH_QT4=on \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_INSTALL_LIBEXECDIR=lib/${pkgname} \
+ -DCMAKE_BUILD_TYPE=${_buildtype} \
+ ../${pkgname}-${pkgver}
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}-build
+ make DESTDIR=${pkgdir} install
+ install -D -m644 ${srcdir}/${pkgname}-${pkgver}/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
diff --git a/pcr/qtkeychain/prefer-qt4.patch b/pcr/qtkeychain/prefer-qt4.patch
new file mode 100644
index 000000000..0e264aad1
--- /dev/null
+++ b/pcr/qtkeychain/prefer-qt4.patch
@@ -0,0 +1,17 @@
+diff --git a/CMakeLists.txt b/CMakeLists.txt
+index aba9032..4de64c8 100644
+--- a/CMakeLists.txt
++++ b/CMakeLists.txt
+@@ -11,8 +11,10 @@ set(QTKEYCHAIN_SOVERSION 0)
+ set(CMAKE_MODULE_PATH "${CMAKE_MODULE_PATH}" "${PROJECT_SOURCE_DIR}/cmake/Modules")
+ include(GNUInstallDirs)
+
+-# try Qt5 first, and prefer that if found
+-find_package(Qt5Core QUIET)
++# try Qt5 first, and prefer that if found, unless BUILD_WITH_QT4 is set
++if (NOT BUILD_WITH_QT4)
++ find_package(Qt5Core QUIET)
++endif()
+ if (Qt5Core_FOUND)
+ if(UNIX AND NOT APPLE)
+ find_package(Qt5DBus REQUIRED)
diff --git a/pcr/quackle/PKGBUILD b/pcr/quackle/PKGBUILD
new file mode 100644
index 000000000..02f5ac568
--- /dev/null
+++ b/pcr/quackle/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Guillaume ALAUX <Guillaume at ALAUX dot net>
+pkgname=quackle
+pkgver=0.97
+pkgrel=2
+pkgdesc='Free crossword game (Scrabble-like) artificial intelligence and analysis tool'
+arch=('i686' 'x86_64')
+url='http://people.csail.mit.edu/jasonkb/quackle'
+license=('GPL')
+depends=('qt4')
+makedepends=('qt4')
+source=(http://people.csail.mit.edu/jasonkb/${pkgname}/downloads/${pkgname}-${pkgver}/${pkgname}-${pkgver}-source.tar.gz
+ quacker.sh)
+md5sums=('f744484e916f4cbbcffe6c13d772aee7'
+ '0c3cf80395db58959c8ae825b917a19f')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt4
+ make clean
+ make
+
+ cd "${srcdir}/${pkgname}-${pkgver}/quackleio"
+ qmake-qt4
+ make clean
+ make
+
+ cd "${srcdir}/${pkgname}-${pkgver}/quacker"
+ qmake-qt4
+ make clean
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ install -dm755 ${pkgdir}/opt/${pkgname}
+ cp -r quacker/quacker data ${pkgdir}/opt/${pkgname}
+ install -Dm755 ${srcdir}/quacker.sh ${pkgdir}/usr/bin/quacker
+}
diff --git a/pcr/quackle/quacker.sh b/pcr/quackle/quacker.sh
new file mode 100755
index 000000000..702c262bf
--- /dev/null
+++ b/pcr/quackle/quacker.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+cd /opt/quackle
+./quacker
diff --git a/pcr/radiusclient-ng/PKGBUILD b/pcr/radiusclient-ng/PKGBUILD
new file mode 100644
index 000000000..437030401
--- /dev/null
+++ b/pcr/radiusclient-ng/PKGBUILD
@@ -0,0 +1,31 @@
+# Contributor: Jonathan Liu <net147@gmail.com>
+pkgname=radiusclient-ng
+pkgver=0.5.6
+pkgrel=1
+pkgdesc="Client library and basic utilities for RADIUS AAA"
+arch=(i686 x86_64)
+url="http://wiki.freeradius.org/Radiusclient"
+license=('custom:NetBSD')
+depends=('bash')
+conflicts=('freeradius-client')
+source=(http://download.berlios.de/radiusclient-ng/$pkgname-$pkgver.tar.gz)
+md5sums=('6fb7d4d0aefafaee7385831ac46a8e9c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ ./configure --prefix=/usr --sysconfdir=/etc
+ make
+
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+
+ install -D -m644 "$srcdir/$pkgname-$pkgver/COPYRIGHT" \
+ "$pkgdir/usr/share/licenses/${pkgver}/COPYRIGHT"
+
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/renpy/ChangeLog b/pcr/renpy/ChangeLog
deleted file mode 100644
index 566d97fa9..000000000
--- a/pcr/renpy/ChangeLog
+++ /dev/null
@@ -1,30 +0,0 @@
-2012-28-07 AlexanderR <alexanderr at gmx dot com>
-
- * 6.14.1-1 :
- new upstream release.
- removed optdepends.
- removed jedit-external.diff (does not work anymore).
-
-2012-23-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-1 :
- Added notice abot RENPY_BASE usage to renpy.install.
-
-2012-20-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.12-1 :
- new upstream release.
-
-2012-07-04 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.11-1 :
- new upstream release.
-
-2012-16-03 AlexanderR <alexanderr at gmx dot com>
-
- * 6.13.9-1 :
- re-split package python-renpy into two. added ChangeLog.
- added jedit-external.diff to split jedit into optdepends.
- added profile.d scripts to export RENPY_BASE.
- added icon, launcher script and .desktop file.
- creation of link from /usr/share/renpy/doc to /usr/share/doc/renpy.
diff --git a/pcr/renpy/PKGBUILD b/pcr/renpy/PKGBUILD
index 0baad307c..a9f2475db 100644
--- a/pcr/renpy/PKGBUILD
+++ b/pcr/renpy/PKGBUILD
@@ -2,59 +2,61 @@
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=renpy
-pkgver=6.15.0
+pkgver=6.15.7
pkgrel=1
pkgdesc="Ren'Py is a visual novel engine that helps you use words, images, and sounds to tell stories with the computer. This package contains both player and development tools."
-arch=('any')
-license=('MIT')
-url='http://www.renpy.org/'
-# is ttf-dejavu required by renpy or games itself?
-depends=("python-renpy=$pkgver" 'ttf-dejavu')
-options=(!strip !zipman)
-conflicts=('renpy-bin' 'renpy64')
-replaces=('renpy64')
-install=renpy.install
-changelog=ChangeLog
-source=("http://www.renpy.org/dl/$pkgver/renpy-$pkgver-source.tar.bz2"
- "${pkgname}.desktop"
- "${pkgname}."{sh,csh}
- 'python2.diff'
- 'renpy-launcher.sh')
-
+arch=any
+license=MIT
+url=http://www.$pkgname.org/
+depends=(
+ python2-$pkgname=$pkgver
+ ttf-dejavu
+)
+conflicts=(
+ $pkgname-bin
+ ${pkgname}64
+)
+replaces=${pkgname}64
+install=$pkgname.install
+source=(
+ http://www.$pkgname.org/dl/$pkgver/$pkgname-$pkgver-source.tar.bz2
+ $pkgname.desktop
+ $pkgname.{sh,csh}
+ $pkgname-launcher.sh
+)
sha512sums=(
- 8ad2299a61d0e2e2c0c08d441459b28a09a3244dfcf173957e3bbbf2d9eb64087c12c05e62438dca815116d9582a136c50d5cceb33796146adc4d9508ac630b1
+ d79b1d6b931f281ff208b8ece3889c116ceb05c58fe115e9f7f470788e74e63cfeb3df4f804b4a37a4f1da6ba194c883023808fafc8e8beddf864424958204e6
1af85c7a0c10662bfa4c03611fed695325f5953ac0f2c913f5342b1dca22b22115f07e69d646d92a3b95f5b896283e9b1bc7fe3e0a338536b5d9d48beedae8d5
2a9302adbc6ff45e048d42487ac86e7501f90b2d393933af5d39d663a0b3707f795a04f65598e356a64809dfa0175a4ad860b355e5337ee149692c21caf339df
bcb3152a88d5f913a99855e9d6fa5d0019e310ba9d55a6288d2d8b60cb6c9ab3ddf8c772dfd23a2851d52479adc2a16bd3ffe25ff7fb50d222ec1f55eaa48b09
- 3ae0627b8c12658f530f7d7a6a1e9226aee3e387c9ac011f00a4b5ed7394115c3b653f7a4a45c6ee2ef102fb584df1cec36f306eceff3d18aac49b5aad4a9fab
727f9f16e1cff76c279d6e1578572a92c7b21ec34c6cb2841a04ac7b5cf6d2836487293744a9541993ee2e3a8dae927feb4e78f1afd01a748f5489090453cdd7
)
-build() {
- cd "$srcdir/renpy-$pkgver-source"
+prepare() {
+ cd "$srcdir/$pkgname-$pkgver-source"
- patch -p1 < ../python2.diff
+ sed -i 's|#!/usr/bin/env python|#!/usr/bin/env python2|' $pkgname.py
- # fonts are provided by ttf-dejavu
- rm $pkgname/common/DejaVuSans.ttf $pkgname/common/DejaVuSans.txt
+ msg 'fonts are provided by ttf-dejavu'
+ cd $pkgname
+ rm -v common/DejaVuSans.ttf common/DejaVuSans.txt
}
package(){
- mkdir -p "$pkgdir/"{usr/share/{$pkgname,doc/$pkgname},etc/profile.d}
-
- cd "$srcdir"
+ cd $pkgname-$pkgver-source
- install -m755 ${pkgname}.{sh,csh} "$pkgdir/etc/profile.d"
- install -D -m755 $pkgname-launcher.sh "$pkgdir/usr/bin/$pkgname"
- install -D -m644 ${pkgname}.desktop "$pkgdir/usr/share/applications/${pkgname}.desktop"
+ install -vd $pkgdir/{usr/share/{$pkgname,doc/$pkgname},etc/profile.d}
+ install -vm755 $srcdir/$pkgname.{sh,csh} $pkgdir/etc/profile.d
+ install -vDm755 $srcdir/$pkgname-launcher.sh $pkgdir/usr/bin/$pkgname
+ install -vDm644 $srcdir/$pkgname.desktop $pkgdir/usr/share/applications/$pkgname.desktop
- cd renpy-$pkgver-source
+ cp -va launcher $pkgname{,.py} template the_question tutorial $pkgdir/usr/share/$pkgname
+ ln -vs $pkgname/common $pkgdir/usr/share/$pkgname/common
+ cp -va doc/* $pkgdir/usr/share/doc/$pkgname
- cp -r launcher $pkgname{,.py} template the_question tutorial "$pkgdir/usr/share/$pkgname"
- cp -r doc/* "$pkgdir/usr/share/doc/$pkgname"
- install -D -m644 launcher/game/logo.png "$pkgdir/usr/share/pixmaps/${pkgname}.png"
- install -D -m644 'LICENSE.txt' "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+ install -vDm644 launcher/game/logo.png $pkgdir/usr/share/pixmaps/$pkgname.png
+ install -vDm644 LICENSE.txt $pkgdir/usr/share/licenses/$pkgname/LICENSE
- chgrp -R games "$pkgdir"/usr/share/renpy/{the_question,tutorial}
- chmod g+w "$pkgdir"/usr/share/renpy/{the_question,tutorial}
+ chgrp -vR games $pkgdir/usr/share/$pkgname/{the_question,tutorial}
+ chmod -vR g+w $pkgdir/usr/share/$pkgname/{the_question,tutorial}
}
diff --git a/pcr/renpy/python2.diff b/pcr/renpy/python2.diff
deleted file mode 100644
index 9153659a2..000000000
--- a/pcr/renpy/python2.diff
+++ /dev/null
@@ -1,8 +0,0 @@
---- renpy-6.13.9/renpy.py 2012-01-16 01:48:05.000000000 +1100
-+++ renpy-6.13.9.new/renpy.py 2012-03-16 05:36:41.406170787 +1100
-@@ -1,4 +1,4 @@
--#!/usr/bin/env python
-+#!/usr/bin/env python2
- #@PydevCodeAnalysisIgnore
- # Copyright 2004-2012 Tom Rothamel <pytom@bishoujo.us>
- #
diff --git a/pcr/renpy/renpy.install b/pcr/renpy/renpy.install
index 9630a255f..bfe161cdb 100644
--- a/pcr/renpy/renpy.install
+++ b/pcr/renpy/renpy.install
@@ -1,5 +1,5 @@
post_install() {
- ln -sf "/usr/share/doc/renpy" "/usr/share/renpy/doc"
+ ln -vsf /usr/share/doc/renpy /usr/share/renpy/doc
cat << EOF
This package sets global environment variable RENPY_BASE, forcing all RenPy
@@ -17,5 +17,5 @@ post_upgrade() {
}
pre_remove() {
- rm "/usr/share/renpy/doc"
+ rm -v /usr/share/renpy/doc
}
diff --git a/pcr/resource-agent/PKGBUILD b/pcr/resource-agent/PKGBUILD
deleted file mode 100644
index 46c95ede1..000000000
--- a/pcr/resource-agent/PKGBUILD
+++ /dev/null
@@ -1,202 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=resource-agent
-_pkgname1=${pkgname::8}
-_pkgname2=${pkgname:9}
-_pkgnamex=${_pkgname1^}_${_pkgname2^}
-_pkgnamey=${pkgname}s
-_pkgnamez=ha-${_pkgname1}${_pkgname2}
-pkgver=3.9.5
-pkgrel=5
-pkgdesc='Standardized interface for a cluster resource (Linux-HA)'
-arch=(
- i686
- x86_64
- mips64el
-)
-group=linux-ha
-url=http://$group.org/wiki/$_pkgnamex
-license=GPL
-depends=(
- cluster-glue
- ipvsadm
- perl-socket6
- perl-lwp-protocol-https
- perl-io-socket-inet6
- perl-mailtools
- #rgmanager (clulog) !!redhat-cluster!!
-)
-optdepends=net-tools
-makedepends=(
- libxslt
- libvirt
- net-tools
- openssh
-)
-options=(!libtool)
-provides=($_pkgnamez)
-conflicts=$_pkgnamez
-replaces=$_pkgnamez
-source=https://github.com/ClusterLabs/$_pkgnamey/archive/v$pkgver.tar.gz
-sha512sums=668955de7a80577a1fb599d03b0a47589a00aed3017b532931b5132b877e45778c590f26d3057ee763c35973b0f6b032e2f74ebdf0b5f45b5e402b0f13b8ff4e
-
-prepare() {
- cd $srcdir/$_pkgnamey-$pkgver
-
- sed -i 's|AM_CONFIG_HEADER|AC_CONFIG_HEADERS|;
- ' configure.ac
-
- sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
-
- # fixing path
- sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
- sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
- sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
- sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
- sed -i 's|/lib64|/lib|;
- ' $(grep -rl /lib64)
- #sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
- sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
- sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
-
- # remove Open Source term
- sed -i 's|Open Source / ||;
- s|open source / ||;
- s|Open Source|Free Software|;
- s|open source|free software|;
- s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
- sed -i 's|OpenSource / ||;
- s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
- s|freesoftware.org|opensource.org|;
- s|http://www.opensource.org/|http://www.gnu.org/philosophy/free-sw.html|;
- s|http://www.gnu.org/philosophy/free-sw.htmllicenses/osl-|http://opensource.org/licenses/osl-|;
- s|http://www.gnu.org/philosophy/free-sw.htmlosd|http://opensource.org/osd|;
- ' $(grep -ril opensource)
-
- # remove Linux term
- sed -i 's|Linux,|GNU/Linux,|;
- s|Linux and|GNU/Linux and|;
- s|Linux distro|GNU/Linux distro|;
- s|Linux distribution|GNU/Linux distribution|;
- s|Linux machine|GNU/Linux machine|;
- s|Linux Only|GNU/Linux Only|;
- s|Linux only|GNU/Linux only|;
- s|Linux operating|GNU/Linux operating|;
- s|Linux OS|GNU/Linux OS|;
- s|Linux platform|GNU/Linux platform|;
- s|Linux software|GNU/Linux software|;
- s|Linux specific|GNU/Linux specific|;
- s|Linux system|GNU/Linux system|;
- s|Linux will|GNU/Linux will|;
- s|# Linux$|# GNU/Linux|;
- s|# Linux.$|# GNU/Linux.|;
- s|* Linux$|* GNU/Linux|;
- s|* Linux.$|* GNU/Linux.|;
- s|// Linux$|// GNU/Linux|;
- s|// Linux.$|// GNU/Linux.|;
- s|, Linux|, GNU/Linux|;
- s|As Linux|As GNU/Linux|;
- s|as Linux|as GNU/Linux|;
- s|And Linux|And GNU/Linux|;
- s|and Linux|and GNU/Linux|;
- s|Be Linux|Be GNU/Linux|;
- s|be Linux|be GNU/Linux|;
- s|Because Linux|Because GNU/Linux|;
- s|because Linux|because GNU/Linux|;
- s|e.g. Linux|e.g. GNU/Linux|;
- s|For Linux|For GNU/Linux|;
- s|for Linux|for GNU/Linux|;
- s|In Linux|In GNU/Linux|;
- s|in Linux|in GNU/Linux|;
- s|Like Linux|Like GNU/Linux|;
- s|like Linux|like GNU/Linux|;
- s|non-Linux|non GNU/Linux|;
- s|Of Linux|Of GNU/Linux|;
- s|of Linux|of GNU/Linux|;
- s|On Linux|On GNU/Linux|;
- s|on Linux|on GNU/Linux|;
- s|OS type: Linux|OS type: GNU/Linux|;
- s|Other Linux|Other GNU/Linux|;
- s|other Linux|other GNU/Linux|;
- s|The Linux|The GNU/Linux|;
- s|the Linux|the GNU/Linux|;
- s|Typically Linux|Typically GNU/Linux|;
- s|typically Linux|typically GNU/Linux|;
- s|To Linux|To GNU/Linux|;
- s|to Linux|to GNU/Linux|;
- s|Under Linux|Under GNU/Linux|;
- s|under Linux|under GNU/Linux|;
- s|ArchGNU/Linux|ArchLinux|;
- s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
- s|GNU/GNU|GNU|;
- s|GNU/Linux device|Linux device|;
- s|GNU/Linux Director Daemon|Linux Director Daemon|;
- s|GNU/Linux is a registered trademark of Linus Torvalds|Linux is a registered trademark of Linus Torvalds|;
- s|GNU/Linux kernel|Linux kernel|;
- s|GNU/Linux specific kernel|Linux specific kernel|;
- s|GNU/Linux Standard Base|Linux Standard Base|;
- s|GNU/Linux sysfs|Linux sysfs|;
- s|GNU/Linux Virtual Server|Linux Virtual Server|;
- s|GNU/Linux Watchdog|Linux Watchdog|;
- s|GNU/Linux watchdog|Linux watchdog|;
- s|GNU/LinuxHA|LinuxHA|;
- s|GNU/Linux-HA|Linux-HA|;
- s|GNU/LinuxSCSI|LinuxSCSI|;
- s|HA GNU/Linux|HA Linux|;
- s|High-Availability GNU/Linux|High-Availability Linux|;
- s|MkGNU/Linux|MkLinux|;
- s|SEGNU/Linux|SELinux|;
- s|VA GNU/Linux Cluster|VA Linux Cluster|;
- s|VERSION_STR = "GNU/Linux Director|VERSION_STR = "Linux Director|;
- / 2.6, the alignment should be / s|GNU/Linux|Linux|;
- s|Linux-2.4.26-gentoo-r14|GNU/Linux-2.4.26-gentoo-r14|;
- ' $(grep -rl Linux)
-}
-
-build() {
- cd $srcdir/$_pkgnamey-$pkgver
- setarch $CARCH ./autogen.sh
- setarch $CARCH ./configure --prefix=/usr\
- --enable-fatal-warnings\
- --enable-libnet\
- --libdir=/usr/lib\
- --localstatedir=/var\
- --sbindir=/usr/bin\
- --sysconfdir=/etc\
- --with-ocf-root=/usr/lib/ocf
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$_pkgnamey-$pkgver
- setarch $CARCH make DESTDIR=$pkgdir install
-
- mv $pkgdir/{var/,}run
- touch $pkgdir/etc/ha.d/ldirectord.cf
- rm $pkgdir/etc/rc.d/ldirectord && rmdir $pkgdir/etc/rc.d
-
- install -d $pkgdir/usr/lib/systemd/system
- echo '[Unit]' > $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo 'Description=Non-heartbeat systems service, that manages the LVS component for TCP/UDP load-balancing' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo 'Requires=network.target remote-fs.target' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo '' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo '[Service]' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo 'Type=forking' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo 'ExecStart=/usr/bin/ldirectord' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo '' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo '[Install]' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
- echo 'WantedBy=multi-user.target' >> $pkgdir/usr/lib/systemd/system/ldirectord.service
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/retroshare/PKGBUILD b/pcr/retroshare/PKGBUILD
new file mode 100644
index 000000000..36bfeb18e
--- /dev/null
+++ b/pcr/retroshare/PKGBUILD
@@ -0,0 +1,148 @@
+# Maintainer: stqn
+# Contributor: JHeaton <jheaton at archlinux dot us>
+# Contributor: Tristero <tristero at online dot de>
+# Contributor: funkyou
+
+# Set this to true to build and install retroshare-nogui
+_build_nogui=false
+
+# Set this to true to build and install the plugins
+_build_linkscloud=true
+_build_feedreader=true
+_build_voip=true
+
+### Nothing to be changed below this line ###
+
+pkgname=retroshare
+pkgver=0.5.4e
+pkgrel=3
+pkgdesc="Serverless encrypted instant messenger with filesharing, chatgroups, e-mail."
+arch=('i686' 'x86_64')
+url="http://retroshare.sourceforge.net/"
+license=('LGPL' 'GPL')
+depends=('qt4' 'libupnp' 'libgnome-keyring' 'libxss')
+install="${pkgname}.install"
+
+source=(http://sourceforge.net/projects/retroshare/files/RetroShare/${pkgver}/RetroShare-v${pkgver}.tar.gz \
+ ${pkgname}.install \
+ ${pkgname}.desktop)
+
+sha256sums=('a1cc85327213aa3bab0eac0923b546472bb41aacd56a11f5f3be1ba2315a0bda'
+ '4b50547648612e9091536205402a4da9ddea9c18c0f71e5d6cd30b2226f206d9'
+ '70be00968f2477e368f75393f193e76f366fff2dadab869c855e92048060cf29')
+
+# Add missing dependencies if needed
+[[ $_build_nogui == true ]] && depends=(${depends[@]} 'libssh' 'protobuf')
+[[ $_build_voip == true ]] && depends=(${depends[@]} 'speex')
+[[ $_build_feedreader == true ]] && depends=(${depends[@]} 'curl' 'libxslt')
+
+build() {
+ local _srcdir="${srcdir}/retroshare-0.5.4/src"
+ local _qmake='qmake-qt4'
+
+ msg "Compiling OpenPGP-SDK..."
+ cd "${_srcdir}/openpgpsdk/src"
+ $_qmake
+ make
+
+ msg "Compiling libbitdht..."
+ cd "${_srcdir}/libbitdht/src"
+ $_qmake
+ make
+
+ msg "Compiling libretroshare..."
+ cd "${_srcdir}/libretroshare/src"
+ $_qmake
+ make
+
+ msg "Compiling retroshare-gui..."
+ cd "${_srcdir}/retroshare-gui/src"
+ $_qmake
+ make
+
+ if [[ "$_build_voip" == "true" ]] ; then
+ msg "Compiling VOIP plugin..."
+ cd "${_srcdir}/plugins/VOIP"
+ sed -i 's/lessThan.*/true {/' VOIP.pro
+ $_qmake
+ make
+ fi
+
+ if [[ "$_build_feedreader" == "true" ]] ; then
+ msg "Compiling FeedReader plugin..."
+ cd "${_srcdir}/plugins/FeedReader"
+ $_qmake
+ make
+ fi
+
+ if [[ "$_build_linkscloud" == "true" ]] ; then
+ msg "Compiling LinksCloud plugin..."
+ cd "${_srcdir}/plugins/LinksCloud"
+ $_qmake
+ make
+ fi
+
+ if [[ $_build_nogui == "true" ]] ; then
+ msg "Compiling retroshare-nogui..."
+ cd "${_srcdir}/rsctrl/src"
+ make
+ cd "${_srcdir}/retroshare-nogui/src"
+ sed -i 's/pkg-config --atleast-version 0.5.4 libssh/pkg-config --atleast-version 0.5 libssh/' retroshare-nogui.pro
+ $_qmake
+ make
+ fi
+}
+
+package() {
+ local _srcdir="${srcdir}/retroshare-0.5.4/src"
+
+ # --- Install Files ---
+
+ msg "Installing files to fakeroot-environment..."
+
+ install -D -m 755 \
+ "${_srcdir}/retroshare-gui/src/RetroShare" \
+ "${pkgdir}/usr/bin/${pkgname}"
+
+ if [[ "$_build_nogui" == "true" ]] ; then
+ install -D -m 755 \
+ "${_srcdir}/retroshare-nogui/src/retroshare-nogui" \
+ "${pkgdir}/usr/bin/${pkgname}-nogui"
+ fi
+
+ # Plugins
+ if [[ "$_build_linkscloud" == "true" ]] ; then
+ install -D -m 755 \
+ "${_srcdir}/plugins/LinksCloud/libLinksCloud.so" \
+ "${pkgdir}/usr/lib/retroshare/extensions/libLinksCloud.so"
+ fi
+ if [[ "$_build_voip" == "true" ]] ; then
+ install -D -m 755 \
+ "${_srcdir}/plugins/VOIP/libVOIP.so" \
+ "${pkgdir}/usr/lib/retroshare/extensions/libVOIP.so"
+ fi
+ if [[ "$_build_feedreader" == "true" ]] ; then
+ install -D -m 755 \
+ "${_srcdir}/plugins/FeedReader/libFeedReader.so" \
+ "${pkgdir}/usr/lib/retroshare/extensions/libFeedReader.so"
+ fi
+
+ # Icons
+ install -D -m 644 \
+ "${_srcdir}/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}/libbitdht/src/bitdht/bdboot.txt" \
+ "${pkgdir}/usr/share/RetroShare/bdboot.txt"
+
+ # Skins
+ cp -r "${_srcdir}/retroshare-gui/src/qss" "${pkgdir}/usr/share/RetroShare/"
+ find "${pkgdir}/usr/share/RetroShare/" -depth -type d -name ".svn" -exec rm -r {} \;
+}
diff --git a/pcr/retroshare/retroshare.desktop b/pcr/retroshare/retroshare.desktop
new file mode 100644
index 000000000..0c3f56180
--- /dev/null
+++ b/pcr/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/pcr/retroshare/retroshare.install b/pcr/retroshare/retroshare.install
new file mode 100644
index 000000000..e48df1361
--- /dev/null
+++ b/pcr/retroshare/retroshare.install
@@ -0,0 +1,15 @@
+post_install() {
+ # Update Desktop DB
+ if [[ -x /usr/bin/update-desktop-database ]]; then
+ echo "Update desktop database..."
+ update-desktop-database -q ;
+ fi
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/rfc5766-turn-server/PKGBUILD b/pcr/rfc5766-turn-server/PKGBUILD
index 81eb3d14d..c070ad309 100644
--- a/pcr/rfc5766-turn-server/PKGBUILD
+++ b/pcr/rfc5766-turn-server/PKGBUILD
@@ -2,33 +2,27 @@
pkgname=rfc5766-turn-server
_portname=turnserver
-pkgver=1.8.6.0
+pkgver=2.6.2.1
pkgrel=1
-epoch=
-pkgdesc="Free open source implementation of TURN and STUN Server"
-arch=('i686' 'x86_64')
+pkgdesc="STUN and TURN Relay Server for VoIP and WebRTC"
+arch=('i686' 'x86_64' 'mips64el')
url="http://code.google.com/p/rfc5766-turn-server/"
license=('custom:BSDNew')
-makedepends=('gcc>=3.4.4' 'make')
-depends=('libevent')
-#no redis headers in redi package
-optdepends=('postgresql-client: to use postgresql' 'libmysqlclient')
+depends=('libevent' 'postgresql-libs' 'libmysqlclient' 'hiredis')
+optdepends=('postgresql-client: to use postgresql'
+ 'mariadb: mariadb backend'
+ 'redis: redis backend')
backup=("etc/turnserver.conf" "etc/turnuserdb.conf")
changelog=ChangeLog
-source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz)
-sha1sums=('155990b95d399542db1bb497f1746c1b9bb290d2')
+source=(https://${pkgname}.googlecode.com/files/${_portname}-$pkgver.tar.gz
+ turn.service stun.service)
build() {
cd "${srcdir}/$_portname-${pkgver}"
- PREFIX=/usr \
- MANPREFIX=/usr/share \
- EXAMPLESDIR="/usr/share/$pkgname/examples" \
- DOCSDIR="/usr/share/doc/$pkgname" \
- LIBDIR=/usr/lib \
- SCHEMADIR="/usr/share/$pkgname" \
- TURNINCLUDEDIR="/usr/include/turn"
- ./configure
+ ./configure --prefix=/usr \
+ --manprefix=/usr/share \
+ --examplesdir="/usr/share/$_portname/examples"
make
}
@@ -40,22 +34,31 @@ check() {
package() {
cd "${srcdir}/$_portname-${pkgver}"
- make \
- PREFIX="$pkgdir/usr" \
- MANPREFIX="$pkgdir/usr/share" \
- EXAMPLESDIR="$pkgdir/usr/share/$pkgname/examples" \
- DOCSDIR="$pkgdir/usr/share/doc/$pkgname" \
- LIBDIR="$pkgdir/usr/lib" \
- SCHEMADIR="$pkgdir/usr/share/$pkgname" \
- TURNINCLUDEDIR="$pkgdir/usr/include/turn" \
- install
+ make DESTDIR="$pkgdir" install
- install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnserver.conf" "$pkgdir/etc/turnserver.conf"
- install -D "$pkgdir/usr/share/$pkgname/examples/etc/turnuserdb.conf" "$pkgdir/etc/turnuserdb.conf"
+ install -D "$pkgdir/usr/share/$_portname/examples/etc/turnserver.conf" \
+ "$pkgdir/etc/turnserver.conf"
+ install -D "$pkgdir/usr/share/$_portname/examples/etc/turnuserdb.conf" \
+ "$pkgdir/etc/turnuserdb.conf"
+ install -D "$srcdir/stun.service" \
+ "$pkgdir/usr/lib/systemd/system/stun.service"
+ install -D "$srcdir/turn.service" \
+ "$pkgdir/usr/lib/systemd/system/turn.service"
rm -r "$pkgdir/usr/etc"
chmod 644 "$pkgdir/usr/lib/libturnclient.a"
install -Dm 644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
+ install -dm 755 "$pkgdir/var/log/$_portname"
+
+ sed \
+ -e '/^#log-file=\/var\/tmp\/turn.log$/c log-file=\/var\/log\/turnserver\/turn.log' \
+ -i "${pkgdir}"/etc/turnserver.conf
}
+sha1sums=('d7f01e6fadbe56fe4535d67a7d178a9cfba110b8'
+ '0c5b348e793bd52ce0ee38d420b26c9b2a2e2ca5'
+ 'b12805c049787cd1433181afaba4111f89740e63')
+sha256sums=('4d131f353aadb15901d175755075af65abf2a0e820d7281c9c164285642ff9c1'
+ '319030c1916d353bfc3375626cc7f60d6eeca762fe4fce354f010212902c49dc'
+ '63198e4f802c7b4b44e671e0fcaebca36589ebb11405e51ab9f36c80327ac4d9')
diff --git a/pcr/rfc5766-turn-server/stun.service b/pcr/rfc5766-turn-server/stun.service
new file mode 100644
index 000000000..bddb6168a
--- /dev/null
+++ b/pcr/rfc5766-turn-server/stun.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=STUN Server
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/turnserver --stun-only
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/rfc5766-turn-server/turn.service b/pcr/rfc5766-turn-server/turn.service
new file mode 100644
index 000000000..54cc5f01a
--- /dev/null
+++ b/pcr/rfc5766-turn-server/turn.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=TURN Server
+After=network.target
+
+[Service]
+Type=simple
+ExecStart=/usr/bin/turnserver
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/ruby-bundler/PKGBUILD b/pcr/ruby-bundler/PKGBUILD
index a1fb32449..44a1a883b 100644
--- a/pcr/ruby-bundler/PKGBUILD
+++ b/pcr/ruby-bundler/PKGBUILD
@@ -1,22 +1,24 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-pkgname=ruby-bundler
-_gemname=${pkgname#ruby-}
-pkgver=1.1.5
+_pkgname=bundler
+pkgname=ruby-$_pkgname
+pkgver=1.3.5
pkgrel=1
pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably."
-arch=('any')
-url="http://gembundler.com"
-license=('MIT')
-depends=('ruby' 'rubygems')
-source=(http://rubygems.org/downloads/${_gemname}-${pkgver}.gem)
-noextract=(${_gemname}-${pkgver}.gem)
-md5sums=('ecced17bc29a761db4ea5ca57b0d8795')
+arch=any
+url=http://gem$_pkgname.com
+license=MIT
+depends=ruby
+source=http://rubygems.org/downloads/$_pkgname-$pkgver.gem
+noextract=$_pkgname-$pkgver.gem
+sha256sums=08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4
+
+package() {
+ cd $srcdir
-build() {
- cd "${srcdir}"
- export HOME=/tmp
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install --no-user-install --ignore-dependencies -i "${pkgdir}${_gemdir}" -n "${pkgdir}/usr/bin" ${_gemname}-${pkgver}.gem
+ local _gemdir=$(ruby -rubygems -e'puts Gem.default_dir')
+ HOME=/tmp gem install --no-user-install --ignore-dependencies\
+ -i $pkgdir$_gemdir -n $pkgdir/usr/bin\
+ $_pkgname-$pkgver.gem
}
diff --git a/pcr/ruby-haml/ruby-yard/PKGBUILD b/pcr/ruby-haml/ruby-yard/PKGBUILD
deleted file mode 100644
index a686f937d..000000000
--- a/pcr/ruby-haml/ruby-yard/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Maintainer: Matt Harrison <matt at mistbyte dot com>
-# Contributor: Renzo Carbonara <gnuk0001@gmail.com>
-
-pkgname=ruby-yard
-_gemname=${pkgname#ruby-}
-pkgver=0.8.2.1
-pkgrel=2
-pkgdesc="Documentation tool for consistent and usable documentation in Ruby."
-arch=('any')
-url="http://yardoc.org"
-license=('MIT')
-groups=()
-depends=()
-makedepends=('rubygems')
-optdepends=()
-provides=()
-conflicts=()
-replaces=()
-backup=()
-options=()
-install=
-source=("http://gems.rubyforge.org/gems/yard-${pkgver}.gem")
-noextract=("yard-${pkgver}.gem")
-
-build() {
- cd $srcdir
- local _gemdir="$(ruby -rubygems -e'puts Gem.default_dir')"
- gem install --no-user-install --ignore-dependencies -i "$pkgdir$_gemdir" \
- -n "$pkgdir/usr/bin" ${_gemname}-$pkgver.gem
- install -D "$pkgdir$_gemdir/gems/${_gemname}-$pkgver/LICENSE" \
- "$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-md5sums=('08a48d23f8729b68945011cae7d121fe')
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/ruby-headers/PKGBUILD b/pcr/ruby-headers/PKGBUILD
index 074205e79..7b20fc288 100644
--- a/pcr/ruby-headers/PKGBUILD
+++ b/pcr/ruby-headers/PKGBUILD
@@ -3,8 +3,8 @@
pkgname=ruby-headers
_pkgname=ruby
-pkgver=2.0.0_p0
-_pkgver=2.0.0-p0
+pkgver=2.0.0_p195
+_pkgver=2.0.0-p195
pkgrel=1
pkgdesc="A package of all Ruby headers needed by some gems like ruby-debug."
arch=('any')
@@ -23,4 +23,4 @@ package() {
install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
}
-md5sums=('895c1c581f8d28e8b3bb02472b2ccf6a')
+md5sums=('2f54faea6ee1ca500632ec3c0cb59cb6')
diff --git a/pcr/ruby1-bundler/PKGBUILD b/pcr/ruby1-bundler/PKGBUILD
new file mode 100644
index 000000000..d06f7af08
--- /dev/null
+++ b/pcr/ruby1-bundler/PKGBUILD
@@ -0,0 +1,27 @@
+# Contributor: Alexsandr Pavlov <kidoz at mail dot ru>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+
+_pkgname=bundler
+pkgname=ruby1-$_pkgname
+pkgver=1.3.5
+pkgrel=1
+pkgdesc="Is manages an application's dependencies through its entire life, across many machines, systematically and repeatably."
+arch=any
+url=http://gem$_pkgname.com
+license=MIT
+depends=ruby1
+source=http://rubygems.org/downloads/$_pkgname-$pkgver.gem
+noextract=$_pkgname-$pkgver.gem
+sha256sums=08b89047f7b829f3e197a28fb1bde74c3f5cfea1552f99dfba237fee30eaffe4
+
+package() {
+ cd $srcdir
+
+ local _gemdir=$(ruby1 -rubygems -e'puts Gem.default_dir')
+ HOME=/tmp gem1 install --no-user-install --ignore-dependencies\
+ -i $pkgdir$_gemdir -n $pkgdir/usr/bin\
+ $_pkgname-$pkgver.gem
+
+ msg "renaming $_pkgname to ${_pkgname}1"
+ mv -v $pkgdir/usr/bin/${_pkgname%r}{,1}
+}
diff --git a/pcr/ruby1/PKGBUILD b/pcr/ruby1/PKGBUILD
new file mode 100644
index 000000000..4a441bc1c
--- /dev/null
+++ b/pcr/ruby1/PKGBUILD
@@ -0,0 +1,84 @@
+# Maintainer: Thomas Dziedzic <gostrc@gmail.com>
+# Contributor: Allan McRae <allan@archlinux.org>
+# Contributor: John Proctor <jproctor@prium.net>
+# Contributor: Jeramy Rutley <jrutley@gmail.com>
+
+_pkgname=ruby
+pkgname=("${_pkgname}1" "${_pkgname}1-docs")
+pkgver=1.9.3_p448
+pkgrel=2
+arch=('i686' 'x86_64' 'mips64el')
+url='http://www.ruby-lang.org/en/'
+license=('BSD' 'custom')
+makedepends=('gdbm' 'openssl' 'tk' 'libffi' 'doxygen' 'graphviz' 'libyaml')
+options=('!emptydirs' '!makeflags' '!staticlibs')
+source=("ftp://ftp.ruby-lang.org/pub/ruby/${pkgver%.*}/ruby-${pkgver//_/-}.tar.bz2"
+ 'gemrc')
+md5sums=('aa710d386e5903f78f0231868255e6af'
+ '6fb8e7a09955e0f64be3158fb4a27e7a')
+
+build() {
+ cd ruby-${pkgver//_/-}
+
+ msg 'use gdbm because db v6 changed the license to AGPL'
+ sed -i 's|db db2 db1 db5 db4 db3||
+ \|db[1-5]/n\{0,1\}dbm\{0,1\}[.]h|d
+ \|traditional ndbm [(]4[.]3BSD[)]|d
+ ' ext/dbm/extconf.rb
+
+ msg 'fixing gemrc to gem1rc'
+ sed -i 's|gemrc|gem1rc|g
+ ' doc/rubygems/{ChangeLog,History.txt} \
+ lib/rubygems{,/command,/commands/environment_command,/config_file}.rb \
+ test/rubygems/test_gem_{config_file,gem_runner,remote_fetcher}.rb
+
+ PKG_CONFIG=/usr/bin/pkg-config ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --enable-shared \
+ --disable-rpath \
+ --program-suffix=1
+
+ make
+}
+
+check() {
+ cd ruby-${pkgver//_/-}
+
+ make test
+}
+
+package_ruby1() {
+ pkgdesc='An object-oriented language for quick and easy programming (1.9 ver.)'
+ depends=('gdbm' 'openssl' 'libffi' 'libyaml')
+ optdepends=('tk: for Ruby/TK'
+ 'ruby1-docs: Ruby documentation')
+ backup=('etc/gem1rc')
+ install='ruby.install'
+
+ cd ruby-${pkgver//_/-}
+
+ make DESTDIR="${pkgdir}" install-nodoc
+
+ install -D -m644 ${srcdir}/gemrc "${pkgdir}/etc/gem1rc"
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby1/LICENSE"
+ install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby1/BSDL"
+
+ msg 'remove useless files'
+ rm -v "${pkgdir}/usr/lib/libruby.so"
+}
+
+package_ruby1-docs() {
+ pkgdesc='Documentation files for ruby (1.9 ver.)'
+
+ cd ruby-${pkgver//_/-}
+
+ make DESTDIR="${pkgdir}" install-doc install-capi
+
+ install -D -m644 COPYING "${pkgdir}/usr/share/licenses/ruby1-docs/LICENSE"
+ install -D -m644 BSDL "${pkgdir}/usr/share/licenses/ruby1-docs/BSDL"
+
+ msg 'fixing doc path'
+ mv -v ${pkgdir}/usr/share/doc/ruby{,1}
+}
diff --git a/pcr/ruby1/gemrc b/pcr/ruby1/gemrc
new file mode 100644
index 000000000..3d11de1ec
--- /dev/null
+++ b/pcr/ruby1/gemrc
@@ -0,0 +1,5 @@
+# Read about the gemrc format at http://docs.rubygems.org/read/chapter/11
+
+# --user-install is used to install to $HOME/.gem/ by default since we want to separate
+# pacman installed gems and gem installed gems
+gem: --user-install
diff --git a/pcr/ruby1/ruby.install b/pcr/ruby1/ruby.install
new file mode 100644
index 000000000..21e9b98a2
--- /dev/null
+++ b/pcr/ruby1/ruby.install
@@ -0,0 +1,22 @@
+#!/bin/sh
+
+print_gem_default_target() {
+ echo 'The default location of gem installs is $HOME/.gem/ruby'
+ echo 'Add the following line to your PATH if you plan to install using gem'
+ echo '$(ruby1 -rubygems -e "puts Gem.user_dir")/bin'
+ echo 'If you want to install to the system wide location, you must either:'
+ echo 'edit /etc/gem1rc or run gem with the --no-user-install flag.'
+}
+
+# arg 1: the new package version
+post_install() {
+ print_gem_default_target
+}
+
+# arg 1: the new package version
+# arg 2: the old package version
+post_upgrade() {
+ if [ "$(vercmp $2 1.9.3_p125-4)" -lt 0 ]; then
+ print_gem_default_target
+ fi
+}
diff --git a/pcr/ryzom-hg/PKGBUILD b/pcr/ryzom-hg/PKGBUILD
index 8bc928115..0951e474d 100644
--- a/pcr/ryzom-hg/PKGBUILD
+++ b/pcr/ryzom-hg/PKGBUILD
@@ -1,100 +1,50 @@
-# Maintainer:Bjoern Bidar <theodorstormgrade@gmail.com
-#_gui_toolkit=qt # qt or gtk
-_build_server=false # set true to build server (default:false)
-_build_client=true # set false to don't build client (default:true)
-_CMAKE_COMMON_ARGS=('-DWITH_STATIC=OFF' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_LUA51=ON' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=OFF'.) # cmake arguments for server and client
-_CMAKE_SERVER_ARGS=('-DWITH_RYZOM_SERVER=ON' '-DWITH_RYZOM_CLIENT=OFF' '-DWITH_DRIVER_OPENGL=OFF' '-DWITH_DRIVER_OPENAL=OFF' ) # cmake args for building server
-_CMAKE_CLIENT_ARGS=( '-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=ON' ) # cmake args for building client
-if [ $_build_client = true ] ; then
- true && pkgname=( 'ryzom-client-hg' )
-fi
-
-if [ $_build_server = true ] ; then
- true && pkgname=( 'ryzom-client-hg' 'ryzom-server-hg')
-fi
-pkgbase=ryzom-hg
-pkgname=ryzom-hg
-pkgver=20130331
-pkgrel=1
-pkgdesc="Ryzom is a Free to Play MMORPG . This version is for playing on an official server or launch a server"
+# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
+# Maintainer (aur): Bjoern Bidar <theodorstormgrade@gmail.com>
+
+pkgname='ryzom-hg'
+_hgver=ce26956d3a4a
+pkgver=20130727
+pkgrel=7
+pkgdesc="An awesome free software 3D MMORPG game"
arch=('i686' 'x86_64')
url="http://www.ryzom.com/"
license=('AGPL3')
-depends=('curl' 'freetype2' 'libx11' 'mesa' 'libxxf86vm' 'openal' 'freealut' 'libogg' 'libvorbis' 'libxml2' 'libpng' 'libjpeg' 'rrdtool' 'libwww' 'boost' 'luabind' 'libsquish' 'lua51' 'lua51-sql-mysql')
-conflicts=('ryzom-client-latest-hg')
-groups=('ryzom')
-makedepends=('mercurial' 'cpptest' 'cmake' 'bison')
-provides=('ryzom')
-source=( 'ryzom.sh' 'ryzom.desktop' )
-md5sums=('a5ca7dfae7b9073f78cd1b0b7380755f'
- '71d5136d40ec4e76c2ac2b0c9e506aef')
-
-
-
-
-case $_gui_toolkit in
- qt) _CMAKE_COMMON_ARGS=( ${_CMAKE_COMMON_ARGS_ARGS[*]} '-DWITH_QT=ON' ) ;;
- gtk) _CMAKE_COMMON_ARGS=( ${_CMAKE_COMMON_ARGS_ARGS[*]} '-DWITH_GTK=ON' ) ;;
-esac
+depends=('curl' 'hicolor-icon-theme' 'libvorbis' 'libjpeg' 'libwww-hg' 'luabind' 'ryzom-data')
+conflicts=('ryzom')
+makedepends=('mercurial' 'cpptest' 'cmake' 'bison' 'freealut' 'rrdtool' 'boost')
+source=("libre://$pkgname-$pkgver.tar.gz")
+mksource=(".$pkgname-$pkgver::hg+https://bitbucket.org/ryzom/ryzomcore#revision=${_hgver}")
-_hg_root='https://bitbucket.org/ryzom/ryzomcore'
-_hg_name='ryzomcore'
-
-prepare() {
- if [ -d "$_hg_name" ] ; then # fetch sources
- cd "$_hg_name"
- hg pull && hg update
- cd ..
- else
- hg clone "$_hg_root"
- fi
-
- msg2 "hg clone done or server timeout"
+mksource() {
+ rm -rf "$srcdir/$pkgname-$pkgver"
+ cp -a "$srcdir/.$pkgname-$pkgver/code" "${srcdir}/${pkgname}-${pkgver}"
}
+
build() {
- cd $_hg_name
-
- if [ $_build_client = true ] ; then
- mkdir -p "$srcdir/build-client"
- cd "$srcdir/build-client"
- msg "client is $_build_client, building client"
- cmake -b "$srcdir/$_hg_name/code" ${_CMAKE_COMMON_ARGS_ARGS[*]} ${_CMAKE_CLIENT_ARGS[*]} -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin
- msg "Starting make, to build client"
- make
-
- fi
-
- if [ $_build_server = true ] ; then
- mkdir -p "$srcdir/build-server"
- cd "$srcdir/build-server"
- msg "client is $_build_server, building server"
- cmake -b "$srcdir/$_hg_name/code" ${_CMAKE_COMMON_ARGS_ARGS[*]} ${_CMAKE_SERVER_ARGS[*]} -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin
- msg "Starting make, to build server"
- make
- fi
+ mkdir -p "$srcdir/build"
+ cd "$srcdir/build"
+ cmake -Wno-dev "$srcdir/${pkgname}-${pkgver}" -DFINAL_VERSION=ON -DWITH_STATIC=OFF -DWITH_NEL_TOOLS=OFF -DWITH_NEL_TESTS=OFF -DWITH_LUA51=ON -DWITH_NEL_SAMPLES=OFF -DWITH_RYZOM_TOOLS=OFF -DWITH_RYZOM_SERVER=OFF -DWITH_RYZOM_CLIENT=ON -DWITH_NEL=ON -DWITH_DRIVER_OPENGL=ON -DWITH_DRIVER_OPENAL=ON -DCMAKE_INSTALL_PREFIX=/usr -DRYZOM_ETC_PREFIX=/etc/ryzom -DRYZOM_SHARE_PREFIX=/usr/share/ryzom -DRYZOM_BIN_PREFIX=/usr/bin -DRYZOM_GAMES_PREFIX=/usr/bin
+
+ make all
}
-if [ $_build_client = true ] ; then
-
- package_ryzom-client-hg() {
- pkgdesc="Ryzom is a Free to Play MMORPG . This version is for playing on an official server"
- depends=( 'curl' 'freetype2' 'libx11' 'mesa' 'libxxf86vm' 'openal' 'freealut' 'libogg' 'libvorbis' 'libxml2' 'cmake' 'libpng' 'libjpeg' 'rrdtool' 'bison' 'libwww' 'boost' 'cpptest' 'luabind' 'libsquish' 'lua51' 'lua51-sql-mysql' 'ryzom-data' )
- cd "$srcdir/build-client"
- make DESTDIR="$pkgdir/" install
- install -Dm 644 ${srcdir}/ryzom.desktop ${pkgdir}/usr/share/applications
- sed -ie 's/\/usr\/bin\/ryzom_client/ryzom/' ${pkgdir}/usr/share/applications/ryzom.desktop # replace ryzom_client with our script
- install -Dm755 ${srcdir}/ryzom.sh ${pkgdir}/usr/bin/ryzom
- }
-fi
-
-if [ $_build_server = true ] ; then
-
- package_ryzom-server-hg() {
- pkgdesc="Ryzom is a Free to Play MMORPG . This is the version to run a server"
- cd "$srcdir/build-server"
- make DESTDIR="$pkgdir/" install
- }
-fi
-
+package() {
+ cd "$srcdir/build"
+ make DESTDIR="$pkgdir" install
+ cd "$pkgdir/etc/ryzom/"
+ # instead of the open shard, we point to the actual ryzom shard.
+ # this cannot be on prepare(), I tried that already and didn't work
+ sed -i 's|"ryzom_open"|"ryzom_live"|g' client_default.cfg
+ sed -i 's|PatchServer = "";|PatchServer = "http://dl.ryzom.com/patch_live";|g' client_default.cfg
+ sed -i 's|SignUpURL = "";|SignUpURL = "http://www.ryzom.com/subscribe";|g' client_default.cfg
+ sed -i 's|"open.ryzom.com:40916";|"shard.ryzom.com:40916";|g' client_default.cfg
+ sed -i 's|CreateAccountURL = "";|CreateAccountURL = "https://secure.ryzom.com/signup/from_client.php";|g' client_default.cfg
+ sed -i 's|InstallWebPage = "";|InstallWebPage = "http://dl.ryzom.com/installer/";|g' client_default.cfg
+ sed -i 's|"http://open.ryzom.com:50000/stats/stats.php";|"http://shard.ryzom.com:50000/stats/stats.php";|g' client_default.cfg
+ sed -i 's|atys.|app.|g' client_default.cfg
+ sed -i 's|"app.ryzom.com" |"api.ryzom.com", "app.ryzom.com" |g' client_default.cfg
+}
+mksha256sums=('SKIP')
+sha256sums=('a8c90f3f41fb3d497022a2d14a9aa39352557f5745f97b93d0bed61cebf85402')
diff --git a/pcr/ryzom-hg/ryzom.sh b/pcr/ryzom-hg/ryzom.sh
deleted file mode 100644
index e3cff2c64..000000000
--- a/pcr/ryzom-hg/ryzom.sh
+++ /dev/null
@@ -1,9 +0,0 @@
-#!/bin/sh
-if groups | grep games > /dev/null 2>&1 ; then
- ryzom_sync
- exec ryzom_client
-
-else
- echo "you need to be in games group to run ryzom"
- exit 1
-fi
diff --git a/pcr/samplv1/PKGBUILD b/pcr/samplv1/PKGBUILD
new file mode 100644
index 000000000..33be54edf
--- /dev/null
+++ b/pcr/samplv1/PKGBUILD
@@ -0,0 +1,30 @@
+
+pkgname=samplv1
+pkgver=0.3.4
+pkgrel=1
+pkgdesc="Polyphonic sampler synthesizer with stereo fx"
+arch=(i686 x86_64)
+url="http://$pkgname.sourceforge.net/$pkgname-index.html"
+license=('GPL')
+groups=('lv2-plugins')
+depends=('jack' 'liblo' 'lv2' 'qt4' 'shared-mime-info')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('32e920ff8457bb94f301a657d55f90a8')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ # x86_64 lib path fix
+ sed -i "s/lib64/lib/" src/src_lv2.pro
+
+ ./configure --prefix=/usr
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/samplv1/samplv1.install b/pcr/samplv1/samplv1.install
new file mode 100644
index 000000000..ec1a84bbb
--- /dev/null
+++ b/pcr/samplv1/samplv1.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-mime-database usr/share/mime
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/setbfree/PKGBUILD b/pcr/setbfree/PKGBUILD
index 1b30f06c2..c17511f47 100644
--- a/pcr/setbfree/PKGBUILD
+++ b/pcr/setbfree/PKGBUILD
@@ -1,10 +1,9 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
pkgname=setbfree
-pkgver=0.7.2
+pkgver=0.7.3
pkgrel=1
pkgdesc="A DSP Tonewheel Organ emulator."
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://setbfree.org/"
license=('GPL')
depends=('jack' 'liblo' 'tk' 'desktop-file-utils')
@@ -12,7 +11,7 @@ makedepends=('lv2')
install="$pkgname.install"
source=("https://github.com/pantherb/setBfree/tarball/v$pkgver"
"https://raw.github.com/pantherb/setBfree/master/debian/setbfree.desktop")
-md5sums=('7b64947289687cbf71b9e87fdd006f36'
+md5sums=('8b7b077dfb784927c7103948083e1f04'
'8c2a863562f26856dcff0a456cf36dcf')
build() {
diff --git a/pcr/setuptools_darcs/PKGBUILD b/pcr/setuptools_darcs/PKGBUILD
new file mode 100644
index 000000000..285214db8
--- /dev/null
+++ b/pcr/setuptools_darcs/PKGBUILD
@@ -0,0 +1,29 @@
+# Contributor: Peter Simons <simons@cryp.to>
+# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+pkgname=setuptools_darcs
+pkgver=1.2.11
+pkgrel=3.1
+pkgdesc="Python setuptools plugin for darcs"
+arch=('any')
+url='http://pypi.python.org/pypi/setuptools_darcs'
+license=('BSD')
+depends=('python2' 'setuptools')
+makedepends=('darcsver')
+source=( http://pypi.python.org/packages/source/s/$pkgname/$pkgname-$pkgver.tar.gz )
+md5sums=('79451a8e77b9692861a655e53df094f0')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+}
+
+check() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 PKG-INFO $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/pcr/shflags/PKGBUILD b/pcr/shflags/PKGBUILD
new file mode 100644
index 000000000..c4f3ee7a9
--- /dev/null
+++ b/pcr/shflags/PKGBUILD
@@ -0,0 +1,31 @@
+#Maintainer max_meyer
+pkgname=shflags
+pkgver=1.0.3
+pkgrel=1
+pkgdesc="Shell Flags (shFlags) is a library written to greatly simplify the handling of command-line flags"
+arch=(any)
+url="http://code.google.com/p/shflags/"
+license=('LGPL')
+depends=(sh)
+provides=(shflags)
+optdepends=(bash zsh dash ksh)
+options=(zipman)
+source=(http://shflags.googlecode.com/files/$pkgname-$pkgver.tgz{,.sig})
+md5sums=('b4d7133696ec05b71b27d8df5e278f0f'
+ 'SKIP')
+
+package() {
+ src="$srcdir/$pkgname-$pkgver/src/"
+ dst="$pkgdir/usr/share/lib/shflags"
+ mkdir -p "$dst"
+
+ if [ -f "$src/shflags" ]; then
+ cp "$src/shflags" "$dst/shflags.sh"
+ else
+ msg "Warning shflags not found"
+ exit 1
+ fi
+
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/shocco/PKGBUILD b/pcr/shocco/PKGBUILD
new file mode 100644
index 000000000..32baa6d2d
--- /dev/null
+++ b/pcr/shocco/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer: Luke Shumaker <lukeshu@sbcglobal.net>
+
+pkgname="shocco"
+pkgver=1.0
+pkgdesc="Docco-like documentation generator for POSIX shell"
+url="http://rtomayko.github.com/shocco/"
+license=('custom:MIT')
+
+pkgrel=1
+arch=('any')
+depends=('markdown' 'python2-pygments')
+optdepends=('ronn: builds man pages')
+
+source=("libre://$pkgname-$pkgver.tar.gz")
+md5sums=('edaed31d14a2c16e6303c07e24e7bc9a')
+
+mksource=("git://github.com/rtomayko/shocco.git#tag=${pkgver}")
+mkmd5sums=('SKIP')
+
+build() {
+ cd "$srcdir/$pkgname"
+ ./configure --prefix="$pkgdir"/usr
+ make -j1
+}
+
+package() {
+ cd "$srcdir/$pkgname"
+ make -j1 install
+ install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING"
+}
diff --git a/pcr/sipwitch/PKGBUILD b/pcr/sipwitch/PKGBUILD
index 22852780c..eba2bb854 100644
--- a/pcr/sipwitch/PKGBUILD
+++ b/pcr/sipwitch/PKGBUILD
@@ -1,6 +1,6 @@
# Maintainer: Dan Serban
# Contributors: David Zaragoza, Andrea Scarpino
-# Maintainer (Parabola): André Silva <andre.paulista@adinet.com.uy>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=sipwitch
pkgver=1.2.4
diff --git a/pcr/spacenav-daemon/PKGBUILD b/pcr/spacenav-daemon/PKGBUILD
new file mode 100644
index 000000000..fb1229ae4
--- /dev/null
+++ b/pcr/spacenav-daemon/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+pkgname=spacenav-daemon
+_pkgname=${pkgname%-daemon}
+pkgver=0.5
+pkgrel=3
+pkgdesc="Free Spacenav Daemon is a free alternative to the 3Dconnexion device driver, for their 3D input devices."
+arch=(
+ i686
+ x86_64
+ mips64el
+)
+conflicts=${_pkgname}d
+replaces=${_pkgname}d
+url=http://$_pkgname.sourceforge.net/
+license=GPL2
+depends=libx11
+backup=etc/spnavrc
+source=(
+ http://downloads.sourceforge.net/$_pkgname/${_pkgname}d-$pkgver.tar.gz
+ $_pkgname.service
+ spnavrc
+)
+sha512sums=(
+ 908f598e4ba5febbc1191cc32cd444817acd40c22e79b1f139c50787e1e25d4cd8328dc3fd6d9dde09bb80232b52f0e75ae429fb3345eb51fbe5a47577b038e2
+ 61397646f7dda23b2cef5168f23e21c017801f156374c7fab7bae650cd3cee0ea173d3cb65ae2f0be580aa399999a388df2d804b9d00c01db430c820dbc60160
+ f97866a77fe9e6bee8df046ad62576a1cdbba26323218cd6336de66e0898f403bb33da12666fe75f00bb9bf078f895e8e7de360196079f83082fc94a23f71728
+)
+
+build() {
+ cd $srcdir/${_pkgname}d-$pkgver
+ ./configure --prefix=$pkgdir/usr
+ make
+}
+
+package() {
+ cd $srcdir/${_pkgname}d-$pkgver
+ make DESTDIR=$pkgdir install
+
+ install -Dm644 $srcdir/$_pkgname.service $pkgdir/usr/lib/systemd/system/$_pkgname.service
+ install -Dm644 $srcdir/spnavrc $pkgdir/etc/spnavrc
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/spacenavd/spacenav.service b/pcr/spacenav-daemon/spacenav.service
index 30e8019e9..30e8019e9 100644
--- a/pcr/spacenavd/spacenav.service
+++ b/pcr/spacenav-daemon/spacenav.service
diff --git a/pcr/spacenav-daemon/spnavrc b/pcr/spacenav-daemon/spnavrc
new file mode 100644
index 000000000..7d19ae03b
--- /dev/null
+++ b/pcr/spacenav-daemon/spnavrc
@@ -0,0 +1,8 @@
+# sensitivity is multiplied with every motion (1.0 normal).
+sensitivity = 1.000
+
+# dead zone; any motion less than this number, is discarded as noise.
+dead-zone = 2
+
+# disable led
+led = 0
diff --git a/pcr/spacenavd/PKGBUILD b/pcr/spacenavd/PKGBUILD
deleted file mode 100644
index cf8a43c32..000000000
--- a/pcr/spacenavd/PKGBUILD
+++ /dev/null
@@ -1,30 +0,0 @@
-# Contributor: Jan Hambrecht <jaham at gmx dot net>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-
-pkgname=spacenavd
-pkgver=0.5
-pkgrel=2
-pkgdesc="The spacenav project provides a free, compatible alternative, to the proprietary 3Dconnexion device driver and SDK, for their 3D input devices (called 'space navigator', 'space pilot', 'space traveller', etc)."
-arch=('i686' 'x86_64' 'mips64el')
-url="http://spacenav.sourceforge.net/"
-license=('GPL')
-depends=('libx11')
-backup=('etc/spnavrc')
-source=(http://downloads.sourceforge.net/spacenav/$pkgname-$pkgver.tar.gz
- spacenavd
- spacenav.service)
-
-md5sums=('0bb21da5315bd376aa508157a9455aaa'
- '27a739300d4de07920879af2d2bdd47f'
- 'b404c8021254636b861651a7a48d17a6')
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=$pkgdir/usr
- make || return 1
- make DESTDIR=$pkgdir install || return 1
- # for initscript service
- install -D -m755 $srcdir/spacenavd $pkgdir/etc/rc.d/spacenavd || return 1
- # for systend service
- install -D -m755 $srcdir/spacenav.service $pkgdir/usr/lib/systemd/system/spacenav.service || return 1
-}
diff --git a/pcr/spacenavd/spacenavd b/pcr/spacenavd/spacenavd
deleted file mode 100644
index 61946197c..000000000
--- a/pcr/spacenavd/spacenavd
+++ /dev/null
@@ -1,38 +0,0 @@
-#!/bin/bash
-
-. /etc/rc.conf
-. /etc/rc.d/functions
-
-DAEMON=/usr/bin/spacenavd
-
-PID=`pidof -o %PPID $DAEMON`
-case "$1" in
- start)
- stat_busy "Starting Spacenavigator Daemon"
- [ -z "$PID" ] && $DAEMON
- if [ $? -gt 0 ]; then
- stat_fail
- else
- add_daemon spacenavd
- stat_done
- fi
- ;;
- stop)
- stat_busy "Stopping Spacenavigator Daemon"
- [ ! -z "$PID" ] && kill $PID &> /dev/null
- if [ $? -gt 0 ]; then
- stat_fail
- else
- rm_daemon spacenavd
- stat_done
- fi
- ;;
- restart)
- $0 stop
- sleep 1
- $0 start
- ;;
- *)
- echo "usage: $0 {start|stop|restart}"
-esac
-exit 0
diff --git a/pcr/steadyflow/PKGBUILD b/pcr/steadyflow/PKGBUILD
new file mode 100644
index 000000000..a9381448e
--- /dev/null
+++ b/pcr/steadyflow/PKGBUILD
@@ -0,0 +1,33 @@
+# Maintainer: M0Rf30
+# Contributor: Dan Serban
+# Contributor: zbito <ztokarczyk at gmail dot com
+
+pkgname=steadyflow
+pkgver=0.2.0
+pkgrel=3
+pkgdesc="A download manager that aims for minimalism, ease of use, and a
+clean, malleable codebase"
+arch=('i686' 'x86_64')
+url=https://launchpad.net/steadyflow
+license=('GPL3')
+install=steadyflow.install
+depends=('desktop-file-utils' 'glib2' 'gtk3' 'gvfs' 'libgee' 'libnotify'
+'libunique' 'libgee06')
+makedepends=('cmake' 'vala')
+conflicts=('steadyflow-bzr')
+source=(http://launchpad.net/$pkgname/trunk/$pkgver/+download/$pkgname-$pkgver.tar.xz https://launchpadlibrarian.net/55910801/steadyflow-64px.png)
+md5sums=('16b9907c1d681e7f0a861f066d4fda0e' 'bbe025886f071ebfffa5fed350cced0c')
+
+build() {
+ cd $pkgname-$pkgver
+ cmake -DCMAKE_INSTALL_PREFIX='/usr' -DCOMPILE_GSETTINGS_ON_INSTALL=NO -DWANT_AYATANA=NO
+ make
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make install DESTDIR="$pkgdir"
+ mkdir -p "$pkgdir"/usr/share/pixmaps
+ cp "$srcdir"/steadyflow-64px.png "$pkgdir"/usr/share/pixmaps/steadyflow.png
+}
+
diff --git a/pcr/steadyflow/steadyflow.install b/pcr/steadyflow/steadyflow.install
new file mode 100644
index 000000000..01434bc04
--- /dev/null
+++ b/pcr/steadyflow/steadyflow.install
@@ -0,0 +1,17 @@
+post_install()
+{
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+post_upgrade()
+{
+ post_install $1
+}
+
+post_remove()
+{
+ post_install $1
+}
+
diff --git a/pcr/strongswan/PKGBUILD b/pcr/strongswan/PKGBUILD
index c6ace77c4..6a53609e9 100644
--- a/pcr/strongswan/PKGBUILD
+++ b/pcr/strongswan/PKGBUILD
@@ -7,8 +7,8 @@
# Maintainer: dkorzhevin <dkorzhevin at gmail dot com>
pkgname=strongswan
-pkgver=5.0.4
-pkgrel=6
+pkgver=5.1.0
+pkgrel=2
pkgdesc="open source IPsec implementation"
url='http://www.strongswan.org'
license=("GPL")
@@ -19,8 +19,9 @@ options=(!libtool)
backup=(etc/ipsec.conf etc/strongswan.conf)
source=(http://download.strongswan.org/${pkgname}-${pkgver}.tar.bz2 strongswan.rc::https://gist.github.com/raw/3106703/96d2ce9683f1e33ef14c679880ddc298e9673508/strongswan.rc)
changelog='CHANGELOG'
-md5sums=('0ab0397b44b197febfd0f89148344035'
+md5sums=('c1cd0a3ba9960f590cae28c8470800e8'
'cf815adef48a1ffee34517380c731277')
+
build() {
cd ${srcdir}/${pkgname}-${pkgver}
@@ -38,7 +39,8 @@ build() {
--enable-eap-gtc --enable-eap-aka --enable-eap-aka-3gpp2 \
--enable-eap-mschapv2 --enable-eap-radius --enable-xauth-eap \
--enable-ha \
- --disable-mysql --disable-ldap
+ --disable-mysql --disable-ldap \
+ --enable-cmd
make
}
diff --git a/pcr/supermodel/PKGBUILD b/pcr/supermodel/PKGBUILD
new file mode 100644
index 000000000..fd22bea59
--- /dev/null
+++ b/pcr/supermodel/PKGBUILD
@@ -0,0 +1,38 @@
+# Maintainer: Anton Shestakov <engored*ya.ru>
+
+pkgname=supermodel
+pkgver=0.2a
+pkgrel=1
+pkgdesc='A Sega Model 3 Arcade Emulator'
+arch=('i686' 'x86_64')
+url='http://www.supermodel3.com/'
+license=('GPL3')
+depends=('mesa' 'glu' 'sdl' 'zlib')
+install=supermodel.install
+source=('multiuser.patch' 'supermodel.sh'
+ "http://www.supermodel3.com/Files/Supermodel_${pkgver}_Src.zip")
+md5sums=('a7cf136e412a0d927b099c15793b658d' 'ea8274c2a37acddd026fce9c831530cc'
+ 'd22359fbe277fe8f6fe0a06524350fc1')
+
+MAKEFLAGS="-j1"
+
+build() {
+ cd "$srcdir/Supermodel_${pkgver}_Src"
+ sed -e "s/-Wall -O3/$CFLAGS/" -i 'Makefiles/Makefile.SDL.UNIX.GCC'
+ patch -p1 < ../multiuser.patch
+ make -f 'Makefiles/Makefile.SDL.UNIX.GCC'
+}
+
+package() {
+ cd "$srcdir/Supermodel_${pkgver}_Src"
+
+ install -Dm755 "$srcdir/supermodel.sh" "$pkgdir/usr/bin/supermodel"
+
+ install -Dm755 "bin/Supermodel" "$pkgdir/usr/share/supermodel/Supermodel"
+
+ install -Dm644 "Docs/LICENSE.txt" "$pkgdir/usr/share/licenses/supermodel/LICENSE"
+ install -Dm644 "Docs/README.txt" "$pkgdir/usr/share/doc/supermodel/README"
+
+ install -d "$pkgdir/usr/share/supermodel/Config"
+ install -m644 Config/* "$pkgdir/usr/share/supermodel/Config/"
+}
diff --git a/pcr/supermodel/multiuser.patch b/pcr/supermodel/multiuser.patch
new file mode 100644
index 000000000..9cb93e02c
--- /dev/null
+++ b/pcr/supermodel/multiuser.patch
@@ -0,0 +1,107 @@
+diff --git a/Src/OSD/SDL/Main.cpp b/Src/OSD/SDL/Main.cpp
+--- a/Src/OSD/SDL/Main.cpp
++++ b/Src/OSD/SDL/Main.cpp
+@@ -307,7 +307,6 @@
+ Configuration file management and input settings.
+ ******************************************************************************/
+
+-#define CONFIG_FILE_PATH "Config/Supermodel.ini"
+ #define CONFIG_FILE_COMMENT ";\n" \
+ "; Supermodel Configuration File\n" \
+ ";\n"
+@@ -315,9 +314,13 @@
+ // Create and configure inputs
+ static bool ConfigureInputs(CInputs *Inputs, bool configure)
+ {
++ char configFilePath[512];
++
++ sprintf(configFilePath, "%s/.supermodel/supermodel.ini", getenv("HOME"));
++
+ // Open and parse configuration file
+ CINIFile INI;
+- INI.Open(CONFIG_FILE_PATH); // doesn't matter if it exists or not, will get overwritten
++ INI.Open(configFilePath); // doesn't matter if it exists or not, will get overwritten
+ INI.SetDefaultSectionName("Global");
+ INI.Parse();
+
+@@ -338,9 +341,9 @@
+ Inputs->WriteToINIFile(&INI, "Global");
+
+ if (OKAY != INI.Write(CONFIG_FILE_COMMENT))
+- ErrorLog("Unable to save configuration to '%s'.", CONFIG_FILE_PATH);
++ ErrorLog("Unable to save configuration to '%s'.", configFilePath);
+ else
+- printf("Configuration successfully saved to '%s'.\n", CONFIG_FILE_PATH);
++ printf("Configuration successfully saved to '%s'.\n", configFilePath);
+ }
+ else
+ puts("Configuration aborted...");
+@@ -412,9 +415,13 @@
+ // Read settings (from a specific section) from the config file
+ static void ReadConfigFile(const char *section)
+ {
++ char configFilePath[512];
++
++ sprintf(configFilePath, "%s/.supermodel/supermodel.ini", getenv("HOME"));
++
+ CINIFile INI;
+
+- INI.Open(CONFIG_FILE_PATH);
++ INI.Open(configFilePath);
+ INI.SetDefaultSectionName("Global"); // required to read settings not associated with a specific section
+ INI.Parse();
+ ApplySettings(&INI, section);
+@@ -498,10 +505,10 @@
+ static void SaveState(CModel3 *Model3)
+ {
+ CBlockFile SaveState;
+- char filePath[24];
++ char filePath[512];
+ int fileVersion = STATE_FILE_VERSION;
+
+- sprintf(filePath, "Saves/%s.st%d", Model3->GetGameInfo()->id, saveSlot);
++ sprintf(filePath, "%s/.supermodel/saves/%s.st%d", getenv("HOME"), Model3->GetGameInfo()->id, saveSlot);
+ if (OKAY != SaveState.Create(filePath, "Supermodel Save State", "Supermodel Version " SUPERMODEL_VERSION))
+ {
+ ErrorLog("Unable to save state to '%s'.", filePath);
+@@ -522,11 +529,11 @@
+ static void LoadState(CModel3 *Model3)
+ {
+ CBlockFile SaveState;
+- char filePath[24];
++ char filePath[512];
+ int fileVersion;
+
+ // Generate file path
+- sprintf(filePath, "Saves/%s.st%d", Model3->GetGameInfo()->id, saveSlot);
++ sprintf(filePath, "%s/.supermodel/saves/%s.st%d", getenv("HOME"), Model3->GetGameInfo()->id, saveSlot);
+
+ // Open and check to make sure format is correct
+ if (OKAY != SaveState.Load(filePath))
+@@ -558,10 +565,10 @@
+ static void SaveNVRAM(CModel3 *Model3)
+ {
+ CBlockFile NVRAM;
+- char filePath[24];
++ char filePath[512];
+ int fileVersion = NVRAM_FILE_VERSION;
+
+- sprintf(filePath, "NVRAM/%s.nv", Model3->GetGameInfo()->id);
++ sprintf(filePath, "%s/.supermodel/NVRAM/%s.nv", getenv("HOME"), Model3->GetGameInfo()->id);
+ if (OKAY != NVRAM.Create(filePath, "Supermodel NVRAM State", "Supermodel Version " SUPERMODEL_VERSION))
+ {
+ ErrorLog("Unable to save NVRAM to '%s'. Make sure directory exists!", filePath);
+@@ -581,11 +588,11 @@
+ static void LoadNVRAM(CModel3 *Model3)
+ {
+ CBlockFile NVRAM;
+- char filePath[24];
++ char filePath[512];
+ int fileVersion;
+
+ // Generate file path
+- sprintf(filePath, "NVRAM/%s.nv", Model3->GetGameInfo()->id);
++ sprintf(filePath, "%s/.supermodel/NVRAM/%s.nv", getenv("HOME"), Model3->GetGameInfo()->id);
+
+ // Open and check to make sure format is correct
+ if (OKAY != NVRAM.Load(filePath))
diff --git a/pcr/supermodel/supermodel.install b/pcr/supermodel/supermodel.install
new file mode 100644
index 000000000..94ef82c48
--- /dev/null
+++ b/pcr/supermodel/supermodel.install
@@ -0,0 +1,12 @@
+# Message displayed for a fresh install.
+post_install() {
+ echo ""
+ echo "***************************************************************"
+ echo " Supermodel has been installed in /usr/share/supermodel."
+ echo " However, Supermodel can be run by typing supermodel and it's options:"
+ echo " supermodel <romset> [options]"
+ echo ""
+ echo " Note: You need to provide the full path to the romset."
+ echo "***************************************************************"
+ echo ""
+}
diff --git a/pcr/supermodel/supermodel.sh b/pcr/supermodel/supermodel.sh
new file mode 100644
index 000000000..992dd406d
--- /dev/null
+++ b/pcr/supermodel/supermodel.sh
@@ -0,0 +1,12 @@
+#!/bin/sh
+
+mkdir -p ~/.supermodel/NVRAM
+mkdir -p ~/.supermodel/saves
+
+cd /usr/share/supermodel
+
+if [[ ! -f ~/.supermodel/supermodel.ini ]]; then
+ cp ./Config/Supermodel.ini ~/.supermodel/supermodel.ini
+fi
+
+./Supermodel "$@"
diff --git a/pcr/sword/PKGBUILD b/pcr/sword/PKGBUILD
new file mode 100644
index 000000000..78ab4e646
--- /dev/null
+++ b/pcr/sword/PKGBUILD
@@ -0,0 +1,68 @@
+# Maintainer:
+# Contributor: Alexander Rødseth
+# Contributor: Andrea Scarpino
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: TripleE <eric1548@yahoo.com>
+# Contributor: Dominic Tubach
+
+pkgname=sword
+pkgver=1.6.2
+pkgrel=9
+pkgdesc="Library for Bible study programs"
+arch=('x86_64' 'i686')
+url="http://www.crosswire.org/sword/"
+license=('GPL')
+depends=('curl' 'clucene' 'swig')
+makedepends=('cmake')
+backup=('etc/sword.conf')
+source=("http://www.crosswire.org/ftpmirror/pub/$pkgname/source/v1.6/$pkgname-$pkgver.tar.gz"
+ "curl.patch"
+ "multimap.patch")
+sha256sums=('af76c7d54135c444b09eeaafb49229ef5201a4e1d44539d9341dceaeb60a87b9'
+ '3c2676b6dc1d56b08b2532f46af32c54e91ea71ed92a5d7a30ee29ed7ff09124'
+ 'ddcde54fbd9b29585c03565bff7891622cb2cc0a6381047d5f566987a7cb1b8c')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ patch -p1 -i ../curl.patch
+ patch -p1 -i ../multimap.patch
+
+ [[ -d ../build ]] || mkdir ../build
+ cd ../build
+
+ CXXFLAGS=-fpermissive cmake "../$pkgname-$pkgver" \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DSWORD_GLOBAL_CONF_DIR=/etc
+ make
+}
+
+package() {
+ cd "$srcdir/build"
+
+ make DESTDIR="$pkgdir" install
+
+ install -d "$pkgdir/usr/lib/sword"
+ mv "$pkgdir"/usr/lib/${pkgver}_icu_* \
+ "$pkgdir/usr/lib/sword/"
+
+ cd "$srcdir/$pkgname-$pkgver/locales.d/"
+ for file in *.conf; do
+ install -Dm644 "$file" \
+ "$pkgdir/usr/share/sword/locales.d/$file"
+ done
+
+ cd ../include
+ install -d "$pkgdir/usr/include/sword"
+ install -Dm644 canon_{catholic{,2},synodalp}.h \
+ "$pkgdir/usr/include/sword"
+
+ cd ../samples
+ install -Dm644 mods.d/globals.conf \
+ "$pkgdir/usr/share/sword/mods.d/globals.conf"
+ install -Dm644 recommended/sword.conf \
+ "$pkgdir/etc/sword.conf"
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/sword/curl.patch b/pcr/sword/curl.patch
new file mode 100644
index 000000000..63fd4433c
--- /dev/null
+++ b/pcr/sword/curl.patch
@@ -0,0 +1,22 @@
+diff -Naur sword-1.6.2.orig/src/mgr/curlftpt.cpp sword-1.6.2.new/src/mgr/curlftpt.cpp
+--- sword-1.6.2.orig/src/mgr/curlftpt.cpp 2011-07-27 00:41:40.000000000 +0200
++++ sword-1.6.2.new/src/mgr/curlftpt.cpp 2011-07-27 00:42:05.000000000 +0200
+@@ -26,7 +26,6 @@
+ #include <fcntl.h>
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ #include <swlog.h>
+diff -Naur sword-1.6.2.orig/src/mgr/curlhttpt.cpp sword-1.6.2.new/src/mgr/curlhttpt.cpp
+--- sword-1.6.2.orig/src/mgr/curlhttpt.cpp 2011-07-27 00:41:40.000000000 +0200
++++ sword-1.6.2.new/src/mgr/curlhttpt.cpp 2011-07-27 00:42:45.000000000 +0200
+@@ -25,7 +25,6 @@
+ #include <cctype>
+
+ #include <curl/curl.h>
+-#include <curl/types.h>
+ #include <curl/easy.h>
+
+ #include <swlog.h>
diff --git a/pcr/sword/multimap.patch b/pcr/sword/multimap.patch
new file mode 100644
index 000000000..7957ab2d8
--- /dev/null
+++ b/pcr/sword/multimap.patch
@@ -0,0 +1,39 @@
+--- sword-1.6.2/include/multimapwdef.h 2004-05-04 23:01:39.000000000 +0200
++++ /usr/include/sword/multimapwdef.h 2012-06-02 13:37:47.816457345 +0200
+@@ -7,26 +7,26 @@
+
+ // multmap that still lets you use [] to reference FIRST
+ // entry of a key if multiples exist
+-template <class Key, class T, class Compare>
+-class multimapwithdefault : public std::multimap<Key, T, Compare> {
++template < class Key, class T, class Compare >
++class multimapwithdefault : public std::multimap< Key, T, Compare > {
+ public:
+- typedef std::pair<const Key, T> value_type;
++ typedef std::pair< const Key, T > value_type;
+ T& getWithDefault(const Key& k, const T& defaultValue) {
+- if (find(k) == this->end()) {
+- insert(value_type(k, defaultValue));
++ if (this->find(k) == this->end()) {
++ this->insert(value_type(k, defaultValue));
+ }
+ return (*(find(k))).second;
+ }
+
+ T& operator[](const Key& k) {
+- if (find(k) == this->end()) {
+- insert(value_type(k, T()));
++ if (this->find(k) == this->end()) {
++ this->insert(value_type(k, T()));
+ }
+- return (*(find(k))).second;
++ return (*(this->find(k))).second;
+ }
+ bool has(const Key& k, const T &val) const {
+- typename std::multimap<Key, T, Compare>::const_iterator start = lower_bound(k);
+- typename std::multimap<Key, T, Compare>::const_iterator end = upper_bound(k);
++ typename std::multimap< Key, T, Compare >::const_iterator start = this->lower_bound(k);
++ typename std::multimap< Key, T, Compare >::const_iterator end = this->upper_bound(k);
+ for (; start!=end; start++) {
+ if (start->second == val)
+ return true;
diff --git a/pcr/synthv1/PKGBUILD b/pcr/synthv1/PKGBUILD
index 1a96b84f8..2cce2ef0b 100644
--- a/pcr/synthv1/PKGBUILD
+++ b/pcr/synthv1/PKGBUILD
@@ -1,17 +1,16 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
pkgname=synthv1
-pkgver=0.3.3
+pkgver=0.3.4
pkgrel=1
pkgdesc="An old-school all-digital 4-oscillator subtractive polyphonic synthesizer with stereo fx"
-arch=('i686' 'x86_64')
+arch=(i686 x86_64)
url="http://$pkgname.sourceforge.net/$pkgname-index.html"
license=('GPL')
groups=('lv2-plugins')
-depends=('jack' 'liblo' 'lv2' 'qt4')
+depends=('jack' 'liblo' 'lv2' 'qt4' 'shared-mime-info')
install="$pkgname.install"
source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
-md5sums=('18bd21921ee65b718b2feb1d0ab03ac7')
+md5sums=('63ca2f7961bbc708928d2f792e32d166')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/pcr/synthv1/synthv1.install b/pcr/synthv1/synthv1.install
index 029294d67..ec1a84bbb 100644
--- a/pcr/synthv1/synthv1.install
+++ b/pcr/synthv1/synthv1.install
@@ -1,5 +1,6 @@
post_install() {
xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-mime-database usr/share/mime
update-desktop-database -q
}
diff --git a/pcr/tahoe-lafs/PKGBUILD b/pcr/tahoe-lafs/PKGBUILD
new file mode 100644
index 000000000..8ace70679
--- /dev/null
+++ b/pcr/tahoe-lafs/PKGBUILD
@@ -0,0 +1,30 @@
+# Contributor: Peter Simons <simons@cryp.to>
+# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+pkgname=tahoe-lafs
+pkgver=1.10.0
+pkgrel=1
+pkgdesc="a secure, decentralized, fault-tolerant filesystem"
+arch=('any')
+url='http://tahoe-lafs.org/'
+license=('GPL')
+# net-tools is needed because Tahoe-LAFS uses /sbin/ifconfig
+depends=('net-tools' 'python2' 'python2-zope-interface>=3.6.5'
+ 'twisted' 'python2-pyasn1' 'python2-crypto' 'pycryptopp' 'nevow'
+ 'python2-foolscap' 'python2-simplejson' 'zfec' 'python2-pyopenssl'
+ 'pyutil' 'python2-argparse' 'zbase32' 'python2-mock>=0.8.0')
+source=(nodaemon.patch https://tahoe-lafs.org/source/tahoe-lafs/releases/allmydata-tahoe-$pkgver.tar.bz2)
+sha256sums=('7fb13a50bdca729b9c78f12369e56fccf55594b646bddb270d55c08c83ce3449'
+ '9c5516700fe95fdf8c57eca1e2a7b4aebf2de9a4d327d50afd684ebf833ccfe2')
+
+build(){
+ cd "$srcdir/allmydata-tahoe-$pkgver"
+ patch -p0 < ../nodaemon.patch
+ python2 setup.py build
+ # disabled due to the nodaemon patch and the test_filesystem* tests
+ #python2 setup.py test || return 1
+}
+
+package(){
+ cd "$srcdir/allmydata-tahoe-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+}
diff --git a/pcr/tahoe-lafs/nodaemon.patch b/pcr/tahoe-lafs/nodaemon.patch
new file mode 100644
index 000000000..dfcc0b8ae
--- /dev/null
+++ b/pcr/tahoe-lafs/nodaemon.patch
@@ -0,0 +1,19 @@
+--- src/allmydata/scripts/startstop_node.py 2011-10-30 22:54:34.000000000 +0100
++++ src/allmydata/scripts/startstop_node.py 2011-11-10 15:22:21.432711365 +0100
+@@ -10,6 +10,7 @@
+ optFlags = [
+ ["profile", "p", "Run under the Python profiler, putting results in 'profiling_results.prof'."],
+ ["syslog", None, "Tell the node to log to syslog, not a file."],
++ ["nodaemon", "n", "Do not daemonize."],
+ ]
+
+ def getSynopsis(self):
+@@ -70,6 +71,8 @@
+ args.extend(["--logfile", os.path.join("logs", "twistd.log")])
+ if opts["profile"]:
+ args.extend(["--profile=profiling_results.prof", "--savestats",])
++ if opts["nodaemon"]:
++ args.extend(["--nodaemon", "--umask=0077"])
+ # now we're committed
+ os.chdir(basedir)
+ from twisted.scripts import twistd
diff --git a/pcr/tanglet/PKGBUILD b/pcr/tanglet/PKGBUILD
new file mode 100644
index 000000000..a8114ba62
--- /dev/null
+++ b/pcr/tanglet/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (AUR): Graeme Gott <graeme@gottcode.org>
+# Maintainer: Alon Ivtsan <alonivtsan@lavabit.com>
+# Based on https://aur.archlinux.org/packages.php?ID=32311
+
+pkgname=tanglet
+pkgver=1.2.2
+pkgrel=1
+pkgdesc="A single player word finding game based on Boggle."
+arch=('i686' 'x86_64')
+url="http://gottcode.org/${pkgname}/"
+license=('GPL3')
+depends=('qt5-base')
+install=${pkgname}.install
+source=(http://gottcode.org/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
+md5sums=('584e50d01323c0686ff094195eba4341')
+sha256sums=('c90d5c36b7e6cca54cdc001c7eecfb333795add16e6ae01f100026c61f4a84da')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt5 PREFIX=/usr
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make INSTALL_ROOT="${pkgdir}/" install
+}
+
diff --git a/pcr/tanglet/tanglet.install b/pcr/tanglet/tanglet.install
new file mode 100644
index 000000000..81f2ba659
--- /dev/null
+++ b/pcr/tanglet/tanglet.install
@@ -0,0 +1,11 @@
+post_install() {
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
diff --git a/pcr/textext/LICENSE.txt b/pcr/textext/LICENSE.txt
new file mode 100644
index 000000000..69f5d4720
--- /dev/null
+++ b/pcr/textext/LICENSE.txt
@@ -0,0 +1,28 @@
+Copyright (c) 2007-2008 Pauli Virtanen.
+
+All rights reserved.
+
+Redistribution and use in source and binary forms, with or without
+modification, are permitted provided that the following conditions are met:
+
+ a. Redistributions of source code must retain the above copyright notice,
+ this list of conditions and the following disclaimer.
+ b. Redistributions in binary form must reproduce the above copyright
+ notice, this list of conditions and the following disclaimer in the
+ documentation and/or other materials provided with the distribution.
+ c. Neither the name of the copyright holder nor the names of the contributors
+ may be used to endorse or promote products derived from this software
+ without specific prior written permission.
+
+
+THIS SOFTWARE IS PROVIDED BY THE COPYRIGHT HOLDERS AND CONTRIBUTORS
+"AS IS" AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT
+LIMITED TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR
+A PARTICULAR PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE COPYRIGHT
+HOLDER OR CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
+SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT
+LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES; LOSS OF USE,
+DATA, OR PROFITS; OR BUSINESS INTERRUPTION) HOWEVER CAUSED AND ON ANY
+THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT LIABILITY, OR TORT
+(INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE
+OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
diff --git a/pcr/textext/PKGBUILD b/pcr/textext/PKGBUILD
new file mode 100644
index 000000000..8a1897dc4
--- /dev/null
+++ b/pcr/textext/PKGBUILD
@@ -0,0 +1,22 @@
+# Contributor: Joel Schaerer <joel.schaerer@laposte.net>
+# Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
+pkgname=textext
+pkgver=0.4.4
+pkgrel=3
+pkgdesc="An inkscape extension which lets you add LaTeX equations to your drawings"
+arch=('i686' 'x86_64')
+license=('BSD')
+url="http://pav.iki.fi/software/textext/"
+depends=('inkscape' 'texlive-core' 'python2-lxml' 'pdf2svg')
+source=(http://pav.iki.fi/software/textext/$pkgname-$pkgver.tar.gz LICENSE.txt)
+md5sums=('5dbb18bf762565196f8ac1f68f8607e3'
+ '91da7de463147c1c78b1c2e6f24da380')
+build() {
+ cd "$srcdir"
+ install -Dm 644 LICENSE.txt \
+ "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE.txt"
+ install -Dm 755 textext.py \
+ "${pkgdir}/usr/share/inkscape/extensions/textext.py"
+ install -Dm 644 textext.inx \
+ "${pkgdir}/usr/share/inkscape/extensions/textext.inx"
+ }
diff --git a/pcr/timer_entropyd/PKGBUILD b/pcr/timer_entropyd/PKGBUILD
new file mode 100644
index 000000000..4d5f4437e
--- /dev/null
+++ b/pcr/timer_entropyd/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: fauno <fauno@parabola.nu>
+pkgname=timer_entropyd
+pkgver=0.2
+pkgrel=1
+pkgdesc="Feeds the /dev/random device with entropy-data (random values) read from timers."
+arch=('i686')
+url="http://www.vanheusden.com/te/"
+license=('GPL2')
+groups=('entropy')
+source=(http://www.vanheusden.com/te/${pkgname}-${pkgver}.tgz
+ ${pkgname}.service)
+sha1sums=('61b82128bf4df483271a475a0cc772a7fd80a804'
+ '96ff193aef61088759cf9d9c9d0e881fd1174824')
+sha256sums=('0cf2b976b78c1b1169a4bec5a6fc71d8b118de927bc05002686376a61f73989a'
+ 'a22d33d99ab7c511902a37225e83476466840bd4c0ee3ffece1e4094511414de')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -D -m 644 ${srcdir}/${pkgname}.service \
+ ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
+}
diff --git a/pcr/timer_entropyd/timer_entropyd.service b/pcr/timer_entropyd/timer_entropyd.service
new file mode 100644
index 000000000..0bea7398b
--- /dev/null
+++ b/pcr/timer_entropyd/timer_entropyd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Gathering entropy from system timers
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/timer_entropyd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/tinc-pre/PKGBUILD b/pcr/tinc-pre/PKGBUILD
new file mode 100644
index 000000000..ebbd4cc3f
--- /dev/null
+++ b/pcr/tinc-pre/PKGBUILD
@@ -0,0 +1,42 @@
+pkgname=tinc-pre
+pkgver=1.1pre7
+pkgrel=2
+pkgdesc="VPN (Virtual Private Network) daemon (Pre-release)"
+arch=(i686 x86_64)
+url="http://www.tinc-vpn.org/"
+license=('GPL')
+depends=('lzo2' 'zlib' 'openssl')
+optdepends=('wxpython: gui support')
+provides=('tinc-pre')
+conflicts=('tinc')
+source=(http://www.tinc-vpn.org/packages/tinc-$pkgver.tar.gz{,.sig}
+ tincd@.service)
+
+build() {
+ cd "$srcdir/tinc-$pkgver"
+ ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --sbindir=/usr/bin
+ make
+}
+
+package() {
+ cd "$srcdir/tinc-$pkgver"
+
+ make DESTDIR="$pkgdir" install
+
+ install -dm755 "$pkgdir"/usr/share/tinc/examples
+ tar xozvf doc/sample-config.tar.gz -C $pkgdir/usr/share/tinc/examples
+ find "$pkgdir"/usr/share/tinc/examples -type f -exec chmod 644 {} +
+ find "$pkgdir"/usr/share/tinc/examples -type d -exec chmod 755 {} +
+
+ install -Dm644 "$srcdir/tincd@.service" \
+ "$pkgdir/usr/lib/systemd/system/tincd@.service"
+
+ sed -e 's,#!/usr/bin/python,#!/usr/bin/python2,' \
+ -i $pkgdir/usr/bin/tinc-gui
+}
+sha1sums=('62a014356864c3a5204edd6e934f3ee575760cfc'
+ 'SKIP'
+ '6ab485732bb6c59e7e0e162f22251a0f554ec69c')
+sha256sums=('ff330627ad0d6ce1233408bb75b11d7506be13eb0c802ff1657866d97545074b'
+ 'SKIP'
+ '43d086b76e2a6ff6d91a2ace2d6d048fc7109fefecd5047ab6c437ba0e9252ed')
diff --git a/pcr/tinc-pre/tincd@.service b/pcr/tinc-pre/tincd@.service
new file mode 100644
index 000000000..069bf4570
--- /dev/null
+++ b/pcr/tinc-pre/tincd@.service
@@ -0,0 +1,10 @@
+[Unit]
+Description=Tinc daemon for net %i
+After=network.target
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/tincd -n %i
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/tomb/PKGBUILD b/pcr/tomb/PKGBUILD
new file mode 100644
index 000000000..66945cb41
--- /dev/null
+++ b/pcr/tomb/PKGBUILD
@@ -0,0 +1,53 @@
+## PKGBUILD [bash]
+# Maintainer: nignux <nignux@freaknet.org>
+
+pkgbase=tomb
+pkgname=(tomb python2-tomb tomb-gui)
+pkgver=1.4
+pkgrel=1
+pkgdesc="Crypto Undertaker, simple tool to manage encrypted storage"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://www.dyne.org/software/tomb/"
+license=('GPL3')
+depends=('bc' 'cryptsetup' 'gnupg' 'sudo' 'zsh' 'steghide'
+ 'dcfldd' 'wipe')
+makedepends=('python2-pyqt' 'python2-distribute')
+install=${pkgname}.install
+source=(https://files.dyne.org/tomb/releases/Tomb-${pkgver}.tar.gz{,.sha{,.asc}})
+# The first hash comes from the .sha file
+sha256sums=('2621ac6b9180321e69743dc899645449b2b958c6aa46e4b2601c2e89131bbf29'
+ 'fc8b168f991d5b9c1135ceec6e55ac94f494ac4bed7e104e14c7f9ee787591e5'
+ 'SKIP')
+
+build() {
+ cd ${srcdir}/Tomb-${pkgver}/extras/qt
+
+ python2 setup.py build_ui
+}
+
+# The checks require root access
+#check() {
+# cd ${srcdir}/Tomb-${pkgver}
+# make test
+#}
+
+package_tomb() {
+ pkgdesc="Crypto Undertaker, simple tool to manage encrypted storage, from the hashes of the dyne:bolic nesting mechanism."
+ cd ${srcdir}/Tomb-${pkgver}
+ make DESTDIR=${pkgdir} install
+}
+
+package_python2-tomb() {
+ pkgdesc="Crypto Undertaker library"
+
+ cd ${srcdir}/Tomb-${pkgver}/extras/pytomb
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
+
+package_tomb-gui() {
+ pkgdesc="Crypto Undertaker GUI for open and create tombs"
+ depends=('python2-tomb' 'python2-pyqt')
+
+ cd ${srcdir}/Tomb-${pkgver}/extras/qt
+ python2 setup.py install --root="${pkgdir}/" --optimize=1
+}
diff --git a/pcr/tomb/tomb.install b/pcr/tomb/tomb.install
new file mode 100644
index 000000000..c1ee8b339
--- /dev/null
+++ b/pcr/tomb/tomb.install
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}
+
diff --git a/pcr/torque/PKGBUILD b/pcr/torque/PKGBUILD
index 5f469fa5f..850aa3b7d 100644
--- a/pcr/torque/PKGBUILD
+++ b/pcr/torque/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=torque
pkgver=4.2.2
diff --git a/pcr/transmission-remote-cli/PKGBUILD b/pcr/transmission-remote-cli/PKGBUILD
index 5e3699bce..dcabaa642 100644
--- a/pcr/transmission-remote-cli/PKGBUILD
+++ b/pcr/transmission-remote-cli/PKGBUILD
@@ -1,29 +1,25 @@
# Maintainer: fauno <fauno@kiwwwi.com.ar>
pkgname=transmission-remote-cli
-pkgver=0.10.4
+pkgver=1.5.0
pkgrel=1
pkgdesc="Curses interface for the daemon of the BitTorrent client Transmission"
arch=('any')
url="https://github.com/fagga/transmission-remote-cli"
license=('GPL3')
depends=('python2')
-optdepends=('transmission-daemon>=2.40: for local transmission management'
+optdepends=('transmission-daemon: for local transmission management'
'adns-python: Resolve IPs to host names'
- 'python-geoip: Guess which country peers come from')
+ 'python2-geoip: Guess which country peers come from')
conflicts=('transmission-remote-cli-git' "transmission-remote-cli<=20111013")
replaces=('transmission-remote-cli-git')
-source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}-${pkgrel}-any.src.tar.xz
- python2.patch)
+source=(https://github.com/fagga/${pkgname}/archive/v${pkgver}.tar.gz)
-build() {
+package() {
cd "${srcdir}/${pkgname}"
msg "Starting make..."
- patch -Np1 -i ${srcdir}/python2.patch
-
install -d ${pkgdir}/usr/bin/
install -Dm755 transmission-remote-cli.py ${pkgdir}/usr/bin/transmission-remote-cli
}
-md5sums=('b85382bc2e24c5733f9c3833098da668'
- '6273609fb3a7294328aeaa526b76411c')
+md5sums=('4c13aa8596d35ce5793ea65affa8a6e5')
diff --git a/pcr/triceratops-lv2/PKGBUILD b/pcr/triceratops-lv2/PKGBUILD
index ff02793aa..db8b7b101 100644
--- a/pcr/triceratops-lv2/PKGBUILD
+++ b/pcr/triceratops-lv2/PKGBUILD
@@ -1,16 +1,17 @@
# Maintainer: Guest One <theguestone at gmail dot com>
pkgname=triceratops-lv2
-pkgver=0.1.6c
+pkgver=0.1.7
pkgrel=1
pkgdesc="Polyphonic synthesizer LV2 plugin"
-arch=('i686')
-url="http://sourceforge.net/projects/triceratops/"
+arch=('i686' 'x86_64')
+url="http://deliriumdecrypted.blogspot.com/"
license=('GPL')
+groups=('lv2-plugins')
depends=('gtkmm' 'lv2')
makedepends=('python2')
source=("http://downloads.sourceforge.net/project/${pkgname/-lv2}/$pkgname-v$pkgver.tar.gz")
-md5sums=('7a0755876c4d3af6f1b4cac899679472')
+md5sums=('b4f058c30b3b218bd21dbaa04430dd8b')
build() {
cd "$srcdir/$pkgname-v$pkgver"
diff --git a/pcr/trytond-account-invoice/PKGBUILD b/pcr/trytond-account-invoice/PKGBUILD
index 1f2574548..5488733bf 100644
--- a/pcr/trytond-account-invoice/PKGBUILD
+++ b/pcr/trytond-account-invoice/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-account-invoice
_pkgname=trytond_account_invoice
-pkgver=2.6.3
-_pkgdir=2.6
+pkgver=2.8.1
+_pkgdir=2.8
pkgrel=1
pkgdesc="The account_invoice module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-account>=2.6' 'trytond-company>=2.6' 'trytond-party>=2.6' 'trytond-product>=2.6' 'trytond-currency>=2.6' 'trytond-account-product>=2.6')
+depends=('trytond>=2.8' 'trytond-account>=2.8' 'trytond-account-product>=2.8' 'trytond-company>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8' 'trytond-product>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("a93b71985bbcb70499019429a3dc4e25")
+md5sums=("0f61e65c235f5b09df1be72851a4f0d4")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-account-product/PKGBUILD b/pcr/trytond-account-product/PKGBUILD
index b8ec822c6..14c5a1ea8 100644
--- a/pcr/trytond-account-product/PKGBUILD
+++ b/pcr/trytond-account-product/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-account-product
_pkgname=trytond_account_product
-pkgver=2.6.0
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The account_product module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-account>=2.6' 'trytond-company>=2.6' 'trytond-product>=2.6')
+depends=('trytond>=2.8' 'trytond-account>=2.8' 'trytond-company>=2.8' 'trytond-product>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("7c4ebba0419c62addeb7417c57a84125")
+md5sums=("431a2bdb15e8f84af7de42e571f1c4e5")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-account/PKGBUILD b/pcr/trytond-account/PKGBUILD
index b4c2affb0..9bb9022e5 100644
--- a/pcr/trytond-account/PKGBUILD
+++ b/pcr/trytond-account/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-account
_pkgname=trytond_account
-pkgver=2.6.3
-_pkgdir=2.6
+pkgver=2.8.1
+_pkgdir=2.8
pkgrel=1
pkgdesc="The account module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-company>=2.6' 'trytond-party>=2.6' 'trytond-currency>=2.6')
+depends=('trytond>=2.8' 'trytond-company>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("872c05b5be3d6737575137d827234cfb")
+md5sums=("2cdb5b5e8a3984315d410b550b7ffc1b")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-calendar/PKGBUILD b/pcr/trytond-calendar/PKGBUILD
index db8756171..aa9341c94 100644
--- a/pcr/trytond-calendar/PKGBUILD
+++ b/pcr/trytond-calendar/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-calendar
_pkgname=trytond_calendar
-pkgver=2.6.1
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The calendar module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6')
+depends=('trytond>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("a6612776bf735eb9c68e2a5b3aa8ce83")
+md5sums=("0ea2e2c2d31b44e0072591a42cf63b1a")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-company/PKGBUILD b/pcr/trytond-company/PKGBUILD
index da9e2b27f..548c46f38 100644
--- a/pcr/trytond-company/PKGBUILD
+++ b/pcr/trytond-company/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-company
_pkgname=trytond_company
-pkgver=2.6.1
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The company module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-party>=2.6' 'trytond-currency>=2.6')
+depends=('trytond>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("7f5ad0dab46f3c62c7f03ea5d48684f9")
+md5sums=("6fc6ef3ec24cbe4a486f7b492e67268f")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-country/PKGBUILD b/pcr/trytond-country/PKGBUILD
index 17c06dc33..fa0070eee 100644
--- a/pcr/trytond-country/PKGBUILD
+++ b/pcr/trytond-country/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-country
_pkgname=trytond_country
-pkgver=2.6.0
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The country module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6')
+depends=('trytond>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("867338ac91e0130e3b7427e8af9a6c6d")
+md5sums=("b4947b2ab766e7ef2626ed105d9422e8")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-currency/PKGBUILD b/pcr/trytond-currency/PKGBUILD
index 9a21153c0..02dd63565 100644
--- a/pcr/trytond-currency/PKGBUILD
+++ b/pcr/trytond-currency/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-currency
_pkgname=trytond_currency
-pkgver=2.6.1
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The currency module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6')
+depends=('trytond>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("c38869231a22dd0c80a595c523491412")
+md5sums=("10d98fbf34c90f5d1544f3d28170eefc")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-party/PKGBUILD b/pcr/trytond-party/PKGBUILD
index 1f3b35c6e..0854e8193 100644
--- a/pcr/trytond-party/PKGBUILD
+++ b/pcr/trytond-party/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-party
_pkgname=trytond_party
-pkgver=2.6.0
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The party module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-country>=2.6')
+depends=('trytond>=2.8' 'trytond-country>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("82fc07ffd9bcedc28f5526fe5c6228e6")
+md5sums=("2fbf811a9d82f68889dc0350441423d4")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-product/PKGBUILD b/pcr/trytond-product/PKGBUILD
index de158f436..6271f4ef5 100644
--- a/pcr/trytond-product/PKGBUILD
+++ b/pcr/trytond-product/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-product
_pkgname=trytond_product
-pkgver=2.6.0
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The product module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6')
+depends=('trytond>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("84cbc997b557cbf46d74a5958d8ec0a5")
+md5sums=("67cf95a0d68e47365bbdef02b344a5a8")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-stock-lot/PKGBUILD b/pcr/trytond-stock-lot/PKGBUILD
index 01cd34681..4d88cd382 100644
--- a/pcr/trytond-stock-lot/PKGBUILD
+++ b/pcr/trytond-stock-lot/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-stock-lot
_pkgname=trytond_stock_lot
-pkgver=2.6.0
-_pkgdir=2.6
+pkgver=2.8.0
+_pkgdir=2.8
pkgrel=1
pkgdesc="The stock_lot module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-product>=2.6' 'trytond-stock>=2.6')
+depends=('trytond>=2.8' 'trytond-product>=2.8' 'trytond-stock>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("4ca52557e691488e566c7eab3aa0ce5d")
+md5sums=("a4c3379462de7c7af8bb342aedff6360")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond-stock/PKGBUILD b/pcr/trytond-stock/PKGBUILD
index 453f931fe..9906ed675 100644
--- a/pcr/trytond-stock/PKGBUILD
+++ b/pcr/trytond-stock/PKGBUILD
@@ -1,18 +1,19 @@
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond-stock
_pkgname=trytond_stock
-pkgver=2.6.1
-_pkgdir=2.6
+pkgver=2.8.1
+_pkgdir=2.8
pkgrel=1
pkgdesc="The stock module of the Tryton application platform"
arch=('any')
url='http://www.tryton.org/'
license=('GPL3')
groups=('trytond-modules')
-depends=('trytond>=2.6' 'trytond-party>=2.6' 'trytond-product>=2.6' 'trytond-company>=2.6' 'trytond-currency>=2.6')
+depends=('trytond>=2.8' 'trytond-company>=2.8' 'trytond-currency>=2.8' 'trytond-party>=2.8' 'trytond-product>=2.8')
makedepends=('python2-distribute')
source=("http://downloads.tryton.org/$_pkgdir/$_pkgname-$pkgver.tar.gz")
-md5sums=("fd303fc990f9a26de60e0928693461e2")
+md5sums=("5b28b2ec424a0915578d420d0479bd49")
package() {
cd $srcdir/$_pkgname-$pkgver
diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD
index a34a8890f..8a39f898a 100644
--- a/pcr/trytond/PKGBUILD
+++ b/pcr/trytond/PKGBUILD
@@ -1,15 +1,16 @@
# Contributor: Florian Walch <florian.walch@gmx.at>
# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
pkgname=trytond
-pkgver=2.6.3
-_pkgdir=2.6
-pkgrel=2
+pkgver=2.8.1
+_pkgdir=2.8
+pkgrel=1
pkgdesc="A three-tiers high-level general purpose application platform (server application)"
arch=('any')
url="http://www.tryton.org/"
license=('GPL3')
-depends=('python2>=2.7' 'python-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=183' 'python2-genshi>=0.6' 'python2-polib')
-optdepends=('python-psycopg2: support for PostgreSQL database'
+depends=('python2>=2.7' 'python2-lxml' 'python2-relatorio>=0.5.6' 'python2-genshi>=0.7' 'python2-polib')
+optdepends=('python2-psycopg2: support for PostgreSQL database'
'python-pywebdav: support for WebDAV feature'
'pydot: support for displaying workflow graphs'
'python-pytz: timezone support'
@@ -19,7 +20,7 @@ install="trytond.install"
source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz"
'trytond.install'
'trytond.service')
-md5sums=('0dd81769fc18fe2d20e83de4f17cb10d'
+md5sums=('622094022c570d3a0c9aa9e786542d55'
'768e68c01cb5913e36ea89c67fc98038'
'b1535a8528dfd8f655624bf6faea6985')
diff --git a/pcr/ttf-asana-math/PKGBUILD b/pcr/ttf-asana-math/PKGBUILD
new file mode 100644
index 000000000..b8bd85dcc
--- /dev/null
+++ b/pcr/ttf-asana-math/PKGBUILD
@@ -0,0 +1,30 @@
+# Maintainer (Arch): GordonGR <gordongr@freemail.gr>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# taken from https://aur.archlinux.org/packages/ttf-asana-math/
+
+pkgname=ttf-asana-math
+pkgver=000.949
+pkgrel=1
+license=('Custom: OFL')
+depends=('fontconfig' 'xorg-font-utils')
+pkgdesc="A font to typeset maths in Xe(La)TeX and Lua(La)TeX by Apostolos Syropoulos"
+arch=('any')
+url="http://www.ctan.org/pkg/asana-math"
+source=("ftp://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/fonts/Asana-Math/Asana-Math.otf"
+"ftp://ftp.rrzn.uni-hannover.de/pub/mirror/tex-archive/fonts/Asana-Math/Asana-Math.ttf"
+"http://scripts.sil.org/cms/scripts/render_download.php?&format=file&media_id=OFL_plaintext&filename=OFL.txt")
+md5sums=('d9f9faa296a12a14354d9e83c90f167b'
+ 'd7a05892aeed8bbe4b410bf845ce9882'
+ '6ed93967ff0dc6dd9c8d31c17f817a06')
+install=$pkgname.install
+
+build()
+{
+ mkdir -p $pkgdir/usr/share/fonts/TTF
+ mkdir -p $pkgdir/usr/share/fonts/OTF
+ cp *.ttf $pkgdir/usr/share/fonts/TTF
+ cp *.otf $pkgdir/usr/share/fonts/OTF
+ mkdir -p $pkgdir/usr/share/licenses/custom/ttf-asana-math/
+ mv 'render_download.php?&format=file&media_id=OFL_plaintext&filename=OFL.txt' LICENSE
+ cp LICENSE $pkgdir/usr/share/licenses/custom/ttf-asana-math/
+}
diff --git a/pcr/ttf-asana-math/ttf-asana-math.install b/pcr/ttf-asana-math/ttf-asana-math.install
new file mode 100644
index 000000000..506595662
--- /dev/null
+++ b/pcr/ttf-asana-math/ttf-asana-math.install
@@ -0,0 +1,11 @@
+ post_install() {
+ echo -n "Updating font cache... "
+ fc-cache -fs >/dev/null
+ mkfontscale /usr/share/fonts/TTF /usr/share/fonts/Type1
+ mkfontdir /usr/share/fonts/TTF /usr/share/fonts/Type1
+ echo "done"
+}
+
+post_upgrade() {
+ post_install
+} \ No newline at end of file
diff --git a/pcr/video_entropyd/PKGBUILD b/pcr/video_entropyd/PKGBUILD
new file mode 100644
index 000000000..e096aabdd
--- /dev/null
+++ b/pcr/video_entropyd/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer: fauno <fauno@parabola.nu>
+pkgname=video_entropyd
+pkgver=2.0
+pkgrel=1
+pkgdesc="Feeds the /dev/random device with entropy-data read from a video device"
+arch=('i686')
+url="http://vanheusden.com/ved/"
+license=('GPL2')
+groups=('entropy')
+source=(http://www.vanheusden.com/ved/${pkgname}-${pkgver}.tgz
+ ${pkgname}.service)
+sha1sums=('9d566bce8d0f0fa4e8be24b481ffdba0d0c70406'
+ '30cfb694ee886e36ab97329d575a8b9437a30bb2')
+sha256sums=('aba6255ddb32cd376c785128a7e850fb51b6c1d7fe3f4ba765abc0c50ec67d7a'
+ 'b6988df79823a29ab04bfa0fe6d8f2e14f3176398eb220fa1248c6728e8be27f')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+
+ install -D -m 755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}
+ install -D -m 644 ${srcdir}/${pkgname}.service \
+ ${pkgdir}/usr/lib/systemd/system/${pkgname}.service
+}
diff --git a/pcr/video_entropyd/video_entropyd.service b/pcr/video_entropyd/video_entropyd.service
new file mode 100644
index 000000000..1dfef410a
--- /dev/null
+++ b/pcr/video_entropyd/video_entropyd.service
@@ -0,0 +1,9 @@
+[Unit]
+Description=Gathering entropy from video
+
+[Service]
+Type=forking
+ExecStart=/usr/bin/video_entropyd
+
+[Install]
+WantedBy=multi-user.target
diff --git a/pcr/xcftools/PKGBUILD b/pcr/xcftools/PKGBUILD
index 979453d24..414149f85 100644
--- a/pcr/xcftools/PKGBUILD
+++ b/pcr/xcftools/PKGBUILD
@@ -2,7 +2,7 @@
# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
pkgname=xcftools
pkgver=1.0.7
-pkgrel=1
+pkgrel=2
pkgdesc="Miscellaneous command line tools for use with the open ${pkgname::3} format used by The GIMP."
url=http://henning.makholm.net/software
arch=(
diff --git a/pcr/xf86-input-wizardpen/PKGBUILD b/pcr/xf86-input-wizardpen/PKGBUILD
index 4b40ebea2..dfad17f34 100644
--- a/pcr/xf86-input-wizardpen/PKGBUILD
+++ b/pcr/xf86-input-wizardpen/PKGBUILD
@@ -1,4 +1,4 @@
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
+# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=xf86-input-wizardpen
_pkgname=${pkgname:11}
diff --git a/pcr/yafaray-git/PKGBUILD b/pcr/yafaray-git/PKGBUILD
deleted file mode 100644
index 1d4b3436c..000000000
--- a/pcr/yafaray-git/PKGBUILD
+++ /dev/null
@@ -1,109 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=(
- yafaray-git
- blender-addon-yafaray-git
-)
-_pkgflag=git
-_pkgname=${pkgname[0]%-$_pkgflag}
-_bldname=${pkgname[1]::7}
-_gitname=Core
-_addname=${_bldname^}-Exporter
-pkgver=$(LC_ALL=C date -u +%Y%m%d)
-_pkgver=1.2
-_bldver=2.66
-_bldep=7
-_pyver=3.3
-pkgrel=1
-pkgdesc='A libre software raytracing engine'
-arch=(
- i686
- x86_64
- mips64el
-)
-url="http://www.$_pkgname.org"
-license=LGPL2.1
-depends=(
- freetype2
- libjpeg
- libxml2
- 'openexr=2.0.0'
-)
-optdepends=(
- 'python: Python bindings'
- 'qt4: QT GUI'
- "${pkgname[1]}: ${_bldname^} addon renderer"
-)
-makedepends=(
- cmake
- git
- python
- qt4
- swig
-)
-provides=($_pkgname=$_pkgver)
-conflicts=$_pkgname
-source=(
- git://github.com/YafaRay/$_gitname.$_pkgflag
- git://github.com/YafaRay/$_addname.$_pkgflag
-)
-sha512sums=(SKIP SKIP)
-
-prepare() {
- cd $srcdir/$_gitname
-
- [[ -d build ]] && rm -r build
- mkdir build
-}
-
-build() {
- cd $srcdir/$_gitname/build
-
- setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
- -DYAF_PY_VERSION=$_pyver\
- -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver
-
- setarch $CARCH make
-}
-
-package_yafaray-git() {
- cd $srcdir/$_gitname/build
- setarch $CARCH make DESTDIR=$pkgdir install
-}
-
-package_blender-addon-yafaray-git() {
- pkgver=$pkgver.v$_bldver
- pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname-libre package)"
- arch=any
- depends=(
- ${pkgname:14}=${pkgver%.v$_bldver}
- "$_bldname>=$(($_bldep-1)):$_bldver"
- "$_bldname<$_bldep:${_bldver::2}$((${_bldver:2:4}+1))"
- )
- optdepends=''
- provides=(
- ${pkgname%-$_pkgflag}=$_pkgver.v$_bldver
- $_pkgname-$_bldname-exporter=$_pkgver.v$_bldver
- $_pkgname-$_bldname-exporter-$_pkgflag=$pkgver
- )
- conflicts=(
- ${pkgname%-$_pkgflag}
- $_pkgname-$_bldname-exporter
- $_pkgname-$_bldname-exporter-$_pkgflag
- )
- replaces=$_pkgname-$_bldname-exporter-$_pkgflag
-
- cd $srcdir/$_addname
-
- a=/usr/lib
- b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin
-
- git checkout-index -a -f --prefix=${b%bin}
-
- install -d $b
- ln -sf $a/lib${_pkgname}core.so $b/lib${_pkgname}core.so
- ln -sf $a/lib${_pkgname}plugin.so $b/lib${_pkgname}plugin.so
- ln -sf $a/$_pkgname $b/plugins
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD
new file mode 100644
index 000000000..458181279
--- /dev/null
+++ b/pcr/yafaray/PKGBUILD
@@ -0,0 +1,112 @@
+# Maintainer: Márcio Silva <coadde@lavabit.com>
+
+_pkgname=yafaray
+_pkgver=1.5
+_pkgrel=3
+_pkgdate=20130510
+_bldname=blender
+_bldver=2.68
+_bldep=9
+_gitname=Core
+_addname=${_bldname^}-Exporter
+_addrel=1
+_adddate=20130623
+_pyver=3.3
+
+# Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background
+_srcver=44323def5b3866ff601fd401ef2160b80ced8141
+# Sun Jun 23 15:10:57 2013 +0200 - Refine AA changes for SPPM integrator
+_addver=9bcb22e8b8bd9281999ad36c5b22604f671484bb
+
+pkgname=(
+ $_pkgname
+ $_bldname-addon-$_pkgname
+)
+pkgver=$_pkgver.$_pkgdate
+pkgrel=$_pkgrel
+pkgdesc='A free software raytracing engine'
+arch=(
+ mips64el
+ x86_64
+ i686
+)
+url=http://www.$_pkgname.org
+license=LGPL2.1
+depends=(
+ freetype2
+ libjpeg
+ libxml2
+ openexr-libre
+)
+optdepends=(
+ 'python: Python bindings'
+ 'qt4: QT GUI'
+ "${pkgname[1]}: ${_bldname^} addon renderer"
+)
+makedepends=(
+ cmake
+ git
+ python
+ qt4
+ swig
+)
+source=(
+ $_gitname-$_srcver.tar.gz::https://github.com/YafaRay/$_gitname/archive/$_srcver.tar.gz
+ $_addname-$_addver.tar.gz::https://github.com/YafaRay/$_addname/archive/$_addver.tar.gz
+)
+sha512sums=(
+ 5045a3de89e0a2d029e8b6ce962eeadeb5587369217d11d42ca79706a65e6ac7b07584f68307f76c90dbaf190af9626e3351e391107a4e763fc9e41d48cfd7a6
+ 59322686d0623481b38c531e2a8350cafcf8942eb08df2dfcc8f59657715aa716ca34d473f862291e8a375fccdf717d93898caa3e344cfa1a3e5e760c903d32c
+)
+
+prepare() {
+ cd $srcdir/$_gitname-$_srcver
+
+ msg 'Renaming addon dir'
+ mv -v $srcdir/$_addname-$_addver $srcdir/$_pkgname
+
+ msg 'renaming wrong OS name'
+ sed -i 's|Linux|GNU/Linux|
+ ' $srcdir/$_pkgname/prop/yaf_scene.py
+
+ [[ -d build ]] && rm -vr build
+ mkdir -v build
+}
+
+build() {
+ cd $srcdir/$_gitname-$_srcver/build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
+ -DYAF_PY_VERSION=$_pyver\
+ -DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver
+ make
+}
+
+package_yafaray() {
+ cd $srcdir/$_gitname-$_srcver/build
+ make DESTDIR=$pkgdir install
+}
+
+package_blender-addon-yafaray() {
+ pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname-libre package)"
+ arch=any
+ depends=(
+ $_pkgname=$pkgver
+ "$_bldname-libre>=$_bldep:$_bldver"
+ "$_bldname-libre<$(($_bldep+1)):${_bldver::2}$((${_bldver:2:4}+1))"
+ )
+ pkgver=$_pkgver.$_adddate.v$_bldver
+ pkgrel=$_addrel
+ optdepends=
+
+ cd $srcdir
+
+ a=/usr/lib
+ b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin
+
+ install -vd $b && cp -a $_pkgname ${b%$_pkgname/bin}
+ ln -vsf $a/lib${_pkgname}core.so $b/lib${_pkgname}core.so
+ ln -vsf $a/lib${_pkgname}plugin.so $b/lib${_pkgname}plugin.so
+ ln -vsf $a/$_pkgname $b/plugins
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/youtube-dl-current/PKGBUILD b/pcr/youtube-dl-current/PKGBUILD
new file mode 100644
index 000000000..1f7b10296
--- /dev/null
+++ b/pcr/youtube-dl-current/PKGBUILD
@@ -0,0 +1,32 @@
+# Maintainer: Eric BĂ©langer <eric@archlinux.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# Based on https://www.archlinux.org/packages/community/any/youtube-dl/
+
+pkgname=youtube-dl-current
+_pkgname=youtube-dl
+provides=(youtube-dl)
+pkgver=2013.09.20.1
+pkgrel=1
+pkgdesc="A small command-line program to download videos from YouTube.com and a few more sites"
+arch=('any')
+url="http://rg3.github.io/youtube-dl/"
+license=('custom')
+depends=('python')
+makedepends=('python-distribute')
+source=(http://youtube-dl.org/downloads/${pkgver}/${_pkgname}-${pkgver}.tar.gz{,.sig})
+
+prepare() {
+ cd ${_pkgname}
+ sed -i 's|etc/bash_completion.d|share/bash-completion/completions|' setup.py
+}
+
+package() {
+ cd ${_pkgname}
+ python setup.py install --root="${pkgdir}/" --optimize=1
+ mv "${pkgdir}/usr/share/bash-completion/completions/youtube-dl.bash-completion" \
+ "${pkgdir}/usr/share/bash-completion/completions/youtube-dl"
+ install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${_pkgname}/LICENSE"
+}
+
+md5sums=('ee26e1e7558bd5f411aae9b1bf9e7e47'
+ 'SKIP')
diff --git a/pcr/zbar/PKGBUILD b/pcr/zbar/PKGBUILD
new file mode 100644
index 000000000..199fc2bb8
--- /dev/null
+++ b/pcr/zbar/PKGBUILD
@@ -0,0 +1,40 @@
+# Maintainer: Marti Raudsepp <marti@juffo.org>
+# Contributor: Radu Andries <admiral0@tuxfamily.org>
+# Contributor: Andy Weidenbaum <archbaum@gmail.com>
+
+pkgname=zbar
+pkgver=0.10
+pkgrel=3
+pkgdesc="Application and library for reading bar codes from various sources"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://zbar.sourceforge.net/"
+license=('LGPL')
+depends=('imagemagick' 'libxv')
+makedepends=('gtk2' 'qt4' 'pygtk' 'v4l-utils')
+source=("http://downloads.sourceforge.net/project/zbar/zbar/$pkgver/zbar-$pkgver.tar.bz2"
+ v4l1.patch)
+optdepends=('pygtk: python2 widget'
+ 'gtk2: gtk2 widget'
+ 'qt4: qt4 widget')
+
+prepare() {
+ cd "$srcdir/zbar-$pkgver"
+ patch -p1 < ${srcdir}/v4l1.patch
+}
+
+build() {
+ cd "$srcdir/zbar-$pkgver"
+
+ ./configure --prefix=/usr CFLAGS="$CFLAGS -DNDEBUG"
+
+ make
+}
+
+package() {
+ cd "$srcdir/zbar-$pkgver"
+ make DESTDIR="$pkgdir" install
+}
+
+# vim:set ts=2 sw=2 et:
+md5sums=('0fd61eb590ac1bab62a77913c8b086a5'
+ '284f11ca2a5e009744c4a1b9e92d6953')
diff --git a/pcr/zbar/v4l1.patch b/pcr/zbar/v4l1.patch
new file mode 100644
index 000000000..150b0e695
--- /dev/null
+++ b/pcr/zbar/v4l1.patch
@@ -0,0 +1,24 @@
+Thanks to Andy Weidenbaum <archbaum@gmail.com> for providing this patch!
+
+--- ./zbar/video/v4l1.c 2013-03-06 23:24:22.996336417 -0800
++++ ./zbar/video/v4l1.c 2013-03-06 23:29:29.789662369 -0800
+@@ -41,7 +41,7 @@
+ #ifdef HAVE_SYS_MMAN_H
+ # include <sys/mman.h>
+ #endif
+-#include <linux/videodev.h>
++#include <libv4l1-videodev.h>
+
+ #include "video.h"
+ #include "image.h"
+--- ./configure 2009-10-23 11:17:24.000000000 -0700
++++ ./configure 2013-03-06 23:47:33.902966990 -0800
+@@ -18709,7 +18709,7 @@
+ if test "x$enable_video" != "xno"; then
+ if test "x$win32" = "xno"; then
+
+-for ac_header in linux/videodev.h
++for ac_header in libv4l1-videodev.h
+ do
+ as_ac_Header=`$as_echo "ac_cv_header_$ac_header" | $as_tr_sh`
+ if { as_var=$as_ac_Header; eval "test \"\${$as_var+set}\" = set"; }; then
diff --git a/pcr/zbase32/PKGBUILD b/pcr/zbase32/PKGBUILD
new file mode 100644
index 000000000..b4373abb8
--- /dev/null
+++ b/pcr/zbase32/PKGBUILD
@@ -0,0 +1,25 @@
+# Contributor: Peter Simons <simons@cryp.to>
+# Contributor: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+pkgname=zbase32
+pkgver=1.1.5
+pkgrel=1
+pkgdesc="alternate base32 encoder (not RFC 3548 compliant)"
+arch=('i686' 'x86_64')
+url='http://pypi.python.org/pypi/zbase32'
+license=('BSD')
+depends=('python2')
+makedepends=('setuptools' 'darcsver' 'setuptools_darcs' 'pyutil')
+source=( http://pypi.python.org/packages/source/z/zbase32/zbase32-$pkgver.tar.gz )
+md5sums=('4dba0be4ac6d66968de8e5173f51d65d')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+ python2 setup.py test
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+ install -Dm644 PKG-INFO* $pkgdir/usr/share/licenses/$pkgname/LICENSE
+}
diff --git a/pcr/zfec/PKGBUILD b/pcr/zfec/PKGBUILD
new file mode 100644
index 000000000..0c2487c6b
--- /dev/null
+++ b/pcr/zfec/PKGBUILD
@@ -0,0 +1,26 @@
+# Maintainer: Nicolas Pouillard <nicolas.pouillard@gmail.com>
+# Contributor: Peter Simons <simons@cryp.to>
+pkgname=zfec
+pkgver=1.4.24
+pkgrel=2
+pkgdesc="a fast erasure codec which can be used with the command-line, C, Python, or Haskell"
+arch=('i686' 'x86_64')
+url='http://pypi.python.org/pypi/zfec'
+license=('GPL' 'custom')
+depends=('python2' 'pyutil' 'zbase32')
+makedepends=('darcsver' 'setuptools_darcs')
+source=( http://pypi.python.org/packages/source/z/zfec/zfec-$pkgver.tar.gz )
+md5sums=('e1bca3a1f18374f72bdf8cd42ea9c919')
+
+build(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py build
+ python2 setup.py test
+}
+
+package(){
+ cd "$srcdir/$pkgname-$pkgver"
+ python2 setup.py install --root="$pkgdir"
+ install -d $pkgdir/usr/share/licenses/$pkgname/
+ install -m644 COPYING* $pkgdir/usr/share/licenses/$pkgname/
+}
diff --git a/pcr/zita-convolver/PKGBUILD b/pcr/zita-convolver/PKGBUILD
deleted file mode 100644
index 5017f144f..000000000
--- a/pcr/zita-convolver/PKGBUILD
+++ /dev/null
@@ -1,36 +0,0 @@
-# Maintainer : Guest One <theguestone at gmail dot com>
-
-pkgname=zita-convolver
-pkgver=3.1.0
-pkgrel=1
-pkgdesc="Convolution library for aeolus and jconvolver"
-arch=('i686' 'x86_64')
-url="http://kokkinizita.linuxaudio.org/linuxaudio"
-license=('GPL')
-depends=('fftw' 'gcc-libs')
-source=("http://kokkinizita.linuxaudio.org/linuxaudio/downloads/zita-convolver-$pkgver.tar.bz2")
-md5sums=('7e264d0fb0d8ea277cdb4e33d764c68a')
-
-build() {
- cd "$srcdir/zita-convolver-$pkgver/libs"
-
- sed -i 's/usr\/local/usr/' Makefile
- sed -i 's/ldconfig//' Makefile
-
- make
-}
-
-package() {
- cd "$srcdir/$pkgname-$pkgver/libs"
-
- make SUFFIX="" PREFIX="$pkgdir/usr" DESTDIR=${PKGDIR} install
-
-
- # Another failed attempt at trying to be clever. A simple call to ldconfig might have worked.
- # ln -s lib$pkgname.so.$pkgver \
- # "$pkgdir/usr/lib/lib$pkgname.so.${pkgver%%.*}"
-
- # ln -s lib${pkgname}.so.$pkgver ${pkgdir}/usr/lib/lib${pkgname}.so
-}
-
-
diff --git a/pcr/zoneminder/PKGBUILD b/pcr/zoneminder/PKGBUILD
index 236ceca01..ede03dd77 100644
--- a/pcr/zoneminder/PKGBUILD
+++ b/pcr/zoneminder/PKGBUILD
@@ -1,3 +1,4 @@
+# Maintainer: Jacek Burghardt <jacek@hebe.us>
# Maintainer: Vojtech Aschenbrenner <v@asch.cz>
# Contributor: Jason Gardner <buhrietoe@gmail.com>
# Contributor: Ross melin <rdmelin@gmail.com>
@@ -6,27 +7,24 @@
# based of debian squeeze package
-pkgbase=zoneminder
+_automake=1.14
+
pkgname=zoneminder
pkgver=1.25.0
-pkgrel=24
+pkgrel=28
pkgdesc='Capture, analyse, record and monitor video security cameras'
arch=(
- i686
- x86_64
mips64el
+ x86_64
+ i686
)
-backup=(
- etc/zm.conf
-)
-url="http://www.$pkgbase.com"
-license=(
- GPL
-)
+backup=etc/zm.conf
+url=http://www.$pkgname.com
+license=GPL2
depends=(
apache
cambozola
- libav-static
+ ffmpeg
gnutls
mariadb
perl-archive-zip
@@ -47,107 +45,117 @@ depends=(
php-gd
php-mcrypt
)
-makedepends=(
- netpbm
-)
-optdepends=(
- netpbm
-)
-install=$pkgbase.install
+makedepends=netpbm
+optdepends=netpbm
+options=(!libtool)
+install=$pkgname.install
source=(
- http://www.$pkgbase.com/downloads/ZoneMinder-$pkgver.tar.gz
- httpd-$pkgbase.conf
- $pkgbase
- $pkgbase.service
+ http://www.$pkgname.com/downloads/ZoneMinder-$pkgver.tar.gz
+ httpd-$pkgname.conf
+ $pkgname.service
+ sysctl-$pkgname.conf
+ $pkgname-$pkgver-ffmpeg.patch
+ $pkgname-$pkgver-gcrypt.patch
)
sha512sums=(
3e18993b0539729491052c97d8c94227ccc089eb40277c2f07682f30049033303c7cfe9734fdac6d33ae67df29c76eb72bf7fbb5dae8227e8831fa603b61c375
4ce0d8eba9d006d258f5b8a83920fc17f1f602b96518d37b7a47cd9b6eb84ef2587641a6ba839a469c3f0e33b46475866187279ae3f8be0d4054b074ee5d6b08
- ab4e1d5ddaf4d9cd53d6ca59d7965902afd6a2dc830fbbafa270736c52c2b3563075fee860bb0276466f96e9dbfb71b259ac45a4ae2e4ead8eaec154a0159eb0
cfb0eb87a989236c72741a496ddc6a73aa2696e5beaaca4836d3c231ddb24c7ef5e9f65e7afa49674f2115cbfa4a07c75486e1947ce294c816ddbb875f3b99cf
+ 7330c179f1e2db815a675560d3d84648be02f7d0292f8cbe21d6033577fe688ed71ad23b5b8c9dc309395b45ebb554f9499e7a4b57091959b69679011fa59044
+ 7fc2a4663c3103bef641be065bd7992a2b3dc0699f1b99dc2fdb34c1c48e58686e490d3ade523ef7c8e29b3f04109658eef652c26ff6ee3fb9aee65453bdb6c4
+ 8c9e7debcaf60be1c2dda656f95e497f6812d704edc3ca4a1c915a3b3c9dc1749c91d96bc2d60db7d90d5edfd9e2dfc39010dfe4feabfecfffd27f1fffc3d675
)
-build() {
+prepare() {
cd $srcdir/ZoneMinder-$pkgver
- # ZM_RUNDIR need change to run dir
- export CPPFLAGS=-D__STDC_CONSTANT_MACROS\
- OPT_FFMPEG=yes\
- PATH_FFMPEG=/usr/bin/avconv-static\
- ZM_LOGDIR=/var/log/$pkgbase\
- ZM_RUNDIR=/tmp/$pkgbase\
- ZM_SSL_LIB=gnutls\
- ZM_TMPDIR=/tmp/$pkgbase
-
- # Patch for GCC 4.7.x
- sed -i -e 's/^#include <errno.h>/#include <errno.h>\n#include <unistd.h>/'\
- src/zm_logger.cpp || read
- sed -i -e 's/^#include <pthread.h>/#include <pthread.h>\n#include <unistd.h>/'\
- src/zm_thread.h || read
-
- # Patch for automake 1.12
- sed -i -e '/am__api_version=/ s/1.11/1.12/'\
- configure || read
+ # Patch for automake
+ sed -i "\|^am__api_version=| s|1[.]11|$_automake|;
+ " configure
+
+ # Patch for GCC
+ sed -i 's|^#include [<]errno[.]h[>]$|#include <errno.h>\n#include <unistd.h>|;
+ ' src/zm_logger.cpp
+ sed -i 's|^#include [<]pthread[.]h[>]$|#include <pthread.h>\n#include <unistd.h>|;
+ ' src/zm_thread.h
+ sed -i 's|^#include [<]fcntl[.]h[>]$|#include <fcntl.h>\n#include <limits.h>|;
+ ' src/zm_local_camera.cpp
+
+ # Patch for type cast in linux-libre kernel 3.5 and for wrong type "suppported"
+ sed -i 's|enum v4l2_buf_type type = v4l2_data[.]fmt[.]type|enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type|;
+ s|suppported|supported|;
+ ' src/zm_local_camera.cpp
+
+ # configure crash on i686
+ [[ $CARCH != i686 ]] && {
+ # Patch for fixing warning
+ sed -i 's|pdest[+][+] = ([*]blend_ptr)\[[*]pdest]\[[*]psrc[+][+]]|pdest = (*blend_ptr)[*pdest][*psrc++];\n pdest++|;
+ ' src/zm_image.cpp
+ }
+
+ # Patch for support ffmpeg with <libavutil/mathematics.h>
+ #sed -i 's|^extern "C" {|extern "C" {\n#ifdef _STDINT_H\n#undef _STDINT_H\n#endif\n#include <stdint.h>|;
+ # s|^#include <libavutil/avutil[.]h>|#include <libavutil/avutil.h>\n#include <libavutil/mathematics.h>|;
+ # ' src/zm_ffmpeg.h
+
+ # Patch for support C library
+ #sed -i 's|^AM_CONFIG_HEADER(config[.]h)|AM_CONFIG_HEADER(config.h)\n\nAC_SUBST([AM_CXXFLAGS], [-D__STDC_CONSTANT_MACROS])|;
+ # s|^AC_CHECK_HEADERS(mysql/mysql[.]h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),)|AC_CHECK_HEADERS(mysql/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),)\nAC_LANG_PUSH([C])|;
+ # s|^AC_CHECK_HEADERS(libswscale/swscale[.]h,,,)|AC_CHECK_HEADERS(libswscale/swscale.h,,,)\nAC_LANG_POP([C])|;
+ # ' configure.ac
# Patch for disable ZM_CHECK_FOR_UPDATES
- sed -i -e '/ZM_CHECK_FOR_UPDATES/,+1 s/yes/no/'\
- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in || read
+ sed -i '\|ZM_CHECK_FOR_UPDATES|,+1 s|yes|no|;
+ ' scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
# Patch for support html5 video and flv
- sed -i -e '/ZM_MPEG_LIVE_FORMAT/,+1 s/swf/webm/;/ZM_MPEG_REPLAY_FORMAT/,+1 s/swf/webm/;
- /ZM_FFMPEG_FORMATS/,+1 s/mpg mpeg wmv asf avi\* mov swf 3gp\*\*/mpg mpeg wmv asf avi\* mov flv swf 3gp\*\* webm ogg h264/'\
- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in || read
-
- # Patch for enable video export
- #sed -i -e '/ZM_OPT_FFMPEG/,+1 s/@OPT_FFMPEG@/yes/;
- # /ZM_PATH_FFMPEG/,+1 s/@PATH_FFMPEG@/\/usr\/bin\/avconv-static/'\
- # scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in || read
+ sed -i '\|ZM_MPEG_LIVE_FORMAT|,+1 s|swf|webm|;
+ \|ZM_MPEG_REPLAY_FORMAT|,+1 s|swf|webm|;
+ \|ZM_FFMPEG_FORMATS|,+1 s|mpg mpeg wmv asf avi[*] mov swf 3gp[*][*]|mpg mpeg wmv asf avi* mov flv swf 3gp** webm ogg h264|;
+ ' scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
- # Patch for change path run dir
- sed -i -e '/ZM_PATH_SOCKS/,+1 s/TMP/RUN/'\
- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in || read
-
- # Patch for change ZM name to ZoneMinder
- sed -i -e '/ZM_WEB_TITLE_PREFIX/,+1 s/"ZM"/"ZoneMinder"/'\
- scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in || read
+ # Patch for change path run dir and for change ZM name to ZoneMinder
+ sed -i '\|ZM_PATH_SOCKS|,+1 s|TMP|RUN|;
+ \|ZM_WEB_TITLE_PREFIX|,+1 s|"ZM"|"ZoneMinder"|;
+ ' scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
# Patch for v4l2 convert support
- sed -i -e "s/$ENV{SHELL} = \'\/bin\/sh\' if exists $ENV{SHELL};/$ENV{SHELL} = \'\/bin\/sh\' if exists $ENV{SHELL};\n$ENV{LD_PRELOAD} = \'\/usr\/lib\/libv4l\/v4l2convert.so\' ;/"\
- scripts/zmdc.pl.in || read
+ sed -i 's|^$ENV{SHELL} = '"'/bin/sh'"' if exists $ENV{SHELL}|$ENV{SHELL} = '"'/bin/sh'"' if exists $ENV{SHELL};\n$ENV{LD_PRELOAD} = '"'/usr/lib/libv4l/v4l2convert.so'"' |;
+ ' scripts/zmdc.pl.in
# Patch for add more socket tries
- sed -i -e '/$max_socket_tries/ s/3/15/'\
- web/ajax/stream.php || read
-
- # Patch for wrong "suppported"
- sed -i -e 's/suppported/supported/'\
- src/zm_local_camera.cpp || read
-
- # Patch for type cast in linux-libre kernel 3.5
- sed -i -e 's/enum v4l2_buf_type type = v4l2_data.fmt.type;/enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type;/'\
- src/zm_local_camera.cpp || read
-
- # Patch for drop custom perl install paths
- sed -i -e '/# Slight hack for non-standard perl install paths/,+10 d;
- s/^AC_SUBST(ZM_CONFIG,"$SYSCONFDIR\/zm.conf")/AC_SUBST(ZM_CONFIG,"$SYSCONFDIR\/zm.conf")\n\nEXTRA_PERL_LIB="# Include from system perl paths only"\nPERL_MM_PARMS="INSTALLDIRS=vendor"/'\
- configure.ac
-
- # Patch for support ffmpeg with <libavutil/mathematics.h> and C library
- sed -i -e 's/^extern "C" {/extern "C" {\n#ifdef _STDINT_H\n#undef _STDINT_H\n#endif\n#include <stdint.h>/
- s/^#include <libavutil\/avutil.h>/#include <libavutil\/avutil.h>\n#include <libavutil\/mathematics.h>/'\
- src/zm_ffmpeg.h
- sed -i -e 's/^AM_CONFIG_HEADER(config.h)/AM_CONFIG_HEADER(config.h)\n\nAC_SUBST([AM_CXXFLAGS], [-D__STDC_CONSTANT_MACROS])/;
- s/^AC_CHECK_HEADERS(mysql\/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),)/AC_CHECK_HEADERS(mysql\/mysql.h,,AC_MSG_ERROR(zm requires MySQL headers - check that MySQL development packages are installed),)\nAC_LANG_PUSH([C])/;
- s/^AC_CHECK_HEADERS(libswscale\/swscale.h,,,)/AC_CHECK_HEADERS(libswscale\/swscale.h,,,)\nAC_LANG_POP([C])/'\
- configure.ac
-
- # Patch for wrong install run, tmp and log dir
- sed -i -e '/ install-data-hook/d;/install-data-hook:/d;/# Yes, you are correct. This is a HACK!/d;
- / ( cd $(DESTDIR)$(sysconfdir); chown $(webuser):$(webgroup) $(sysconf_DATA); chmod 600 $(sysconf_DATA) )/d;
- / ( if ! test -e $(ZM_RUNDIR); then mkdir -p $(ZM_RUNDIR); fi; if test "$(ZM_RUNDIR)" != "\/var\/run"; then chown $(webuser):$(webgroup) $(ZM_RUNDIR); chmod u+w $(ZM_RUNDIR); fi )/d;
- / ( if ! test -e $(ZM_TMPDIR); then mkdir -m 700 -p $(ZM_TMPDIR); fi; if test "$(ZM_TMPDIR)" != "\/tmp"; then chown $(webuser):$(webgroup) $(ZM_TMPDIR); chmod u+w $(ZM_TMPDIR); fi )/d;
- / ( if ! test -e $(ZM_LOGDIR); then mkdir -p $(ZM_LOGDIR); fi; if test "$(ZM_LOGDIR)" != "\/var\/log"; then chown $(webuser):$(webgroup) $(ZM_LOGDIR); chmod u+w $(ZM_LOGDIR); fi )/,+1 d'\
- Makefile.{am,in}
+ sed -i '\|^$max_socket_tries = | s|3|15|;
+ ' web/ajax/stream.php
+
+ # Patch for text
+ sed -i 's|if ( fwrite( buffer, n_bytes, 1, stdout ) )|if ( fwrite( buffer, n_bytes, 1, stdout ) != 1 )|;
+ ' src/zm_stream.cpp
+
+ # Patch for remove HACK in Makefile.*
+ sed -i '\|This is a HACK|d;
+ \|^install-data-hook:$|,+5 d;
+ s| install-data-hook||;
+ \|^uninstall-hook:$|,+5 d;
+ s| uninstall-hook||;
+ ' Makefile.{am,in}
+
+ # Patch
+ for _patch in ffmpeg gcrypt; do
+ patch -Np1 -F99 -i $srcdir/$pkgname-$pkgver-$_patch.patch
+ done
+}
+
+build() {
+ cd $srcdir/ZoneMinder-$pkgver
+
+ # ZM_RUNDIR need change to run dir
+ export CPPFLAGS="$CPPFLAGS -D__STDC_CONSTANT_MACROS"\
+ OPT_FFMPEG=yes\
+ PATH_FFMPEG=/usr/bin/ffmpeg\
+ ZM_LOGDIR=/var/log/$pkgname\
+ ZM_RUNDIR=/tmp/$pkgname\
+ ZM_SSL_LIB=libgcrypt\
+ ZM_TMPDIR=/tmp/$pkgname
./configure --prefix=/usr\
--enable-crashtrace=no\
@@ -156,41 +164,39 @@ build() {
--sysconfdir=/etc\
--with-cgidir=/srv/http/cgi-bin\
--with-extralibs='-L/usr/lib -L/usr/lib/mysql'\
- --with-ffmpeg=/opt/libav-static\
+ --with-ffmpeg=/usr\
--with-libarch=lib\
--with-mysql=/usr\
- --with-webdir=/srv/http/$pkgbase\
+ --with-webdir=/srv/http/$pkgname\
--with-webgroup=http\
--with-webhost=localhost\
--with-webuser=http
-
make V=0
}
package() {
cd $srcdir/ZoneMinder-$pkgver
-
make DESTDIR=$pkgdir install
- mkdir -p $pkgdir/{etc/{httpd/conf/extra,rc.d},srv/http/{cgi-bin,$pkgbase},usr/{lib/systemd/system,share/{license/$pkgbase,$pkgbase/db}},var/{cache/$pkgbase,log/$pkgbase}}
-
- chown -R http.http $pkgdir/{etc/zm.conf,var/{cache/$pkgbase,log/$pkgbase}}
- chmod 0700 $pkgdir/etc/zm.conf
+ mkdir -vp $pkgdir/{etc/{httpd/conf/extra,sysctl.d},srv/http/{cgi-bin,$pkgname/socks},usr/{lib/systemd/system,share/{licenses/$pkgname,$pkgname/db}},var/{cache/$pkgname,log/$pkgname}}
+ chown -vR http.http $pkgdir/{etc/zm.conf,srv/http/$pkgname/socks,var/{cache/$pkgname,log/$pkgname}}
+ chmod -v 0700 $pkgdir/etc/zm.conf
for i in events images temp; do
- mv $pkgdir/srv/http/$pkgbase/$i $pkgdir/var/cache/$pkgbase/$i
- ln -s /var/cache/$pkgbase/$i $pkgdir/srv/http/$pkgbase/$i
- chown -h http.http $pkgdir/srv/http/$pkgbase/$i
+ mv -v $pkgdir/srv/http/$pkgname/$i $pkgdir/var/cache/$pkgname/$i
+ ln -vs /var/cache/$pkgname/$i $pkgdir/srv/http/$pkgname/$i
+ chown -vh http.http $pkgdir/srv/http/$pkgname/$i
done
- ln -s /srv/http/cgi-bin $pkgdir/srv/http/$pkgbase
- chown -h http.http $pkgdir/srv/http/{cgi-bin,$pkgbase,$pkgbase/cgi-bin}
+ ln -vs /srv/http/cgi-bin $pkgdir/srv/http/$pkgname
+ chown -vh http.http $pkgdir/srv/http/{cgi-bin,$pkgname,$pkgname/cgi-bin}
- ln -s /usr/share/cambozola/cambozola.jar $pkgdir/srv/http/$pkgbase
+ ln -vs /usr/share/cambozola/cambozola.jar $pkgdir/srv/http/$pkgname
- install -D -m 644 $srcdir/httpd-$pkgbase.conf $pkgdir/etc/httpd/conf/extra
- install -D -m 644 $srcdir/$pkgbase $pkgdir/etc/rc.d
- install -D -m 644 $srcdir/$pkgbase.service $pkgdir/usr/lib/systemd/system
- install -D -m 644 COPYING $pkgdir/usr/share/license/$pkgbase
- install -D -m 644 db/zm*.sql $pkgdir/usr/share/$pkgbase/db
+ install -vDm644 $srcdir/httpd-$pkgname.conf $pkgdir/etc/httpd/conf/extra
+ install -vDm644 $srcdir/$pkgname.service $pkgdir/usr/lib/systemd/system
+ install -vDm644 $srcdir/sysctl-$pkgname.conf $pkgdir/etc/sysctl.d
+ install -vDm644 $srcdir/sysctl-$pkgname.conf $pkgdir/srv/http/$pkgname
+ install -vDm644 COPYING $pkgdir/usr/share/licenses/$pkgname
+ install -vDm644 db/zm*.sql $pkgdir/usr/share/$pkgname/db
}
diff --git a/pcr/zoneminder/sysctl-zoneminder.conf b/pcr/zoneminder/sysctl-zoneminder.conf
new file mode 100644
index 000000000..ec1407dee
--- /dev/null
+++ b/pcr/zoneminder/sysctl-zoneminder.conf
@@ -0,0 +1,3 @@
+# For Zoneminder Monitor
+#kernel.shmall = 524288000
+#kernel.shmmax = 524288000
diff --git a/pcr/zoneminder/zoneminder-1.25-fixwarning.patch b/pcr/zoneminder/zoneminder-1.25-fixwarning.patch
new file mode 100644
index 000000000..0d151d139
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25-fixwarning.patch
@@ -0,0 +1,14 @@
+diff -U 3 -H -d -r -N -- ZoneMinder-1.24.2/src/zm_image.cpp ZoneMinder-1.24.2-patch/src/zm_image.cpp
+--- ZoneMinder-1.24.2/src/zm_image.cpp 2009-05-25 20:04:00.000000000 +0200
++++ ZoneMinder-1.24.2-patch/src/zm_image.cpp 2009-07-04 16:31:45.000000000 +0200
+@@ -776,7 +776,8 @@
+
+ while( pdest < (buffer+size) )
+ {
+- *pdest++ = (*blend_ptr)[*pdest][*psrc++];
++ *pdest = (*blend_ptr)[*pdest][*psrc++];
++ pdest++;
+ }
+ }
+ else
+
diff --git a/pcr/zoneminder/zoneminder-1.25-text.patch b/pcr/zoneminder/zoneminder-1.25-text.patch
new file mode 100644
index 000000000..90885f1b5
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25-text.patch
@@ -0,0 +1,12 @@
+--- ZoneMinder-1.25.0/src/zm_stream.cpp 2009-05-08 09:47:27.000000000 -0400
++++ ZoneMinder-1.25.0.ajs/src/zm_stream.cpp 2013-01-14 16:52:18.000000000 -0500
+@@ -262,7 +262,7 @@ bool StreamBase::sendTextFrame( const ch
+ fprintf( stdout, "--ZoneMinderFrame\r\n" );
+ fprintf( stdout, "Content-Length: %d\r\n", n_bytes );
+ fprintf( stdout, "Content-Type: image/jpeg\r\n\r\n" );
+- if ( fwrite( buffer, n_bytes, 1, stdout ) )
++ if ( fwrite( buffer, n_bytes, 1, stdout ) != 1 )
+ {
+ Error( "Unable to send stream text frame: %s", strerror(errno) );
+ return( false );
+
diff --git a/pcr/zoneminder/zoneminder-1.25.0-ffmpeg.patch b/pcr/zoneminder/zoneminder-1.25.0-ffmpeg.patch
new file mode 100644
index 000000000..99d41ee33
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25.0-ffmpeg.patch
@@ -0,0 +1,130 @@
+diff -Naur ZoneMinder-1.25.0-a/configure.ac ZoneMinder-1.25.0-b/configure.ac
+--- ZoneMinder-1.25.0-a/configure.ac 2011-08-23 09:10:32.000000000 -0600
++++ ZoneMinder-1.25.0-b/configure.ac 2013-05-06 11:17:33.860608307 -0600
+@@ -95,7 +95,7 @@
+
+ LDFLAGS="${FFMPEG_LIBS} $LDFLAGS"
+ CFLAGS="${FFMPEG_CFLAGS} $CFLAGS"
+-CPPFLAGS="${FFMPEG_CFLAGS} $CPPFLAGS"
++CPPFLAGS="${FFMPEG_CFLAGS} $CPPFLAGS -D__STDC_CONSTANT_MACROS"
+
+ EXTRA_LIBS=
+ AC_ARG_WITH(extralibs,
+@@ -275,8 +275,7 @@
+ AC_CHECK_LIB(x264,x264_predict_16x16_init)
+ AC_CHECK_LIB(avutil,av_malloc,,AC_MSG_WARN(libavutil.a may be required for MPEG streaming))
+ # Don't bother to warn about this one
+-AC_CHECK_LIB(avcore,av_image_copy,,)
+-AC_CHECK_LIB(avcodec,avcodec_init,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
++AC_CHECK_LIB(avcodec,avcodec_register_all,,AC_MSG_WARN(libavcodec.a is required for MPEG streaming))
+ AC_CHECK_LIB(avformat,av_new_stream,,AC_MSG_WARN(libavformat.a is required for MPEG streaming))
+ AC_CHECK_LIB(avdevice,avdevice_register_all,,AC_MSG_WARN(libavdevice.a may be required for MPEG streaming))
+ AC_CHECK_LIB(swscale,sws_scale,,,-lswscale)
+diff -Naur ZoneMinder-1.25.0-a/src/zm_ffmpeg.h ZoneMinder-1.25.0-b/src/zm_ffmpeg.h
+--- ZoneMinder-1.25.0-a/src/zm_ffmpeg.h 2011-06-24 10:05:07.000000000 -0600
++++ ZoneMinder-1.25.0-b/src/zm_ffmpeg.h 2013-05-06 18:11:49.327274977 -0600
+@@ -43,6 +43,11 @@
+ }
+ #endif
+
++#include <libavutil/avutil.h>
++#include <libavcodec/avcodec.h>
++#include <libavformat/avformat.h>
++#include <libswscale/swscale.h>
++
+ #if FFMPEG_VERSION_INT == 0x000408
+ #define ZM_FFMPEG_048 1
+ #elif FFMPEG_VERSION_INT == 0x000409
+diff -Naur ZoneMinder-1.25.0-a/src/zm_ffmpeg_camera.cpp ZoneMinder-1.25.0-b/src/zm_ffmpeg_camera.cpp
+--- ZoneMinder-1.25.0-a/src/zm_ffmpeg_camera.cpp 2011-06-21 01:40:13.000000000 -0600
++++ ZoneMinder-1.25.0-b/src/zm_ffmpeg_camera.cpp 2013-05-06 19:57:08.453941643 -0600
+@@ -91,7 +91,7 @@
+ Info( "Priming capture from %s", mPath.c_str() );
+
+ // Open the input, not necessarily a file
+- if ( av_open_input_file( &mFormatContext, mPath.c_str(), NULL, 0, NULL ) !=0 )
++ if ( avformat_open_input( &mFormatContext, mPath.c_str(), NULL, NULL ) !=0 )
+ Fatal( "Unable to open input %s due to: %s", mPath.c_str(), strerror(errno) );
+
+ // Locate stream info from input
+@@ -122,7 +122,7 @@
+ Fatal( "Can't find codec for video stream from %s", mPath.c_str() );
+
+ // Open the codec
+- if ( avcodec_open( mCodecContext, mCodec ) < 0 )
++ if ( avcodec_open2( mCodecContext, mCodec, NULL ) < 0 )
+ Fatal( "Unable to open codec for video stream from %s", mPath.c_str() );
+
+ // Allocate space for the native video frame
+diff -Naur ZoneMinder-1.25.0-a/src/zm_mpeg.cpp ZoneMinder-1.25.0-b/src/zm_mpeg.cpp
+--- ZoneMinder-1.25.0-a/src/zm_mpeg.cpp 2011-05-15 14:39:06.000000000 -0600
++++ ZoneMinder-1.25.0-b/src/zm_mpeg.cpp 2013-05-06 20:00:08.923941640 -0600
+@@ -130,7 +130,7 @@
+ {
+ /* set the output parameters (must be done even if no
+ parameters). */
+- if ( av_set_parameters(ofc, NULL) < 0 )
++ if ( avformat_write_header(ofc, NULL) < 0 )
+ {
+ Panic( "Invalid output format parameters" );
+ }
+@@ -176,7 +176,7 @@
+ }
+
+ /* open the codec */
+- if ( avcodec_open(c, codec) < 0 )
++ if ( avcodec_open2(c, codec, NULL) < 0 )
+ {
+ Panic( "Could not open codec" );
+ }
+@@ -222,7 +222,7 @@
+ if ( !(of->flags & AVFMT_NOFILE) )
+ {
+ #if LIBAVUTIL_VERSION_INT >= AV_VERSION_INT(51,2,1)
+- if ( avio_open(&ofc->pb, filename, URL_WRONLY) < 0 )
++ if ( avio_open(&ofc->pb, filename, AVIO_FLAG_WRITE) < 0 )
+ #else
+ if ( url_fopen(&ofc->pb, filename, URL_WRONLY) < 0 )
+ #endif
+@@ -241,7 +241,7 @@
+ }
+
+ /* write the stream header, if any */
+- av_write_header(ofc);
++ avformat_write_header(ofc, NULL);
+ }
+
+ VideoStream::VideoStream( const char *filename, const char *format, int bitrate, double frame_rate, int colours, int width, int height )
+diff -Naur ZoneMinder-1.25.0-a/src/zm_remote_camera_rtsp.cpp ZoneMinder-1.25.0-b/src/zm_remote_camera_rtsp.cpp
+--- ZoneMinder-1.25.0-a/src/zm_remote_camera_rtsp.cpp 2011-06-21 03:19:10.000000000 -0600
++++ ZoneMinder-1.25.0-b/src/zm_remote_camera_rtsp.cpp 2013-05-06 20:07:40.797274975 -0600
+@@ -145,7 +145,7 @@
+ Panic( "Unable to locate codec %d decoder", codecContext->codec_id );
+
+ // Open codec
+- if ( avcodec_open( codecContext, codec ) < 0 )
++ if ( avcodec_open2( codecContext, codec, NULL ) < 0 )
+ Panic( "Can't open codec" );
+
+ picture = avcodec_alloc_frame();
+diff -Naur ZoneMinder-1.25.0-a/src/zm_sdp.h ZoneMinder-1.25.0-b/src/zm_sdp.h
+--- ZoneMinder-1.25.0-a/src/zm_sdp.h 2011-05-15 14:39:06.000000000 -0600
++++ ZoneMinder-1.25.0-b/src/zm_sdp.h 2013-05-06 20:23:28.237274974 -0600
+@@ -41,7 +41,7 @@
+ int payloadType;
+ const char payloadName[6];
+ enum AVMediaType codecType;
+- enum CodecID codecId;
++ enum AVCodecID codecId;
+ int clockRate;
+ int autoChannels;
+ };
+@@ -50,7 +50,7 @@
+ {
+ const char payloadName[32];
+ enum AVMediaType codecType;
+- enum CodecID codecId;
++ enum AVCodecID codecId;
+ //int clockRate;
+ //int autoChannels;
+ };
diff --git a/pcr/zoneminder/zoneminder-1.25.0-gcc47.patch b/pcr/zoneminder/zoneminder-1.25.0-gcc47.patch
new file mode 100644
index 000000000..a083c6dbc
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25.0-gcc47.patch
@@ -0,0 +1,33 @@
+diff -up ./src/zm_local_camera.cpp.gcc47 ./src/zm_local_camera.cpp
+--- ./src/zm_local_camera.cpp.gcc47 2011-06-21 04:19:10.000000000 -0500
++++ ./src/zm_local_camera.cpp 2012-01-19 13:43:49.142440717 -0600
+@@ -26,6 +26,7 @@
+ #include <sys/types.h>
+ #include <sys/stat.h>
+ #include <fcntl.h>
++#include <limits.h>
+ #include <unistd.h>
+ #include <sys/mman.h>
+ #include <errno.h>
+diff -up ./src/zm_logger.cpp.gcc47 ./src/zm_logger.cpp
+--- ./src/zm_logger.cpp.gcc47 2011-06-28 06:07:35.000000000 -0500
++++ ./src/zm_logger.cpp 2012-01-19 13:43:49.142440717 -0600
+@@ -33,6 +33,7 @@
+ #include <signal.h>
+ #include <stdarg.h>
+ #include <errno.h>
++#include <unistd.h>
+
+ bool Logger::smInitialised = false;
+ Logger *Logger::smInstance = 0;
+diff -up ./src/zm_thread.h.gcc47 ./src/zm_thread.h
+--- ./src/zm_thread.h.gcc47 2012-01-19 13:44:43.082766722 -0600
++++ ./src/zm_thread.h 2012-01-19 13:44:56.966335869 -0600
+@@ -21,6 +21,7 @@
+ #define ZM_THREAD_H
+
+ #include <pthread.h>
++#include <unistd.h>
+ #include "zm_exception.h"
+ #include "zm_utils.h"
+
diff --git a/pcr/zoneminder/zoneminder-1.25.0-gcrypt.patch b/pcr/zoneminder/zoneminder-1.25.0-gcrypt.patch
new file mode 100644
index 000000000..21f197ec6
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25.0-gcrypt.patch
@@ -0,0 +1,86 @@
+diff -up ./configure.ac.gcrypt ./configure.ac
+--- ./configure.ac.gcrypt 2012-01-19 12:58:20.647123209 -0600
++++ ./configure.ac 2012-01-19 13:12:34.186669577 -0600
+@@ -13,7 +13,7 @@ AC_ARG_VAR(ZM_DB_HOST,[Hostname where Zo
+ AC_ARG_VAR(ZM_DB_NAME,[Name of ZoneMinder database, default zm])
+ AC_ARG_VAR(ZM_DB_USER,[Name of ZoneMinder database user, default zmuser])
+ AC_ARG_VAR(ZM_DB_PASS,[Password of ZoneMinder database user, default zmpass])
+-AC_ARG_VAR(ZM_SSL_LIB,[Library to use for ssl functions, default gnutls])
++AC_ARG_VAR(ZM_SSL_LIB,[Library to use for MD5 function, default libgcrypt])
+ AC_ARG_VAR(ZM_MYSQL_ENGINE,[MySQL engine to use with database, default MyISAM])
+ AC_ARG_VAR(ZM_RUNDIR,[Location of transient process files, default /var/run/zm])
+ AC_ARG_VAR(ZM_TMPDIR,[Location of temporary files, default /tmp/zm])
+@@ -32,7 +32,7 @@ if test "$ZM_DB_PASS" == ""; then
+ AC_SUBST(ZM_DB_PASS,[zmpass])
+ fi
+ if test "$ZM_SSL_LIB" == ""; then
+- AC_SUBST(ZM_SSL_LIB,gnutls)
++ AC_SUBST(ZM_SSL_LIB,libgcrypt)
+ fi
+ if test "$ZM_MYSQL_ENGINE" == ""; then
+ AC_SUBST(ZM_MYSQL_ENGINE,MyISAM)
+@@ -264,11 +264,10 @@ AC_CHECK_LIB(jpeg,jpeg_start_compress,,A
+ AC_CHECK_LIB(pthread,pthread_create,,AC_MSG_ERROR(zm requires libpthread.a))
+ AC_CHECK_LIB(dl,dlsym,,AC_MSG_ERROR(zm requires libdl.a))
+ if test "$ZM_SSL_LIB" == "openssl"; then
+-AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select gnutls instead]))
++AC_CHECK_LIB(crypto,MD5,,AC_MSG_WARN([libcrypto.a is required for authenticated streaming - use ZM_SSL_LIB option to select libgcrypt instead]))
+ else
+-AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed for gnutls),)
++AC_CHECK_HEADERS(gcrypt.h,,AC_MSG_WARN(zm requires libgcrypt headers to be installed),)
+ AC_CHECK_LIB(gcrypt,gcry_check_version,,AC_MSG_WARN([libgcrypt.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead]))
+-AC_CHECK_LIB(gnutls-openssl,MD5,,AC_MSG_WARN([gnutls-openssl.a is required for authenticated streaming - use ZM_SSL_LIB option to select openssl instead]))
+ fi
+ AC_CHECK_LIB(pcre,pcre_compile,,AC_MSG_WARN(libpcre.a may be required for remote/network camera support))
+ AC_CHECK_LIB(z,zlibVersion)
+@@ -320,9 +319,6 @@ AC_CHECK_DECLS(round,,,[#include <math.h
+ if test "$ZM_SSL_LIB" == "openssl"; then
+ AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires openssl/md5.h - use ZM_SSL_LIB option to select gnutls instead]),[#include <stdlib.h>
+ #include <openssl/md5.h>])
+-else
+-AC_CHECK_DECLS(MD5,,AC_MSG_ERROR([zm requires gnutls/openssl.h - use ZM_SSL_LIB option to select openssl instead]),[#include <stdlib.h>
+-#include <gnutls/openssl.h>])
+ fi
+ AC_CHECK_DECLS(backtrace,,,[#include <execinfo.h>])
+
+diff -up ./src/zm_user.cpp.gcrypt ./src/zm_user.cpp
+--- ./src/zm_user.cpp.gcrypt 2011-08-03 06:31:06.000000000 -0500
++++ ./src/zm_user.cpp 2012-01-19 12:58:20.654122992 -0600
+@@ -140,6 +140,18 @@ User *zmLoadUser( const char *username,
+ return( user );
+ }
+
++#ifdef HAVE_GCRYPT_H
++#define HAVE_DECL_MD5 1
++#define MD5_DIGEST_LENGTH 16
++static unsigned char *MD5(const unsigned char *data, unsigned long len,
++ unsigned char *md)
++{
++ gcry_md_hash_buffer(GCRY_MD_MD5, md, data, len);
++
++ return md;
++}
++#endif
++
+ // Function to validate an authentication string
+ User *zmLoadAuthUser( const char *auth, bool use_remote_addr )
+ {
+diff -up ./src/zm_user.h.gcrypt ./src/zm_user.h
+--- ./src/zm_user.h.gcrypt 2010-11-11 06:11:07.000000000 -0600
++++ ./src/zm_user.h 2012-01-19 13:14:11.200654694 -0600
+@@ -23,14 +23,11 @@
+ #ifndef ZM_USER_H
+ #define ZM_USER_H
+
+-#if HAVE_LIBGNUTLS_OPENSSL
+-#include <gnutls/openssl.h>
+ #if HAVE_GCRYPT_H
+ #include <gcrypt.h>
+-#endif // HAVE_GCRYPT_H
+ #elif HAVE_LIBCRYPTO
+ #include <openssl/md5.h>
+-#endif // HAVE_LIBGNUTLS_OPENSSL || HAVE_LIBCRYPTO
++#endif // HAVE_GCRYPT_H || HAVE_LIBCRYPTO
+
+ class User
+ {
diff --git a/pcr/zoneminder/zoneminder-1.25.0-kernel35.patch b/pcr/zoneminder/zoneminder-1.25.0-kernel35.patch
new file mode 100644
index 000000000..51bc1288d
--- /dev/null
+++ b/pcr/zoneminder/zoneminder-1.25.0-kernel35.patch
@@ -0,0 +1,21 @@
+diff -up ./src/zm_local_camera.cpp.kernel35 ./src/zm_local_camera.cpp
+--- ./src/zm_local_camera.cpp.kernel35 2012-07-16 15:01:22.182614878 -0500
++++ ./src/zm_local_camera.cpp 2012-07-16 15:02:16.491941730 -0500
+@@ -740,7 +740,7 @@ void LocalCamera::Terminate()
+ {
+ Debug( 3, "Terminating video stream" );
+ //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
+- enum v4l2_buf_type type = v4l2_data.fmt.type;
++ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type;
+ if ( vidioctl( vid_fd, VIDIOC_STREAMOFF, &type ) < 0 )
+ Error( "Failed to stop capture stream: %s", strerror(errno) );
+
+@@ -1520,7 +1520,7 @@ int LocalCamera::PrimeCapture()
+
+ Debug( 3, "Starting video stream" );
+ //enum v4l2_buf_type type = V4L2_BUF_TYPE_VIDEO_CAPTURE;
+- enum v4l2_buf_type type = v4l2_data.fmt.type;
++ enum v4l2_buf_type type = (v4l2_buf_type)v4l2_data.fmt.type;
+ if ( vidioctl( vid_fd, VIDIOC_STREAMON, &type ) < 0 )
+ Fatal( "Failed to start capture stream: %s", strerror(errno) );
+ }
diff --git a/pcr/zoneminder/zoneminder.install b/pcr/zoneminder/zoneminder.install
index ecacf6437..66109d5fa 100644
--- a/pcr/zoneminder/zoneminder.install
+++ b/pcr/zoneminder/zoneminder.install
@@ -1,3 +1,4 @@
+#!/usr/bin/bash
pre_install() {
set -e
abort=false
@@ -27,20 +28,20 @@ EOF
post_install() {
if [[ -d /var/log/zoneminder ]]; then
- chmod 0755 /var/log/zoneminder
- chown http.http /var/log/zoneminder
+ chmod -v 0755 /var/log/zoneminder
+ chown -v http.http /var/log/zoneminder
else
- mkdir -m 0755 /var/log/zoneminder
- chown http.http /var/log/zoneminder
+ mkdir -vm 0755 /var/log/zoneminder
+ chown -v http.http /var/log/zoneminder
fi
if [[ -d /tmp/zoneminder ]]; then
- chmod 0700 /tmp/zoneminder
- chown http.http /tmp/zoneminder
+ chmod -v 0700 /tmp/zoneminder
+ chown -v http.http /tmp/zoneminder
else
- mkdir -m 0700 /tmp/zoneminder
- chown http.http /tmp/zoneminder
+ mkdir -vm 0700 /tmp/zoneminder
+ chown -v http.http /tmp/zoneminder
fi
- sed -i -e '
+ sed -i '
/^;extension=mysql.so/ s/^;//;
/^#extension=mysql.so/ s/^#//;
/^;extension=mysqli.so/ s/^;//;
@@ -72,8 +73,8 @@ post_install() {
/^open_basedir/ s/:\/var\/cache\/zoneminder//;
/^open_basedir/ s/:\/var\/cache\/zoneminder\///;
/^open_basedir/ s/$/:\/var\/cache\/zoneminder/;
- ' /etc/php/php.ini || read
- sed -i -e '
+ ' /etc/php/php.ini
+ sed -i '
/^LoadModule php5_module modules\/libphp5.so/d;
/^LoadModule rewrite_module modules\/mod_rewrite.so/ s/$/\nLoadModule php5_module modules\/libphp5.so/;
/^# PHP 5/d;
@@ -81,12 +82,12 @@ post_install() {
/^Include \/etc\/httpd\/conf\/extra\/php5_module.conf/d;
/^Include \/etc\/httpd\/conf\/extra\/httpd-zoneminder.conf/d;
/^Include conf\/extra\/httpd-default.conf/ s/$/\n\n# PHP 5\n\Include \/etc\/httpd\/conf\/extra\/php5_module.conf\n\n# ZoneMinder\nInclude \/etc\/httpd\/conf\/extra\/httpd-zoneminder.conf/;
- ' /etc/httpd/conf/httpd.conf || read
+ ' /etc/httpd/conf/httpd.conf
gpasswd -a http video
cat << EOF
Note for mysql:
==> To run Zoneminder, you must install the database running mysql service (as root):
-==> "rc.d start mysqld" (in initscripts) or "systemctl start mysqld.service" (in systemd)
+==> "systemctl start mysqld.service"
==> and add Zoneminder database typing (with passsword):
==> "mysqladmin --defaults-file=/etc/mysql/my.cnf -p -f reload"
==> "cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mysql/my.cnf -p"
@@ -96,6 +97,11 @@ Note for mysql:
==> "cat /usr/share/zoneminder/db/zm_create.sql | mysql --defaults-file=/etc/mysql/my.cnf"
==> "echo 'grant lock tables, alter,select,insert,update,delete on zm.* to 'zmuser'@localhost identified by "zmpass";' | mysql --defaults-file=/etc/mysql/my.cnf mysql"
+Note for sysctl:
+==> You must uncomment that line in /etc/sysctl.d/sysctl-zoneminder.conf:
+==> "kernel.shmall = 524288000"
+==> "kernel.shmmax = 524288000"
+
Note for php:
==> You must uncomment that line in /etc/php/php.ini:
==> "extension=mysql.so"
@@ -126,22 +132,25 @@ EOF
post_upgrade() {
post_install
+ _mysqld=$(systemctl status mysqld.service | grep -o 'inactive (dead)')
+ [[ _mysqld == 'inactive (dead)' ]] && systemctl start mysqld.service
/usr/bin/zmupdate.pl -f >/dev/null
+ [[ _mysqld == 'inactive (dead)' ]] && systemctl stop mysqld.service
}
post_remove() {
- if [[ -d /tmp/zoneminder ]]; then
- rm -vr /tmp/zoneminder
- fi
- sed -i -e '
+ _zms=$(systemctl status zoneminder.service | grep -o 'active (running)')
+ [[ _zms == 'active (running)' ]] && systemctl stop zoneminder.service
+ [[ -d /tmp/zoneminder ]] && rm -vr /tmp/zoneminder
+ sed -i '
/^open_basedir/ s/:\/srv\/http\/zoneminder//;
/^open_basedir/ s/:\/srv\/http\/zoneminder\///;
/^open_basedir/ s/:\/var\/cache\/zoneminder\///
- ' /etc/php/php.ini || read
- sed -i -e '
+ ' /etc/php/php.ini
+ sed -i '
/^# ZoneMinder/d;
/Include \/etc\/httpd\/conf\/extra\/httpd-zoneminder.conf/d;
- ' /etc/httpd/conf/httpd.conf || read
+ ' /etc/httpd/conf/httpd.conf
cat << EOF
Note:
==> To clean Zoneminder mysql database, run as root (with password):