summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/blender-addon-ogre/PKGBUILD31
-rw-r--r--pcr/collada-dom/PKGBUILD20
-rw-r--r--pcr/command-not-found/PKGBUILD47
-rw-r--r--pcr/command-not-found/install3
-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/drumkv1/PKGBUILD9
-rw-r--r--pcr/drumkv1/drumkv1.install1
-rw-r--r--pcr/etckeeper/PKGBUILD33
-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-toolkit-gps/PKGBUILD53
-rw-r--r--pcr/kervalasquish-hg/PKGBUILD72
-rw-r--r--pcr/libav/PKGBUILD88
-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/mathjax/PKGBUILD21
-rw-r--r--pcr/mimms/PKGBUILD30
-rw-r--r--pcr/miniupnpd/PKGBUILD10
-rw-r--r--pcr/mitsuba/PKGBUILD119
-rw-r--r--pcr/mitsuba/blender-addon-mitsuba.install11
-rw-r--r--pcr/otf-stix/PKGBUILD37
-rw-r--r--pcr/otf-stix/otf-stix.install16
-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-unidecode/PKGBUILD18
-rw-r--r--pcr/ryzom-hg-client/PKGBUILD37
-rw-r--r--pcr/ryzom-hg-nel/PKGBUILD42
-rw-r--r--pcr/ryzom-hg/PKGBUILD84
-rw-r--r--pcr/ryzom-hg/SRCBUILD40
-rw-r--r--pcr/ryzom-hg/ryzom.sh9
-rw-r--r--pcr/samplv1/PKGBUILD9
-rw-r--r--pcr/samplv1/samplv1.install1
-rw-r--r--pcr/synthv1/PKGBUILD9
-rw-r--r--pcr/synthv1/synthv1.install1
-rw-r--r--pcr/tanglet/PKGBUILD28
-rw-r--r--pcr/tanglet/tanglet.install11
-rw-r--r--pcr/ttf-asana-math/PKGBUILD30
-rw-r--r--pcr/ttf-asana-math/ttf-asana-math.install11
-rw-r--r--pcr/yafaray/PKGBUILD99
-rw-r--r--pcr/youtube-dl-current/PKGBUILD31
-rw-r--r--pcr/zoneminder/PKGBUILD209
-rw-r--r--pcr/zoneminder/sysctl-zoneminder.conf3
-rw-r--r--pcr/zoneminder/zoneminder.install69
55 files changed, 1671 insertions, 641 deletions
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/collada-dom/PKGBUILD b/pcr/collada-dom/PKGBUILD
index 1b42c921c..7fceb3678 100644
--- a/pcr/collada-dom/PKGBUILD
+++ b/pcr/collada-dom/PKGBUILD
@@ -1,15 +1,15 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
+# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
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/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/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/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/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-toolkit-gps/PKGBUILD b/pcr/gimp-toolkit-gps/PKGBUILD
deleted file mode 100644
index 9f5784608..000000000
--- a/pcr/gimp-toolkit-gps/PKGBUILD
+++ /dev/null
@@ -1,53 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=gimp-toolkit-gps
-_pkgname=${pkgname:13}
-_reqname=${pkgname::4}
-pkgver=2.0
-_pkgver=${pkgver/./_}
-pkgrel=1
-_pkgsrc1=${_pkgname^^}%20$_pkgver%20final
-_pkgsrc2=${_pkgname^^}%20extras
-pkgdesc='GIMP Paint Studio is a collection of brushes and accompanying tool presets. highly useful feature of the GIMP.'
-arch=any
-license=(
- GPL2
- CCPL:by-sa
-)
-url=https://code.google.com/p/$_pkgname-gimp-paint-studio
-depends=gimp
-conflicts=${pkgname/kit/set}
-replaces=${pkgname/kit/set}
-makedepends=unzip-libre
-noextract=(
- $_pkgsrc1.zip
- $_pkgsrc2.zip
-)
-source=(
- https://$_pkgname-gimp-paint-studio.googlecode.com/files/$_pkgsrc1.zip
- https://$_pkgname-gimp-paint-studio.googlecode.com/files/$_pkgsrc2.zip
-)
-sha512sums=(
- b06016eab194db7862590940c6fb7e9c14bbb6d3ce83c2b85293da2c75ecf8b9e64585a38f749da36d63e2711a25a0073415568f10be4b997120d93ba2b5c112
- c3ef322898299bde60f2c8e29ebdd5fa47236f6b2859bf5d3d01a92290e1ad888ba71b0813f7325921c87bf57632cf794da31e8ccab0c46cb020be52d2c1135f
-)
-
-prepare() {
- a=$srcdir/$_pkgname-$pkgver
- mkdir $a
- unzip $srcdir/$_pkgsrc1.zip -d $a
- unzip $srcdir/$_pkgsrc2.zip -d $a
- # drop useless splashes
- rm -v $a/splashes/* && rmdir -v $a/splashes
- # fix perm for custom umask
- find $srcdir/$_pkgname-$pkgver -type d -exec chmod 0755 -R {} \; &&\
- find $srcdir/$_pkgname-$pkgver -type f -exec chmod 0644 -R {} \;
-}
-
-package() {
- b=$pkgdir/usr/share/gimp/2.0
- install -d $b
- cp -va $srcdir/$_pkgname-$pkgver/* $b
-}
-
-# vim:set ts=2 sw=2 et:
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/libav/PKGBUILD b/pcr/libav/PKGBUILD
index 782e12a15..c0fb9e062 100644
--- a/pcr/libav/PKGBUILD
+++ b/pcr/libav/PKGBUILD
@@ -1,23 +1,15 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
-static=false
-_pkgname=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.7
-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://$_pkgname.org/
+url=http://$pkgname.org/
license=GPL3
depends=(
alsa-lib
@@ -45,20 +37,33 @@ makedepends=(
yasm
libvdpau
)
-source=http://$_pkgname.org/releases/$_pkgname-$pkgver.tar.gz
-sha512sums=6a446e8dceb9ee4f1fb7a7d68d254086990bbcab5b1014598b21c75e0add22dab47c30a95bc3129835cc40a8d32de9c61fb267b2fa2aa9353dbbfc4b716767e4
+source=http://$pkgname.org/releases/$pkgname-$pkgver.tar.gz
+sha512sums=ef7c164fb29d365a236ead927e6355ca9191203dce86f0d0d8251f275ed5be4ab5e3f56a0c51384d7b9e83c3c3ef7ebdee95c9a7ac7b6520eaf25973a2bd20ae
build() {
- cd $_pkgname-$pkgver
-
- [[ $static == false ]] && sttcv=disable || sttcv=enable
-
- setarch $CARCH ./configure\
- --prefix=/opt/$pkgname\
+ 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\
+ $_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-avserver\
--enable-dxva2\
--enable-gpl\
--enable-libfreetype\
@@ -77,32 +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 $_pkgname-$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/avserver $pkgdir/usr/bin/avserver$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
- ln -s /opt/$pkgname/share/man/man1/avserver.1 $pkgdir/usr/share/man/man1/avserver$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/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/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/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 da6f373c9..e88427488 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.20130607
+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,5 +39,5 @@ package() {
cd "$pkgdir"
mv usr/sbin usr/bin
}
-md5sums=('484dbda7c428b2d5f3768500a48d3375'
- 'f862f79b673359adc80faf0be914394f')
+md5sums=('55688b5eb5025095b1da49f841e62792'
+ '0c3f1777b6c043dd5029092d62896660')
diff --git a/pcr/mitsuba/PKGBUILD b/pcr/mitsuba/PKGBUILD
index f2d7f83b0..0961ef11d 100644
--- a/pcr/mitsuba/PKGBUILD
+++ b/pcr/mitsuba/PKGBUILD
@@ -1,25 +1,31 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
-pkgname=(
- mitsuba
- blender-addon-mitsuba
-)
-_pkgname=${pkgname[0]}
-_bldname=${pkgname[1]::7}
+_pkgname=mitsuba
+_pkgver=0.4.4
+_pkgrel=4
+_bldname=blender
+_bldver=2.68
+_bldep=9
_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=8
+_addrel=3
_pyver=3.3
-pkgrel=3
+
+# 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://www.$_pkgname-renderer.org/
license=GPL3
@@ -28,7 +34,7 @@ depends=(
collada-dom
glew
libxxf86vm
- openexr
+ openexr-libre
qt4
xerces-c
)
@@ -43,86 +49,93 @@ makedepends=(
mercurial
python
)
-install=$_pkgname.install
source=(
- ${url}hg/$_pkgname/archive/v$pkgver.tar.bz2
- hg+${url}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
- SKIP SKIP
+ c829978a28c7780605662c604450c3d00b8ac958310e26aa7ad02dfb50f1875420e0e85fe0c868e030946c894cb939d18a4589c9e06a169f86eba5948eb2147e
)
prepare() {
- mv $srcdir/${pkgname[1]}.install $startdir
-
cd $srcdir/$_pkgname-v$pkgver
- [[ -d build ]] && rm -r build
- mkdir build
+ 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
- cd $startdir/../srcdest/$_addname
+ msg 'removing Open Source term'
+ sed -i 's|free-software/open-source|free-software|
+ ' include/$_pkgname/core/quad.h
- msg "${pkgname[1]}"
- hg update -c -r $_addrev
- hg log -l 1 -r $_addrev
+ [[ -d build ]] && rm -vr build
+ mkdir -v build
}
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-v$pkgver/build
- setarch $CARCH make DESTDIR=$pkgdir install
+ make DESTDIR=$pkgdir install
+ install=$_pkgname.install
- #fixing files and folders location
+ msg 'fixing files and folders location'
a=$pkgdir/usr
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}
- mv $a/{python/mitsuba.so,lib/python$_pyver/lib-dynload}
- mv $a/{sdk/include,}
- rmdir $a/{python,sdk}
+ 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-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/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/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-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/ryzom-hg-client/PKGBUILD b/pcr/ryzom-hg-client/PKGBUILD
deleted file mode 100644
index 294e28024..000000000
--- a/pcr/ryzom-hg-client/PKGBUILD
+++ /dev/null
@@ -1,37 +0,0 @@
-# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
-# Maintainer: Jorge Araya Navarro <jorge@abril>
-pkgname=ryzom-hg-client
-pkgver=20130706
-pkgrel=2
-pkgdesc="An awesome free software 3D MMORPG game, Game client."
-arch=('i686' 'x86_64')
-url="http://www.ryzom.com/"
-license=('AGPL')
-groups=("ryzom-hg")
-depends=('ryzom-hg-nel' 'expat')
-makedepends=('cpptest' 'cmake' 'bison' 'ryzom-hg-nel')
-provides=("ryzom-hg-client")
-conflicts=("ryzom-hg-client")
-replaces=("ryzom-hg-client")
-source=("http://repo.parabolagnulinux.org/other/ryzom-$pkgver-$pkgrel-any.src.tar.gz")
-sha256sums=('03ddd23d0b2e92c419dcdebe264890b5b1c906992ae93225be43869739f9f475')
-mksource=("ryzom-$pkgver-${pkgrel}::hg+https://bitbucket.org/ryzomcore")
-_CMAKE_COMMON_ARGS=('-DWITH_STATIC=ON' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_LUA51=ON' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=ON') # cmake arguments for server and client
-
-_CMAKE_CLIENT_ARGS=( '-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=ON' '-DWITH_NEL=OFF') # cmake args for building client
-
-build() {
- mkdir -p "$srcdir/build-client"
- cd "$srcdir/build-client"
- cmake -b -Wno-dev "$srcdir/code" ${_CMAKE_COMMON_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
-
- make
-}
-
-package() {
- cd "$srcdir/build-client"
- make DESTDIR="$pkgdir" install
- install -Dm 644 "$srcdir/ryzom.desktop" "$pkgdir/usr/share/applications/"
-}
-
-# vim:set ts=2 sw=2 et:
diff --git a/pcr/ryzom-hg-nel/PKGBUILD b/pcr/ryzom-hg-nel/PKGBUILD
deleted file mode 100644
index c66aaf567..000000000
--- a/pcr/ryzom-hg-nel/PKGBUILD
+++ /dev/null
@@ -1,42 +0,0 @@
-# $Id: pkgbuild-mode.el,v 1.23 2007/10/20 16:02:14 juergen Exp $
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=ryzom-hg-nel
-pkgver=20130706
-pkgrel=5
-pkgdesc="An awesome free software 3D MMORPG game, Game client."
-arch=('i686' 'x86_64')
-url="http://www.ryzom.com/"
-license=('AGPL')
-groups=("ryzom-hg")
-depends=('curl' 'freetype2' 'libx11' 'mesa' 'libxxf86vm' 'openal' 'freealut' 'libogg' 'libvorbis' 'libxml2' 'libpng' 'libjpeg' 'rrdtool' 'libwww' 'boost' 'luabind' 'libsquish' 'lua51' 'lua51-sql-mysql')
-makedepends=('cpptest' 'cmake' 'bison')
-provides=("ryzom-hg-nel")
-conflicts=("ryzom-hg-nel")
-replaces=("ryzom-hg-nel")
-
-source=("http://repo.parabolagnulinux.org/other/ryzom-$pkgver-2-any.src.tar.gz")
-sha256sums=('03ddd23d0b2e92c419dcdebe264890b5b1c906992ae93225be43869739f9f475')
-
-mksource=("$pkgname-$pkgver-${pkgrel}::hg+https://bitbucket.org/ryzomcore")
-
-_CMAKE_COMMON_ARGS=('-DWITH_STATIC=OFF' '-DWITH_NEL_TOOLS=OFF' '-DWITH_NEL_TESTS=OFF' '-DWITH_NEL_SAMPLES=OFF' '-DWITH_RYZOM_TOOLS=OFF') # cmake arguments for server and client
-
-_CMAKE_LIB_ARGS=('-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=OFF' '-DWITH_NEL=ON')
-
-build() {
- mkdir -p "$srcdir/build-nel"
- cd "$srcdir/build-nel"
- cmake -b -Wno-dev "$srcdir/code" ${_CMAKE_COMMON_ARGS[*]} ${_CMAKE_LIB_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
-
- make
-}
-
-package() {
- cd "$srcdir/build-nel"
- make DESTDIR="$pkgdir" install
- # WWWInit.h is in /usr/include/w3c-libwww according to libwww package!
- sed -ie 's/WWWInit\.h/w3c-libwww\/WWWInit.h/' ${pkgdir}/usr/include/nel/gui/group_html.h
-}
-
-# vim:set ts=2 sw=2 et:
-
diff --git a/pcr/ryzom-hg/PKGBUILD b/pcr/ryzom-hg/PKGBUILD
index 8277ccf17..0951e474d 100644
--- a/pcr/ryzom-hg/PKGBUILD
+++ b/pcr/ryzom-hg/PKGBUILD
@@ -1,64 +1,50 @@
# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
# Maintainer (aur): Bjoern Bidar <theodorstormgrade@gmail.com>
-pkgname=('ryzom-hg-nel' 'ryzom-hg-client')
-pkgbase="ryzom-hg"
-pkgver=20130706
-pkgrel=2
+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')
-groups=('ryzom-hg')
-depends=('curl' 'freetype2' 'libx11' 'mesa' 'libxxf86vm' 'openal' 'freealut' 'libogg' 'libvorbis' 'libxml2' 'libpng' 'libjpeg' 'rrdtool' 'libwww' 'boost' 'luabind' 'libsquish' 'lua51' 'lua51-sql-mysql')
-makedepends=('mercurial' 'cpptest' 'cmake' 'bison')
-# ryzom-20130706-2-any.src.tar.gz
-source=("http://repo.parabolagnulinux.org/other/ryzom-20130706-2-any.src.tar.gz"
- 'ryzom.sh'
- 'ryzom.desktop')
-sha256sums=('03ddd23d0b2e92c419dcdebe264890b5b1c906992ae93225be43869739f9f475'
- 'd3d8286f5b60a63cbda83795cbe1a1d6e1442f33116502cc6563f8db86e458b6'
- '722c60ceb198214620b11a0866f458578e1128d39e63274ea8b43c1ed96ff196')
+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-${pkgrel}::hg+https://bitbucket.org/ryzomcore")
+mksource=(".$pkgname-$pkgver::hg+https://bitbucket.org/ryzom/ryzomcore#revision=${_hgver}")
-_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_LIB_ARGS=('-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=OFF' '-DWITH_DRIVER_OPENGL=OFF' '-DWITH_DRIVER_OPENAL=OFF' '-DWITH_NEL=ON')
-
-_CMAKE_CLIENT_ARGS=( '-DWITH_RYZOM_SERVER=OFF' '-DWITH_RYZOM_CLIENT=ON' '-DWITH_NEL=OFF') # cmake args for building client
+mksource() {
+ rm -rf "$srcdir/$pkgname-$pkgver"
+ cp -a "$srcdir/.$pkgname-$pkgver/code" "${srcdir}/${pkgname}-${pkgver}"
+}
-package_ryzom-hg-nel() {
- # options and directives that can be overridden
- #pkgver=20130706
- #pkgrel=0
- pkgdesc="An awesome free software 3D MMORPG game. NeL library."
- #depends=()
+build() {
+ 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
- provides=('ryzom-hg-nel')
- conflicts=('ryzom-hg-nel')
- replaces=('ryzom-hg-nel')
-
- mkdir -p "$srcdir/build-nel"
- cd "$srcdir/build-nel"
-
- cmake -b -Wno-dev "$srcdir/code" ${_CMAKE_COMMON_ARGS[*]} ${_CMAKE_LIB_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
- make
- make DESTDIR="$pkgdir" install
+ make all
}
-package_ryzom-hg-client() {
- # options and directives overrides
- pkgdesc="An awesome free software 3D MMORPG game. Game client."
- provides=('ryzom-hg-client')
- conflicts=('ryzom-hg-client')
- replaces=('ryzom-hg-client')
- depends=('ryzom-hg-nel')
-
- mkdir -p "$srcdir/build-client"
- cd "$srcdir/build-client"
-
- cmake -b -Wno-dev "$srcdir/code" ${_CMAKE_COMMON_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
- make
+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/SRCBUILD b/pcr/ryzom-hg/SRCBUILD
deleted file mode 100644
index a04662b0d..000000000
--- a/pcr/ryzom-hg/SRCBUILD
+++ /dev/null
@@ -1,40 +0,0 @@
-# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com>
-pkgname=("ryzom-hg")
-pkgver=20130708
-pkgrel=3
-pkgdesc="An awesome free software 3D MMORPG game"
-arch=(any)
-url="https://www.ryzom.com/"
-license=('AGPL3')
-makedepends=('mercurial')
-
-source=("ryzom.sh"
- "ryzom.desktop")
-
-_hgroot='https://bitbucket.org/ryzom/ryzomcore'
-_hgrepo='ryzomcore'
-
-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"
-}
-
-package() {
- PKGEXT=${SRCEXT}
- PKGDEST=${SRCDEST}
- cp ${srcdir}/ryzom.sh ${pkgdir}/
- cp ${srcdir}/ryzom.desktop ${pkgdir}/
- cp -a ${srcdir}/ryzomcore/code ${pkgdir}/
-}
-sha256sums=('d3d8286f5b60a63cbda83795cbe1a1d6e1442f33116502cc6563f8db86e458b6'
- '722c60ceb198214620b11a0866f458578e1128d39e63274ea8b43c1ed96ff196')
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
index e2258a88b..33be54edf 100644
--- a/pcr/samplv1/PKGBUILD
+++ b/pcr/samplv1/PKGBUILD
@@ -1,17 +1,16 @@
-# Maintainer: Guest One <theguestone at gmail dot com>
pkgname=samplv1
-pkgver=0.3.3
+pkgver=0.3.4
pkgrel=1
pkgdesc="Polyphonic sampler 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=('2540ab3ef3da39bd4da8a1ab8ff9334d')
+md5sums=('32e920ff8457bb94f301a657d55f90a8')
build() {
cd "$srcdir/$pkgname-$pkgver"
diff --git a/pcr/samplv1/samplv1.install b/pcr/samplv1/samplv1.install
index 029294d67..ec1a84bbb 100644
--- a/pcr/samplv1/samplv1.install
+++ b/pcr/samplv1/samplv1.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/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/tanglet/PKGBUILD b/pcr/tanglet/PKGBUILD
new file mode 100644
index 000000000..23e20cd6c
--- /dev/null
+++ b/pcr/tanglet/PKGBUILD
@@ -0,0 +1,28 @@
+# Maintainer (Arch): Graeme Gott <graeme@gottcode.org>
+# Maintainer (Parabola): Alon Ivtsan <alonivtsan@lavabit.com>
+# Based on https://aur.archlinux.org/packages.php?ID=32311
+
+pkgname=tanglet
+pkgver=1.2.1
+pkgrel=3
+pkgdesc="A single player word finding game based on Boggle."
+arch=('i686' 'x86_64')
+url="http://gottcode.org/${pkgname}/"
+license=('GPL3')
+depends=('qt4')
+install=${pkgname}.install
+source=(http://gottcode.org/${pkgname}/${pkgname}-${pkgver}-src.tar.bz2)
+md5sums=('109ad08a03cc64808fa2caad6c3a4a7c')
+sha256sums=('94f4c5c76020ec1fe502ff076fbe5471e497d4b7bcabd1e9059e1022d1ce80c8')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ qmake-qt4 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..e70c054ec
--- /dev/null
+++ b/pcr/tanglet/tanglet.install
@@ -0,0 +1,11 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
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/yafaray/PKGBUILD b/pcr/yafaray/PKGBUILD
index e3c0381d8..458181279 100644
--- a/pcr/yafaray/PKGBUILD
+++ b/pcr/yafaray/PKGBUILD
@@ -1,33 +1,42 @@
# Maintainer: Márcio Silva <coadde@lavabit.com>
-pkgname=(
- yafaray
- blender-addon-yafaray
-)
-_pkgname=${pkgname[0]}
-_bldname=${pkgname[1]::7}
+_pkgname=yafaray
+_pkgver=1.5
+_pkgrel=3
+_pkgdate=20130510
+_bldname=blender
+_bldver=2.68
+_bldep=9
_gitname=Core
_addname=${_bldname^}-Exporter
-_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
+_addrel=1
+_adddate=20130623
_pyver=3.3
-pkgrel=1
-pkgdesc='A libre software raytracing engine'
+
+# 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=(
- i686
- x86_64
mips64el
+ x86_64
+ i686
)
-url="http://www.$_pkgname.org"
+url=http://www.$_pkgname.org
license=LGPL2.1
depends=(
freetype2
libjpeg
libxml2
- openexr
+ openexr-libre
)
optdepends=(
'python: Python bindings'
@@ -42,58 +51,62 @@ makedepends=(
swig
)
source=(
- git://github.com/YafaRay/$_gitname.git
- git://github.com/YafaRay/$_addname.git
+ $_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
)
-sha512sums=(SKIP SKIP)
prepare() {
- cd $srcdir/$_gitname
+ cd $srcdir/$_gitname-$_srcver
+
+ msg 'Renaming addon dir'
+ mv -v $srcdir/$_addname-$_addver $srcdir/$_pkgname
- git checkout $_srcver
+ msg 'renaming wrong OS name'
+ sed -i 's|Linux|GNU/Linux|
+ ' $srcdir/$_pkgname/prop/yaf_scene.py
- [[ -d build ]] && rm -r build
- mkdir build
+ [[ -d build ]] && rm -vr build
+ mkdir -v build
}
build() {
- cd $srcdir/$_gitname/build
-
- setarch $CARCH cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
+ cd $srcdir/$_gitname-$_srcver/build
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr\
-DYAF_PY_VERSION=$_pyver\
-DYAF_BINDINGS_PY_DIR=/usr/lib/python$_pyver
- setarch $CARCH make
+ make
}
package_yafaray() {
- cd $srcdir/$_gitname/build
- setarch $CARCH make DESTDIR=$pkgdir install
+ cd $srcdir/$_gitname-$_srcver/build
+ make DESTDIR=$pkgdir install
}
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=(
- ${pkgname:14}=${pkgver%.v$_bldver}
- "$_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.$_adddate.v$_bldver
+ pkgrel=$_addrel
optdepends=
- cd $srcdir/$_addname
+ cd $srcdir
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
- 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
+ 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..311e554e7
--- /dev/null
+++ b/pcr/youtube-dl-current/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer (Arch): 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.08.02
+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})
+md5sums=('772d2bbf3e9bcfc3da05d956cf6d8705'
+ 'SKIP')
+
+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"
+}
diff --git a/pcr/zoneminder/PKGBUILD b/pcr/zoneminder/PKGBUILD
index bf03b4133..ede03dd77 100644
--- a/pcr/zoneminder/PKGBUILD
+++ b/pcr/zoneminder/PKGBUILD
@@ -7,27 +7,24 @@
# based of debian squeeze package
-pkgbase=zoneminder
+_automake=1.14
+
pkgname=zoneminder
pkgver=1.25.0
-pkgrel=27
+pkgrel=28
pkgdesc='Capture, analyse, record and monitor video security cameras'
arch=(
- i686
- x86_64
mips64el
- arm
-)
-backup=(
- etc/zm.conf
-)
-url="http://www.$pkgbase.com"
-license=(
- GPL
+ x86_64
+ i686
)
+backup=etc/zm.conf
+url=http://www.$pkgname.com
+license=GPL2
depends=(
apache
cambozola
+ ffmpeg
gnutls
mariadb
perl-archive-zip
@@ -48,108 +45,158 @@ 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
- zoneminder-1.25.0-kernel35.patch
- zoneminder-1.25.0-gcc47.patch
- zoneminder-1.25.0-ffmpeg.patch
- zoneminder-1.25-text.patch
- zoneminder-1.25-fixwarning.patch
- zoneminder-1.25.0-gcrypt.patch
+ 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
- 4fa79e49a3c04e9fdc9823792c6a28012002479c77ed41637bd2d21f089e4c15592bfcd5c24028f356c9f80d774a5080a6841e8e70a435d607e3089d0b121775
- 3da7d4d21dea166ea12b49e88a05a9f7a75790881a1f2d7588fa9e0e6ce592b4b5ee71994fa8b05236efeeb57890157a622c752c12a9059c2ee915adf3b4660d
+ 7330c179f1e2db815a675560d3d84648be02f7d0292f8cbe21d6033577fe688ed71ad23b5b8c9dc309395b45ebb554f9499e7a4b57091959b69679011fa59044
7fc2a4663c3103bef641be065bd7992a2b3dc0699f1b99dc2fdb34c1c48e58686e490d3ade523ef7c8e29b3f04109658eef652c26ff6ee3fb9aee65453bdb6c4
- 17b85051543c34a41c6b94ec8f46a10927aa4bc9554562650788c8257ffba8e362500cf3641708f2f9dabebc663a2d012fa9feacd7f9b33c637fbc965d405adf
- 8eab0a922968465fee8537dc035ce781e51dc84cc05259a32acb5bf59c618bc1700dbf4eec90717ed5959841def119357974d109df8d7450c12ca4ea8576e55c
8c9e7debcaf60be1c2dda656f95e497f6812d704edc3ca4a1c915a3b3c9dc1749c91d96bc2d60db7d90d5edfd9e2dfc39010dfe4feabfecfffd27f1fffc3d675
)
+prepare() {
+ cd $srcdir/ZoneMinder-$pkgver
+
+ # 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 '\|ZM_CHECK_FOR_UPDATES|,+1 s|yes|no|;
+ ' scripts/ZoneMinder/lib/ZoneMinder/ConfigData.pm.in
+
+ # Patch for support html5 video and flv
+ 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 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 '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 '\|^$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
- # 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
- sed -i -e '/am__api_version=/ s/1.11/1.13.1/'\
- configure || read
- # Patch for add more socket tries
- sed -i -e '/$max_socket_tries/ s/3/15/'\
- web/ajax/stream.php || read
- # 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 wrong "suppported"
- sed -i -e 's/suppported/supported/'\
- src/zm_local_camera.cpp || read
-
-
- patch -Np1 -F99 -i ../zoneminder-1.25.0-kernel35.patch
- patch -Np1 -F99 -i ../zoneminder-1.25.0-gcc47.patch
- patch -Np1 -F99 -i ../zoneminder-1.25.0-ffmpeg.patch
- patch -Np1 -F99 -i ../zoneminder-1.25-text.patch
- patch -Np1 -F99 -i ../zoneminder-1.25-fixwarning.patch
- patch -Np1 -F99 -i ../zoneminder-1.25.0-gcrypt.patch
-
-export CXXFLAGS=-D__STDC_CONSTANT_MACROS
-./configure --prefix=/usr\
+
+ # 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\
--enable-debug=no\
--enable-mmap=yes\
--sysconfdir=/etc\
--with-cgidir=/srv/http/cgi-bin\
--with-extralibs='-L/usr/lib -L/usr/lib/mysql'\
+ --with-ffmpeg=/usr\
--with-libarch=lib\
- --with-ffmpeg=/usr \
--with-mysql=/usr\
- --with-webdir=/srv/http/$pkgbase\
+ --with-webdir=/srv/http/$pkgname\
--with-webgroup=http\
--with-webhost=localhost\
- --with-webuser=http \
-
+ --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}}
- mkdir -p $pkgdir/srv/zoneminder/socks
- chown -R http.http $pkgdir/{etc/zm.conf,var/{cache/$pkgbase,log/$pkgbase}}
- chown -R http.http $pkgdir/srv/zoneminder/socks
- 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.install b/pcr/zoneminder/zoneminder.install
index 899e2a5d1..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/^;//;
@@ -69,8 +70,11 @@ post_install() {
/^open_basedir/ s/:\/srv\/http\/zoneminder//;
/^open_basedir/ s/:\/srv\/http\/zoneminder\///;
/^open_basedir/ s/$/:\/srv\/http\/zoneminder/;
- ' /etc/php/php.ini || read
- sed -i -e '
+ /^open_basedir/ s/:\/var\/cache\/zoneminder//;
+ /^open_basedir/ s/:\/var\/cache\/zoneminder\///;
+ /^open_basedir/ s/$/:\/var\/cache\/zoneminder/;
+ ' /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;
@@ -78,11 +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"
@@ -92,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"
@@ -105,11 +115,11 @@ Note for php:
==> "extension=openssl.so"
==> "extension=ftp.so"
==> "extension=zip.so"
-==> check and add to open_basedir "/etc" and
-==> "/srv/http/zoneminder" like so
-==> "open_basedir = /home:/tmp:/usr/share/pear:/etc:/srv/http/zoneminder"
+==> check and add to open_basedir "/etc",
+==> "/srv/http/zoneminder" and "/var/cache/zoneminder" like so
+==> "open_basedir = /home:/tmp:/usr/share/pear:/etc:/srv/http/zoneminder:/var/cache/zoneminder"
==> and set your timezone in php.ini:
-==> "date.timezone = <your_country>/<your_city>"
+==> "date.timezone = <your_zone>/<your_city>"
Note for apache:
==> You must edit /etc/httpd/conf/httpd.conf and add the line:
@@ -122,21 +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\///;
- ' /etc/php/php.ini || read
- sed -i -e '
+ /^open_basedir/ s/:\/var\/cache\/zoneminder\///
+ ' /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):
@@ -165,9 +179,12 @@ Note:
==> "extension=mysqli.so"
==> "extension=session.so"
==> "extension=sockets.so"
-==> "date.timezone = <my_country>/<my_city>"
+==> "date.timezone = <my_zone>/<my_city>"
+
+==> Drop http user on video group if it isn't needed with others servers:
+==> gpasswd -d http video
-==> Edit /etc/php/php.ini and remove "/etc" and "/srv/http/zoneminder"
+==> Edit /etc/php/php.ini and remove "/etc", "/srv/http/zoneminder" and "/var/cache/zoneminder"
==> in the "open_basedir".
==> Remove log files and "zonemider" directory in "/var/log/zoneminder".