summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/cluster-glue/PKGBUILD36
-rw-r--r--pcr/corosync/PKGBUILD15
-rw-r--r--pcr/debootstrap/PKGBUILD18
-rw-r--r--pcr/drumgizmo/PKGBUILD26
-rw-r--r--pcr/ganglia/PKGBUILD55
-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/gitflow/PKGBUILD34
-rw-r--r--pcr/heartbeat/PKGBUILD37
-rw-r--r--pcr/libqb/PKGBUILD7
-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/mednafen-server/PKGBUILD15
-rw-r--r--pcr/mitsuba/PKGBUILD57
-rw-r--r--pcr/pacemaker/PKGBUILD32
-rw-r--r--pcr/resource-agent/PKGBUILD36
-rw-r--r--pcr/retroshare/PKGBUILD148
-rw-r--r--pcr/retroshare/retroshare.desktop11
-rw-r--r--pcr/retroshare/retroshare.install15
-rw-r--r--pcr/ruby-headers/PKGBUILD6
-rw-r--r--pcr/samplv1/PKGBUILD31
-rw-r--r--pcr/samplv1/samplv1.install12
-rw-r--r--pcr/shflags/PKGBUILD31
-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/triceratops-lv2/PKGBUILD9
-rw-r--r--pcr/yafaray/PKGBUILD (renamed from pcr/yafaray-git/PKGBUILD)46
32 files changed, 678 insertions, 258 deletions
diff --git a/pcr/cluster-glue/PKGBUILD b/pcr/cluster-glue/PKGBUILD
index 684efe7c2..1a81e15d4 100644
--- a/pcr/cluster-glue/PKGBUILD
+++ b/pcr/cluster-glue/PKGBUILD
@@ -5,7 +5,7 @@ _pkgname1=${pkgname::7}
_pkgname2=${pkgname:8}
_pkgname=${_pkgname1^}_${_pkgname2^}
pkgver=1.0.11
-pkgrel=11
+pkgrel=12
pkgdesc='Set of libraries, tools and utilities suitable for the Heartbeat/Pacemaker cluster stack (Linux-HA)'
arch=(
i686
@@ -38,7 +38,7 @@ depends=(
optdepends=net-tools
makedepends=(
help2man
- libxslt
+ #libxslt
lynx
net-tools
openssh
@@ -82,42 +82,42 @@ prepare() {
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)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
#sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
+ # ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI 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|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
+ s|OpenSource|Free|;
+ s|opensource|free|;
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)
+ ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -193,7 +193,7 @@ prepare() {
s|MkGNU/Linux|MkLinux|;
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
}
build() {
diff --git a/pcr/corosync/PKGBUILD b/pcr/corosync/PKGBUILD
index e176cb112..7bd87f791 100644
--- a/pcr/corosync/PKGBUILD
+++ b/pcr/corosync/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=corosync
_pkgflag=lts
pkgver=2.3.0
-pkgrel=2
+pkgrel=4
pkgdesc='Cluster engine for nodal communication systems with additional features for implementing high availability within applications'
arch=(
i686
@@ -13,21 +13,23 @@ arch=(
url=http://www.$pkgname.org
license=BSD
depends=(
+ dbus
libqb
libstatgrab
net-snmp
nss
)
-makedepends=doxygen
+optdepends='augeas: for config files'
+makedepends=(
+ augeas
+ doxygen
+ graphviz
+)
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\
@@ -49,6 +51,7 @@ build() {
--enable-xmlconf\
--libdir=/usr/lib\
--localstatedir=/var\
+ --sbindir=/usr/bin\
--sysconfdir=/etc\
--with-initddir=/etc/rc.d\
--with-systemddir=/usr/lib/systemd/system
diff --git a/pcr/debootstrap/PKGBUILD b/pcr/debootstrap/PKGBUILD
index e46a7d0b1..d5a45b5b1 100644
--- a/pcr/debootstrap/PKGBUILD
+++ b/pcr/debootstrap/PKGBUILD
@@ -1,9 +1,8 @@
-# $Id$
# Maintainer: André Silva <emulatorman@lavabit.com>
pkgname=debootstrap
-pkgver=1.0.48
-pkgrel=1
+pkgver=1.0.52
+pkgrel=3
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')
@@ -13,15 +12,20 @@ source=("http://ftp.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_${pkgver
'metad'
'trisquel')
install="debootstrap.install"
-md5sums=('f75ae43204ed273c7a95c12a5a2f715a'
+md5sums=('97ac467bf63cf066f52d0dd7fcf77e9a'
'4425300ca68d60fb60a6d699e153a519'
'b020aa8426e70a6024c8e76312c17d78')
package(){
- tar -xzf "$srcdir/data.tar.gz" -C "$pkgdir/"
-
+ tar -xzf "${srcdir}/data.tar.gz" -C "${pkgdir}/"
+ # 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/sbin/debootstrap" "$pkgdir/usr/share/debootstrap/functions"
+ sed 's/gpgv/gpg1v/g;' -i "${pkgdir}/usr/bin/debootstrap" "${pkgdir}/usr/share/debootstrap/functions"
# add gNewSense script
install -m644 metad "$pkgdir/usr/share/debootstrap/scripts"
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/ganglia/PKGBUILD b/pcr/ganglia/PKGBUILD
index 3a2e54dd8..9fed072aa 100644
--- a/pcr/ganglia/PKGBUILD
+++ b/pcr/ganglia/PKGBUILD
@@ -2,8 +2,8 @@
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/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/heartbeat/PKGBUILD b/pcr/heartbeat/PKGBUILD
index f9ee9254b..a33250f84 100644
--- a/pcr/heartbeat/PKGBUILD
+++ b/pcr/heartbeat/PKGBUILD
@@ -3,7 +3,7 @@
pkgname=heartbeat
pkgver=3.0.5
_pkgver=${pkgver::1}_${pkgver:2:1}
-pkgrel=10
+pkgrel=11
pkgdesc='Daemon that provides cluster infrastructure services to its clients (Linux-HA)'
arch=(
i686
@@ -50,42 +50,42 @@ prepare() {
" configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
#sed -i 's|/lib64|/lib|;
- # ' $(grep -rl /lib64)
+ # ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI 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|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
#sed -i 's|OpenSource / ||;
# s|opensource / ||;
- # s|OpenSource|FreeSoftware|;
- # s|opensource|freesoftware|;
+ # s|OpenSource|Free|;
+ # s|opensource|free|;
# 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)
+ # ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -163,7 +163,7 @@ prepare() {
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
s|ConfigureLinux|ConfigureGNULinux|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
}
build() {
@@ -175,7 +175,8 @@ build() {
--enable-valgrind\
--libdir=/usr/lib\
--localstatedir=/var\
- --sysconfdir=/etc
+ --sysconfdir=/etc\
+ --with-initdir=/etc/rc.d
setarch $CARCH make
}
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/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/mednafen-server/PKGBUILD b/pcr/mednafen-server/PKGBUILD
index 0c7057908..0db1b1068 100644
--- a/pcr/mednafen-server/PKGBUILD
+++ b/pcr/mednafen-server/PKGBUILD
@@ -1,26 +1,24 @@
# Maintainer (Parabola): 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/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index 219da84fc..747641dcc 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -4,32 +4,31 @@ pkgname=(
mitsuba
blender-addon-mitsuba
)
+_pkgname=${pkgname[0]}
_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
+_addname=$_pkgname-$_bldname
+pkgver=0.4.4
+_bldver=2.67
_addver=0.2.1 # Wed Mar 20 01:30:37 2013 +0100 rev:40 ($srcdir/$_addname/${pkgname[0]}/__init__.py:bl_info>version)
_adddat=20130320
_addrev=40
-_bldep=7
+_bldep=8
_pyver=3.3
-pkgrel=1
+pkgrel=2
pkgdesc='A physically based renderer'
arch=(
i686
x86_64
mips64el
)
-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
qt4
xerces-c
)
@@ -44,28 +43,25 @@ makedepends=(
mercurial
python
)
-install=$pkgname.install
+install=$_pkgname.install
source=(
- hg+https://${pkgname[0]}-renderer.org/hg/${pkgname[0]}
- hg+https://${pkgname[0]}-renderer.org/hg/$_addname
+ ${url}hg/$_pkgname/archive/v$pkgver.tar.bz2
+ hg+${url}hg/$_addname
${pkgname[1]}.install
)
-sha512sums=(SKIP SKIP SKIP)
+sha512sums=(
+ 66dcab376a44eeb2fbe808a32ead5b554d777fb2f6a73c43883086b7829e0c697aaeccbb6fbbed9fcb221684a64ccce8be81a78ebcd228316ea12b8f6f3e7f6c
+ SKIP SKIP
+)
prepare() {
mv $srcdir/${pkgname[1]}.install $startdir
- cd $srcdir/${pkgname[0]}
+ cd $srcdir/$_pkgname-v$pkgver
[[ -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]}"
@@ -74,7 +70,7 @@ prepare() {
}
build() {
- cd $srcdir/${pkgname[0]}/build
+ cd $srcdir/$_pkgname-v$pkgver/build
[[ $CARCH != x86_64 ]] && DMTS_SSE='-DMTS_SSE=OFF'
@@ -83,24 +79,23 @@ build() {
-DBoost_PYTHON_LIBRARY=/usr/lib/libboost_python${_pyver::1}.so\
-DPYTHON_INCLUDE_DIR=/usr/include/python${_pyver}m\
-DPYTHON_LIBRARY=/usr/lib/libpython${_pyver}m.so
-
setarch $CARCH make
}
package_mitsuba() {
- cd $srcdir/${pkgname[0]}/build
+ cd $srcdir/$_pkgname-v$pkgver/build
setarch $CARCH make DESTDIR=$pkgdir install
#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
+ b=$srcdir/$_pkgname-v$pkgver
+ install -d $a/{bin,lib{,/python$_pyver/lib-dynload},share/{applications,{licenses/,}$_pkgname,pixmaps}}
+ install -m644 $b/data/linux/$_pkgname.desktop $a/share/applications
+ install -m644 $b/src/mtsgui/resources/${_pkgname}48.png $a/share/pixmaps
+ install -m644 $b/doc/license.txt $a/share/licenses/$_pkgname/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/{{data,plugins},share/$_pkgname}
mv $a/{python/mitsuba.so,lib/python$_pyver/lib-dynload}
mv $a/{sdk/include,}
rmdir $a/{python,sdk}
@@ -123,8 +118,8 @@ package_blender-addon-mitsuba() {
cd $srcdir/$_addname
a=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons
- b=$pkgdir/usr/share/licenses/$pkgname
- c=$srcdir/$_pkgname/doc/license.txt
+ b=$pkgdir/usr/share/licenses/$_pkgname
+ c=$srcdir/$_pkgname-v$_pkgver/doc/license.txt
install -d $a && cp -a $_pkgname $a
install -d $b && install -m644 $c $b/LICENSE
diff --git a/pcr/pacemaker/PKGBUILD b/pcr/pacemaker/PKGBUILD
index 7ee8209ad..3681f9111 100644
--- a/pcr/pacemaker/PKGBUILD
+++ b/pcr/pacemaker/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=pacemaker
pkgver=1.1.9
-pkgrel=5
+pkgrel=6
pkgdesc='Cluster resource manager (Linux-HA)'
arch=(
i686
@@ -44,33 +44,33 @@ prepare() {
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
sed -i 's|/lib64|/lib|;
- ' $(grep -rl /lib64)
+ ' $(grep -rlI /lib64)
sed -i 's|usr/libexec|usr/lib|;
- ' $(grep -rl usr/libexec)
+ ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI 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|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
s|OpenSource|FreeSoftware|;
@@ -79,7 +79,7 @@ prepare() {
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)
+ ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -155,7 +155,7 @@ prepare() {
s|MkGNU/Linux|MkLinux|;
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux)
+ ' $(grep -rlI Linux)
sed -i 's|Linux|GNU/Linux|;
s|ArchGNU/Linux|ArchLinux|;
s|e2fsprogs, typically GNU/Linux|e2fsprogs, typically Linux|;
@@ -178,7 +178,7 @@ prepare() {
s|MkGNU/Linux|MkLinux|;
s|SEGNU/Linux|SELinux|;
s|VA GNU/Linux Cluster|VA Linux Cluster|;
- ' $(grep -rl Linux | grep .po)
+ ' $(grep -rlI Linux | grep .po)
}
build() {
diff --git a/pcr/resource-agent/PKGBUILD b/pcr/resource-agent/PKGBUILD
index 46c95ede1..66505fcbe 100644
--- a/pcr/resource-agent/PKGBUILD
+++ b/pcr/resource-agent/PKGBUILD
@@ -7,7 +7,7 @@ _pkgnamex=${_pkgname1^}_${_pkgname2^}
_pkgnamey=${pkgname}s
_pkgnamez=ha-${_pkgname1}${_pkgname2}
pkgver=3.9.5
-pkgrel=5
+pkgrel=6
pkgdesc='Standardized interface for a cluster resource (Linux-HA)'
arch=(
i686
@@ -28,7 +28,7 @@ depends=(
)
optdepends=net-tools
makedepends=(
- libxslt
+ #libxslt
libvirt
net-tools
openssh
@@ -47,42 +47,42 @@ prepare() {
' configure.ac
sed -i 's|INCLUDES|AM_CPPFLAGS|;
- ' $(grep -rl INCLUDES | grep Makefile.am)
+ ' $(grep -rlI INCLUDES | grep Makefile.am)
# fixing path
sed -i 's|bin/sh|usr/bin/bash|;
- ' $(grep -rl bin/sh)
+ ' $(grep -rlI bin/sh)
sed -i 's| /bin| /usr/bin|;
- ' $(grep -rl ' /bin')
+ ' $(grep -rlI ' /bin')
sed -i 's| /sbin| /usr/bin|;
- ' $(grep -rl ' /sbin')
+ ' $(grep -rlI ' /sbin')
sed -i 's|usr/sbin|usr/bin|;
- ' $(grep -rl usr/sbin)
+ ' $(grep -rlI usr/sbin)
sed -i 's|/lib64|/lib|;
- ' $(grep -rl /lib64)
+ ' $(grep -rlI /lib64)
#sed -i 's|usr/libexec|usr/lib|;
- # ' $(grep -rl usr/libexec)
+ # ' $(grep -rlI usr/libexec)
sed -i 's|var/lock|run/lock|;
- ' $(grep -rl var/lock)
+ ' $(grep -rlI var/lock)
sed -i 's|var/run|run|;
- ' $(grep -rl var/run)
+ ' $(grep -rlI 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|Open Source|Free|;
+ s|open source|free|;
s|Free Software Development Lab|Open Source Development Lab|;
- ' $(grep -ril 'open source')
+ ' $(grep -rilI 'open source')
sed -i 's|OpenSource / ||;
s|opensource / ||;
- s|OpenSource|FreeSoftware|;
- s|opensource|freesoftware|;
+ s|OpenSource|Free|;
+ s|opensource|free|;
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)
+ ' $(grep -rilI opensource)
# remove Linux term
sed -i 's|Linux,|GNU/Linux,|;
@@ -161,7 +161,7 @@ prepare() {
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)
+ ' $(grep -rlI Linux)
}
build() {
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/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/samplv1/PKGBUILD b/pcr/samplv1/PKGBUILD
new file mode 100644
index 000000000..e2258a88b
--- /dev/null
+++ b/pcr/samplv1/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Guest One <theguestone at gmail dot com>
+
+pkgname=samplv1
+pkgver=0.3.3
+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')
+install="$pkgname.install"
+source=("http://download.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+md5sums=('2540ab3ef3da39bd4da8a1ab8ff9334d')
+
+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..029294d67
--- /dev/null
+++ b/pcr/samplv1/samplv1.install
@@ -0,0 +1,12 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor 2> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
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/spacenav-daemon/PKGBUILD b/pcr/spacenav-daemon/PKGBUILD
new file mode 100644
index 000000000..0f06af418
--- /dev/null
+++ b/pcr/spacenav-daemon/PKGBUILD
@@ -0,0 +1,44 @@
+# Maintainer (Parabola): 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/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/yafaray-git/PKGBUILD b/pcr/yafaray/PKGBUILD
index 1d4b3436c..e3c0381d8 100644
--- a/pcr/yafaray-git/PKGBUILD
+++ b/pcr/yafaray/PKGBUILD
@@ -1,18 +1,18 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
pkgname=(
- yafaray-git
- blender-addon-yafaray-git
+ yafaray
+ blender-addon-yafaray
)
-_pkgflag=git
-_pkgname=${pkgname[0]%-$_pkgflag}
+_pkgname=${pkgname[0]}
_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
+_pkgdate=20130510
+pkgver=1.5.$_pkgdate
+_srcver=44323def5b3866ff601fd401ef2160b80ced8141 # Fri May 10 00:57:12 2013 -0700 - Merge pull request #67 from DarkTide/master // Depth fix for hist on background
+_bldver=2.67
+_bldep=8
_pyver=3.3
pkgrel=1
pkgdesc='A libre software raytracing engine'
@@ -27,7 +27,7 @@ depends=(
freetype2
libjpeg
libxml2
- 'openexr=2.0.0'
+ openexr
)
optdepends=(
'python: Python bindings'
@@ -41,17 +41,17 @@ makedepends=(
qt4
swig
)
-provides=($_pkgname=$_pkgver)
-conflicts=$_pkgname
source=(
- git://github.com/YafaRay/$_gitname.$_pkgflag
- git://github.com/YafaRay/$_addname.$_pkgflag
+ git://github.com/YafaRay/$_gitname.git
+ git://github.com/YafaRay/$_addname.git
)
sha512sums=(SKIP SKIP)
prepare() {
cd $srcdir/$_gitname
+ git checkout $_srcver
+
[[ -d build ]] && rm -r build
mkdir build
}
@@ -62,17 +62,17 @@ 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() {
+package_yafaray() {
cd $srcdir/$_gitname/build
setarch $CARCH make DESTDIR=$pkgdir install
}
-package_blender-addon-yafaray-git() {
+package_blender-addon-yafaray() {
pkgver=$pkgver.v$_bldver
+ _srcver=e6688fc4f480bcb1ae7d0a6dbe65563b3d070169 # Fri May 10 00:24:58 2013 -0700 - Merge pull request #14 from DarkTide/master // Version bump, and some other fixes
pkgdesc="A addon for the ${_bldname^} which allows render with YafaRay (built for the $_bldname-libre package)"
arch=any
depends=(
@@ -80,24 +80,14 @@ package_blender-addon-yafaray-git() {
"$_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
+ optdepends=
cd $srcdir/$_addname
a=/usr/lib
b=$pkgdir/usr/share/$_bldname/$_bldver/scripts/addons/$_pkgname/bin
+ git checkout $_srcver
git checkout-index -a -f --prefix=${b%bin}
install -d $b