summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
Diffstat (limited to 'pcr')
-rw-r--r--pcr/bsnes/PKGBUILD77
-rw-r--r--pcr/bsnes/bsnes.changelog487
-rw-r--r--pcr/bsnes/bsnes.install18
-rw-r--r--pcr/mednafen-wip/PKGBUILD48
-rw-r--r--pcr/python2-polib/PKGBUILD25
-rw-r--r--pcr/python2-relatorio/PKGBUILD21
-rw-r--r--pcr/trytond/PKGBUILD31
-rw-r--r--pcr/trytond/trytond.install20
-rw-r--r--pcr/trytond/trytond.rc52
-rw-r--r--pcr/uci/PKGBUILD42
-rw-r--r--pcr/uci/uci-0.8.0-lua5.1.patch31
-rw-r--r--pcr/wayland/PKGBUILD44
12 files changed, 222 insertions, 674 deletions
diff --git a/pcr/bsnes/PKGBUILD b/pcr/bsnes/PKGBUILD
deleted file mode 100644
index 04c61bc30..000000000
--- a/pcr/bsnes/PKGBUILD
+++ /dev/null
@@ -1,77 +0,0 @@
-# Contributor: [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
-# Split-package support hack for AUR.
-pkgname='bsnes'
-
-true && pkgbase='bsnes'
-true && pkgname=('bsnes' 'bsnes-purify')
-pkgver=090
-pkgrel=2
-pkgdesc='Super Nintendo Entertainment System (SNES) emulator focused on accuracy.'
-arch=('i686' 'x86_64')
-url='http://byuu.org/bsnes/'
-license=('GPL3')
-depends=('libao' 'libgl' 'libxv' 'openal' 'sdl' 'qt>=4.8.0')
-makedepends=('pkgconfig' 'mesa')
-install='bsnes.install'
-changelog='bsnes.changelog'
-source=('http://bsnes.googlecode.com/files/bsnes_v090-source.tar.xz')
-md5sums=('c9642dae4255f5c6022b2217d64d3bc5')
-
-__base_path="${srcdir}/${pkgbase}_v${pkgver}-source"
-# Build the accuracy profile (you can also choose 'performance' or 'compatibility').
-__profile='accuracy'
-
-build() {
- cd "${__base_path}/${pkgname}"
-
- # Makefile hacks:
- # Disable pulseaudio.
- sed -e 's|audio.pulseaudio ||' \
- -e 's|audio.pulseaudiosimple ||' \
- -i 'target-ethos/Makefile'
- # Don't copy the cheat file.
- sed -e '/mkdir -p ~\/.config\/$(name)/{N;d}' \
- -e '/cp data\/cheats.xml/{N;d}' \
- -i 'target-ethos/Makefile'
- # Don't use sudo
- sed -e 's/sudo install/install/' \
- -i 'target-ethos/Makefile'
-
- # Fix building with QT >= 4.8.0.
- moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
-
- # Compile bsnes.
- make flags="$CXXFLAGS -I. -DPROFILE_${__profile^^}" compiler=gcc platform=x \
- profile=${__profile} phoenix=qt target=ethos
-
- # Compile purify.
- cd "${__base_path}/purify"
- moc -i -Iphoenix/qt/ -o phoenix/qt/platform.moc phoenix/qt/platform.moc.hpp
- sed -e 's|link := -s|link := -s -lX11|' -i 'Makefile'
- make compiler=gcc platform=x phoenix=qt
-}
-
-package_bsnes-purify() {
- pkgver=01
- pkgdesc='ROM cleanup utility for bsnes.'
- install=''
-
- cd "${__base_path}/purify"
- install --directory "${pkgdir}/usr/bin"
- install --mode=755 "${__base_path}/purify/purify" "${pkgdir}/usr/bin/${pkgbase}-purify"
-}
-
-package_bsnes() {
- pkgver=090
- pkgrel=2
- pkgdesc='Super Nintendo Entertainment System (SNES) emulator focused on accuracy.'
- url='http://byuu.org/bsnes/'
-
- cd "${__base_path}/${pkgname}"
- make install profile=${__profile} DESTDIR="${pkgdir}" prefix=/usr
-
- # Install the user-profile into /usr/share/bsnes/profile.
- install --directory "${pkgdir}/usr/share/${pkgname}/profile"
- cp -R "${__base_path}/${pkgname}"/profile/* "${pkgdir}/usr/share/${pkgname}/profile"
-}
diff --git a/pcr/bsnes/bsnes.changelog b/pcr/bsnes/bsnes.changelog
deleted file mode 100644
index 9328c9aee..000000000
--- a/pcr/bsnes/bsnes.changelog
+++ /dev/null
@@ -1,487 +0,0 @@
-2012-08-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 090-2 :
- Make sure to build bsnes purify with QT.
-
-2012-08-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 090-1 :
- New upstream release.
-
- * add-usr-share-fallback.patch :
- Remove patch as filter/shader support has been removed.
-
-2012-04-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 088-1 :
- New upstream release.
-
-2012-03-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 087-1 :
- New upstream release.
-
- * add-usr-share-fallback.patch :
- Update patch against the new source.
-
-2012-02-13 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 086-1 :
- New upstream release.
-
- * add-usr-share-fallback.patch :
- Update patch against the new source.
-
-2012-01-02 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 085-1 :
- New upstream release.
-
-2011-12-28 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 084-3 :
- Enable custom CXXFLAGS by default.
- Fix build with QT 4.8.0.
-
-2011-11-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 084-2 :
- Update to reflect the silently updated source tarball.
-
-2011-11-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 084-1 :
- New upstream release.
- Fixed PKGBUILD changelog line to work with pacman 4.0 (thanks jpike).
-
-2011-10-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 083-1 :
- New upstream release.
- Dropped the leading '0.' from the version number.
- Compile and package filters/shaders.
- Added commented block for compiling bsnes with the makepkg specified
- flags (thanks MaMuS).
-
- * add-usr-share-fallback.patch :
- Add fallback path to /usr/share/bsnes/ for finding filters/shaders
- unless found in the bsnes basepath/userpath.
-
-2011-08-21 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.082-1 :
- New upstream release.
-
-2011-08-12 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.081-1 :
- New upstream release.
-
-2011-06-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.080-1 :
- New upstream release.
-
- * gcc_4.6.0_build_fix.patch :
- Removed as it's no longer needed.
-
-2011-06-18 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.079-2 :
- Update sed command for preventing installation of cheats.xml to user
- home directory
-
- * gcc_4.6.0_build_fix.patch :
- Fix build errors with newest gcc 4.6.0 prerelease.
-
-2011-06-04 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.079-1 :
- New upstream release.
-
-2011-04-30 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.078-1 :
- New upstream release.
-
-2011-03-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.077-1 :
- New upstream release.
-
-2011-02-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.076-2 :
- Correct the sed expression that removes the lines that copies the
- cheats.xml file.
-
-2011-02-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.076-1 :
- New upstream release.
-
-2011-02-13 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.075-1 :
- Build and package snespurify.
-
-2011-01-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.075-1 :
- New upstream release.
- As the launcher for selecting profile is removed the PKGBUILD will now
- build just the accuracy profile. Edit the PKGBUILD if you want to build
- another profile.
-
-2011-01-11 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.074-1 :
- New upstream release.
- Switched to the phoenix ui as the qt port is now dead.
-
-2010-12-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.073-1 :
- New upstream release.
- snesreader/snesfilter removed.
-
-2010-10-23 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.072-1 :
- New upstream release.
-
-2010-10-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.071-1 :
- New upstream release.
-
-2010-09-26 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.070-1 :
- New upstream release.
-
-2010-09-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.069-1 :
- New upstream release.
-
-2010-09-05 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.068-3 :
- Added 'mesa' to makedepends to satisfy "GL/gl.h" dependency.
-
-2010-08-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.068-2 :
- Forgot to build the launcher.
-
-2010-08-21 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.068-1 :
- New upstream release.
-
- * gcc45_build_fix.patch:
- Removed as it's not needed anymore.
-
-2010-08-02 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.067-1 :
- New upstream release.
-
- * gcc45_build_fix.patch :
- Workaround a bug in GCC 4.5.x.
-
-2010-06-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.065-1 :
- New upstream release.
-
-2010-04-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.064-1 :
- New upstream release.
-
-2010-03-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.063-2 :
- New snesreader (snesreader_20100329.tar.bz2) that fixes libjma on 64-bit
- systems.
-
-2010-03-28 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.063-1 :
- New upstream release.
-
-2010-02-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.060-1 :
- New upstream release.
- Removed the optdepends list as they are now part of the same source
- tarball and have been integrated into the PKGBUILD. You may remove those
- plugins you don't want.
-
-2010-01-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.059-1 :
- New upstream release.
-
-2009-12-09 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.058-1 :
- New upstream release.
-
-2009-11-23 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.057-1 :
- New upstream release.
-
-2009-11-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.056-1 :
- New upstream release.
-
-2009-11-01 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.055-1 :
- New upstream release.
-
-2009-10-19 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.054-1 :
- New upstream release.
-
-2009-09-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.052-1 :
- New upstream release.
-
-2009-09-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.051-1 :
- New upstream release.
-
-2009-08-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.050-1 :
- New upstream release.
-
-2009-08-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.049-1 :
- New upstream release.
-
- * fix_black_lines.patch :
- Removed as it's not needed anymore.
-
-2009-07-14 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.048-2 :
- Apply patch to fix "black lines" issue.
-
- * fix_black_lines.patch :
- Fixes "Linux X-video driver shows a lot of black lines" as per the
- bsnes v0.048 errata.
-
-2009-07-12 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.048-1 :
- New upstream release.
-
-2009-06-08 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.047-2 :
- Added 'pkgconfig' to makedepends.
-
-2009-06-07 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.047-1 :
- New upstream release.
-
-2009-05-10 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.046-1 :
- New upstream release.
- Moved 'libxtst' to optdepends.
- Updated the name of the license to be correct.
-
-2009-04-19 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.045-1 :
- New upstream release.
- Added 'libxtst' to the dependency list.
-
-2009-03-31 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.042-1 :
- New upstream release.
-
-2009-03-15 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.041-1 :
- New upstream release.
-
-2009-03-09 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.040-1 :
- New upstream release.
- Replaced 'gtk2' dependency with 'qt' as the GUI has been rewritten.
- Replaced 'freealut' dependency with 'openal' which is more correct.
- Removed 'inputproto' from dependency list as namcap says it's not needed
- anymore.
-
- * bsnes.desktop:
- Removed in favor of the one shipped with bsnes.
-
-2009-01-18 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.039-1 :
- New upstream release.
-
-2008-12-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.038-1 :
- New upstream release.
- New audio driver for PulseAudio is disabled.
-
-2008-10-27 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.037a-1 :
- New upstream release.
-
-2008-09-18 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.036-2 :
- Adapted to the ChangeLog.proto provided by Pacman.
- Added missing dependency 'inputproto' (thanks cr7).
-
-2008-09-16 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.036-1 :
- New upstream release.
-
-2008-08-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.035-1 :
- New upstream release.
- Made PKGBUILD autodetect GCC version and if greater than 4.2.0 enable
- the -mtune=native optimizations
-
-2008-08-13 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.034-1 :
- New upstream release.
-
-2008-07-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.033-1 :
- New upstream release.
-
-2008-06-01 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.032a-1 :
- New upstream release.
-
-2008-04-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.031-1 :
- New upstream release.
-
-2008-03-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.030-1 :
- New upstream release.
-
-2008-03-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.029-1 :
- New upstream release.
-
- * bsnes-icon.patch :
- Removed as it's not needed anymore.
-
-2008-02-06 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.028.01-1 :
- New upstream release.
-
-2008-02-04 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.028-1 :
- New upstream release.
- Frmo now on JMA support will be compiled in.
-
- * bsnes-icon.patch :
- Added a patch to make bsnes window use the bsnes icon.
-
-2007-12-22 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.027-1 :
- New upstream release.
- From now on GZIP/ZIP support will be compiled in.
- JMA support is broken with the latest GCC.
-
- * bsnes-makefile.patch :
- Removed patch since it has been merged upstream.
-
-2007-11-24 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.026-1 :
- New upstream release.
-
- * bsnes-makefile.patch :
- Enables the use of custom install path instead of a fixed one, taken
- from http://board.zsnes.com/phpBB2/viewtopic.php?p=155591#155591 (lots
- of kudos to belegdol).
-
- * bsnes_<SIZE>.png :
- Removed the extracted icons introduced in 0.023-3 as bsnes now ships
- with an icon.
-
-2007-10-15 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.025-1 :
- New upstream release.
- Correct the license array, the quotation marks shouldn't be where they
- were.
-
- * bsnes_<SIZE>.png :
- Decreased filesizes using OptiPNG/advpng (~25% total reduction).
-
-2007-10-01 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.024-1 :
- New upstream release.
-
-2007-09-29 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.023-3 :
- New upstream release.
- Added an optional possibly speed increase option to the Makefile, as it
- requires GCC >= 4.2.0 it's not enabled by default.
-
- * bsnes_<SIZE>.png :
- Added icons for the .desktop-file (extracted from bsnes resources).
-
-2007-09-25 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.023-2 :
- Added a .desktop file
- Small (PKGBUILD inline) patch to prevent the emulator idle stage consume
- 100% CPU usage.
-
-2007-09-17 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.023-1 :
- New upstream release.
-
-2007-08-15 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.022-2 :
- Added 'nasm' to makedepens for 'i686' and moved 'yasm' to makedepends
- for 'x86_64' only.
-
-2007-08-04 [vEX] <niechift.dot.vex.at.gmail.dot.com>
-
- * 0.022-1 :
- New upstream release.
- Added ChangeLog
diff --git a/pcr/bsnes/bsnes.install b/pcr/bsnes/bsnes.install
deleted file mode 100644
index 2e40f6bba..000000000
--- a/pcr/bsnes/bsnes.install
+++ /dev/null
@@ -1,18 +0,0 @@
-## arg 1: the new package version
-post_install() {
- post_upgrade
-}
-
-## arg 1: the new package version
-## arg 2: the old package version
-post_upgrade() {
- echo 'As of 090 bsnes requires a new directory layout for the ROMs. You can'
- echo 'use bsnes-purify to create it. You should also copy the '
- echo '/usr/share/bsnes/profile/ data into your ~/.config/bsnes/ folder unless'
- echo 'you have already done so. It contains files that the emulator needs to'
- echo 'function properly.'
-
- if [ "$(vercmp $2 090)" -lt 0 ]; then
- echo 'The profile data changed with release 090, update your files.'
- fi
-}
diff --git a/pcr/mednafen-wip/PKGBUILD b/pcr/mednafen-wip/PKGBUILD
deleted file mode 100644
index 167a806e2..000000000
--- a/pcr/mednafen-wip/PKGBUILD
+++ /dev/null
@@ -1,48 +0,0 @@
-# Maintainer: Hans-Kristian Arntzen <maister@archlinux.us>
-# Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
-# Contributor: kagan <juanynie@mi.madritel.es>
-# Maintainer (Parabola): Márcio Silva <coadde@lavabit.com>
-# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
-
-pkgbase=mednafen
-pkgname=mednafen-wip
-pkgflag=wip
-pkgver=0.9.28
-_pkgver=450
-pkgrel=1
-pkgdesc='A command-line multi-system gaming emulator, WIP version'
-url="http://$pkgbase.sourceforge.net/"
-license=GPL
-arch=(
- i686
- x86_64
- mips64el
-)
-depends=(
- jack
- 'libcdio>=0.83'
- sdl-libre
-)
-optdepends=(
- 'libgl: needed for opengl support'
- 'glu: needed for opengl support'
-)
-makedepends=(
- mesa
- glu
-)
-provides=$pkgbase
-conflicts=$pkgbase
-source=$pkgbase-$pkgver-$pkgflag.tar.bz2::'http://forum.fobby.net/index.php?t=getfile&id='$_pkgver'&'
-sha1sums=6948b0f06d72f8056690d229581e94408d40c918
-
-build() {
- cd $srcdir/$pkgbase
- setarch $CARCH ./configure --prefix=/usr
- setarch $CARCH make
-}
-
-package() {
- cd $srcdir/$pkgbase
- setarch $CARCH make DESTDIR=$pkgdir install
-}
diff --git a/pcr/python2-polib/PKGBUILD b/pcr/python2-polib/PKGBUILD
new file mode 100644
index 000000000..206bd9b4f
--- /dev/null
+++ b/pcr/python2-polib/PKGBUILD
@@ -0,0 +1,25 @@
+# Maintainer: Esteban V. Carnevale <evcarnevale@gmail.com>
+
+pkgname=python2-polib
+_pkgname='polib'
+pkgver=0.7.0
+pkgrel=2
+pkgdesc='A library to manipulate gettext files'
+url='http://polib.readthedocs.org/en/latest/index.html'
+arch=('any')
+license=('MIT')
+depends=('python2')
+
+source=("https://bitbucket.org/izi/polib/downloads/polib-${pkgver}.tar.gz")
+md5sums=('958f8f81ade7d2484edc25b3989fe247')
+
+build() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${srcdir}/${_pkgname}-${pkgver}"
+ python2 setup.py install --root="${pkgdir}" --optimize=1
+ install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+}
diff --git a/pcr/python2-relatorio/PKGBUILD b/pcr/python2-relatorio/PKGBUILD
new file mode 100644
index 000000000..497a50920
--- /dev/null
+++ b/pcr/python2-relatorio/PKGBUILD
@@ -0,0 +1,21 @@
+# Contributor: Florian Walch <florian.walch@gmx.at>
+# Maintainer: Thomas Bahn <Thomas-Bahn@gmx.net>
+pkgname=python2-relatorio
+pkgver=0.5.6
+pkgrel=2
+pkgdesc="A templating library able to output odt and pdf files"
+arch=('i686' 'x86_64' 'mips64el')
+url="http://relatorio.openhex.org"
+license=('GPL')
+depends=('python2-genshi>=0.5' 'python2-lxml>=1.3.6')
+makedepends=('python2-distribute')
+source=("http://pypi.python.org/packages/source/r/relatorio/relatorio-$pkgver.tar.gz")
+
+build() {
+ cd $srcdir/relatorio-$pkgver
+ chmod 644 relatorio.egg-info/*
+ python2 setup.py install --root=$pkgdir
+}
+
+
+md5sums=('944fb60fadaff451ab6ee8818de516ad')
diff --git a/pcr/trytond/PKGBUILD b/pcr/trytond/PKGBUILD
new file mode 100644
index 000000000..bae5d2f4e
--- /dev/null
+++ b/pcr/trytond/PKGBUILD
@@ -0,0 +1,31 @@
+# Maintainer: Robin Baumgartner <robin@baumgartners.ch>
+pkgname=trytond
+pkgver=2.4.0
+_pkgdir=2.4
+pkgrel=2
+pkgdesc="A three-tiers high-level general purpose application platform (server application)"
+arch=('any')
+url="http://www.tryton.org/"
+license=('GPL3')
+depends=('python2>=2.4' 'python2-lxml' 'python2-egenix-mx-base' 'python2-relatorio>=0.2.0' 'python2-genshi>=0.5'
+'python2-polib')
+optdepends=('python2-psycopg2: support for PostgreSQL database'
+ 'python2-pywebdav: support for WebDAV feature'
+ 'pydot: support for displaying workflow graphs'
+ 'python2-pytz: timezone support'
+ 'python2-pyopenssl: support for SSL connection')
+makedepends=('python2-distribute')
+install="trytond.install"
+source=("http://downloads.tryton.org/$_pkgdir/$pkgname-$pkgver.tar.gz"
+ 'trytond.install'
+ 'trytond.rc')
+md5sums=('ce0bbb8fcd0ef6a02c575823712e29e4'
+ '768e68c01cb5913e36ea89c67fc98038'
+ '3ca6aff9b30a52bcf159be7ca630fb6e')
+
+build() {
+ cd $srcdir/$pkgname-$pkgver
+ python2 setup.py install --root=$pkgdir
+ install -D -m644 etc/trytond.conf $pkgdir/etc/trytond.conf
+ install -D -m755 $srcdir/trytond.rc $pkgdir/etc/rc.d/trytond
+}
diff --git a/pcr/trytond/trytond.install b/pcr/trytond/trytond.install
new file mode 100644
index 000000000..46d6daaba
--- /dev/null
+++ b/pcr/trytond/trytond.install
@@ -0,0 +1,20 @@
+post_install() {
+ echo
+ echo "Adding tryton group... "
+ groupadd tryton
+ echo
+ echo "Adding tryton user... "
+ useradd -c "Tryton Server Daemon" -g tryton -s /bin/false tryton
+
+ echo "Note:"
+ echo "==> Please don't forget to configure your PostgreSQL database for the program."
+}
+
+post_remove() {
+ echo "Removing tryton system user... "
+ userdel tryton && echo "trytond [done]"
+}
+
+op=$1
+shift
+[ "$(type -t "$op")" = "function" ] && $op "$@"
diff --git a/pcr/trytond/trytond.rc b/pcr/trytond/trytond.rc
new file mode 100644
index 000000000..a93172a58
--- /dev/null
+++ b/pcr/trytond/trytond.rc
@@ -0,0 +1,52 @@
+#!/bin/bash
+
+. /etc/rc.conf
+. /etc/rc.d/functions
+
+PID=`pidof -o %PPID /usr/bin/python /usr/bin/trytond`
+case "$1" in
+ start)
+ stat_busy "Starting Tryton server"
+ # handling log file
+ if [ ! -e /var/log/trytond/trytond.log ]; then
+ mkdir -p /var/log/trytond
+ touch /var/log/trytond/trytond.log
+ chown -R trytond:trytond /var/log/trytond
+ fi
+ # starting the daemon
+ if [ -z "$PID" ]; then
+ su - trytond -s /bin/bash -c "/usr/bin/python2 /usr/bin/trytond \
+ --logfile=/var/log/trytond/trytond.log &> /dev/null &"
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ add_daemon trytond
+ stat_done
+ fi
+ else
+ stat_fail
+ fi
+ ;;
+ stop)
+ stat_busy "Stopping Tryton server"
+ if [ ! -z "$PID" ]; then
+ if [ $? -gt 0 ]; then
+ stat_fail
+ else
+ kill $PID &> /dev/null &
+ rm_daemon trytond
+ stat_done
+ fi
+ else
+ stat_fail
+ fi
+ ;;
+ restart)
+ $0 stop
+ sleep 3
+ $0 start
+ ;;
+ *)
+ echo "usage: $0 {start|stop|restart}"
+esac
+exit 0
diff --git a/pcr/uci/PKGBUILD b/pcr/uci/PKGBUILD
new file mode 100644
index 000000000..41541fa07
--- /dev/null
+++ b/pcr/uci/PKGBUILD
@@ -0,0 +1,42 @@
+# Maintainer: Nicolás Reynolds <fauno@kiwwwi.com.ar>
+pkgname=uci
+pkgver=0.8.0
+pkgrel=2
+pkgdesc="OpenWRT's Unified Configuration Interface"
+arch=('i686' 'x86_64' 'mips64el')
+url="https://openwrt.org"
+license=('GPL2')
+makedepends=('git' 'cmake' 'lua51')
+source=(http://repo.parabolagnulinux.org/other/${pkgname}-${pkgver}.tar.gz
+ uci-0.8.0-lua5.1.patch)
+md5sums=('135bf6c4188b72c7fd7954f592b1e4e4'
+ '2c8f4d59b2b7adb990dcaa07e0ed484c')
+
+# source PKGBUILD; mksource
+mksource() {
+
+ if [ -d uci/.git ]; then
+ pushd uci; git pull; popd
+ else
+ git clone git://nbd.name/uci.git
+ fi
+
+ cd uci/
+ git archive --prefix=${pkgname}-${pkgver}/ v${pkgver} | \
+ gzip -9 > ../${pkgname}-${pkgver}.tar.gz
+ cd ..
+}
+
+build() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ patch -Np1 -i ${srcdir}/uci-0.8.0-lua5.1.patch
+ cmake .
+ make
+}
+
+package() {
+ cd ${srcdir}/${pkgname}-${pkgver}
+ make DESTDIR=${pkgdir}/ install
+}
+
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/uci/uci-0.8.0-lua5.1.patch b/pcr/uci/uci-0.8.0-lua5.1.patch
new file mode 100644
index 000000000..d3e486f87
--- /dev/null
+++ b/pcr/uci/uci-0.8.0-lua5.1.patch
@@ -0,0 +1,31 @@
+--- uci-0.8.0.orig/lua/CMakeLists.txt 2011-07-19 15:39:56.000000000 -0500
++++ uci-0.8.0/lua/CMakeLists.txt 2013-02-12 21:16:02.583984374 -0500
+@@ -4,7 +4,18 @@
+
+ SET(CMAKE_INSTALL_PREFIX /)
+
+-ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I..)
++IF(NOT LUA_CFLAGS)
++ FIND_PROGRAM(PKG_CONFIG pkg-config)
++ IF(PKG_CONFIG)
++ EXECUTE_PROCESS(
++ COMMAND pkg-config --silence-errors --cflags lua5.1
++ OUTPUT_VARIABLE LUA_CFLAGS
++ OUTPUT_STRIP_TRAILING_WHITESPACE
++ )
++ ENDIF()
++ENDIF()
++
++ADD_DEFINITIONS(-Os -Wall -Werror --std=gnu99 -g3 -I.. ${LUA_CFLAGS})
+ LINK_DIRECTORIES(${CMAKE_CURRENT_SOURCE_DIR}/..)
+
+ IF(APPLE)
+@@ -13,7 +24,7 @@
+
+ IF(NOT LUAPATH)
+ EXECUTE_PROCESS(
+- COMMAND lua -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end"
++ COMMAND lua5.1 -e "for k in string.gmatch(package.cpath .. \";\", \"([^;]+)/..so;\") do if k:sub(1,1) == \"/\" then print(k) break end end"
+ OUTPUT_VARIABLE LUAPATH
+ RESULT_VARIABLE LUA_CHECK_RES
+ OUTPUT_STRIP_TRAILING_WHITESPACE
diff --git a/pcr/wayland/PKGBUILD b/pcr/wayland/PKGBUILD
deleted file mode 100644
index a6f2566ec..000000000
--- a/pcr/wayland/PKGBUILD
+++ /dev/null
@@ -1,44 +0,0 @@
-# Maintainer: Márcio Silva <coadde@lavabit.com>
-
-pkgname=wayland
-pkgver=0.95.0
-pkgrel=2
-pkgdesc='A modern display server.'
-arch=(
- i686
- x86_64
- mips64el
-)
-url=http://wayland.freedesktop.org
-license=(
- MIT
-)
-depends=(
- expat
- libffi
-)
-options=(
- !libtool
-)
-conflicts=(
- $pkgname-git
-)
-source=(
- http://$pkgname.freedesktop.org/releases/$pkgname-$pkgver.tar.xz
-)
-sha1sums=(
- 4a7e49256f3d4a61add3cf70d74f02abb5b243a2
-)
-
-build() {
- cd $srcdir/$pkgname-$pkgver
- ./configure --prefix=/usr
- make
-}
-
-package() {
- cd $srcdir/$pkgname-$pkgver
- make DESTDIR=$pkgdir install
- install -m755 -d $pkgdir/usr/share/licenses/$pkgname
- install -m644 COPYING $pkgdir/usr/share/licenses/$pkgname
-}