summaryrefslogtreecommitdiff
path: root/pcr
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-24 23:48:25 -0300
committerAndré Fabian Silva Delgado <emulatorman@parabola.nu>2014-06-24 23:48:25 -0300
commit686b828c74111f0f9cfe90448849c0259d2156fb (patch)
tree8bc75e72ad55a7a6ad427dc6d5a00afc080e35c7 /pcr
parent116c454988f72dbc7890a61e7a7480043c341eb4 (diff)
parent65091f01d8f8237f11c7880c87c436ef9b08d40b (diff)
downloadabslibre-686b828c74111f0f9cfe90448849c0259d2156fb.tar.gz
abslibre-686b828c74111f0f9cfe90448849c0259d2156fb.tar.bz2
abslibre-686b828c74111f0f9cfe90448849c0259d2156fb.zip
Merge branch 'master' of ssh://projects.parabolagnulinux.org:1863/~git/abslibre
Diffstat (limited to 'pcr')
-rw-r--r--pcr/aspcud/PKGBUILD1
-rw-r--r--pcr/boswars/PKGBUILD57
-rw-r--r--pcr/boswars/boswars.desktop9
-rw-r--r--pcr/boswars/boswars.pngbin0 -> 6052 bytes
-rw-r--r--pcr/boswars/boswars.sh3
-rw-r--r--pcr/brutalchess/PKGBUILD40
-rw-r--r--pcr/pivaders-git/PKGBUILD28
-rw-r--r--pcr/pivaders-git/pivaders.sh5
-rw-r--r--pcr/sl/PKGBUILD32
-rw-r--r--pcr/spyder/PKGBUILD51
-rw-r--r--pcr/spyder/pylint.patch28
-rw-r--r--pcr/spyder/spyder.install12
12 files changed, 266 insertions, 0 deletions
diff --git a/pcr/aspcud/PKGBUILD b/pcr/aspcud/PKGBUILD
index 064a75ea9..b88357290 100644
--- a/pcr/aspcud/PKGBUILD
+++ b/pcr/aspcud/PKGBUILD
@@ -13,6 +13,7 @@ depends=('clasp>=2.1.3' 'gringo>=4.2.1')
conflicts=('aspcud-svn')
makedepends=('boost' 'cmake' 're2c')
source=("http://downloads.sourceforge.net/project/potassco/${pkgname}/${pkgver}/${pkgname}-${pkgver}-source.tar.gz")
+md5sums=(9d014548e36480957cb97486e6312bea)
build() {
cd "$srcdir/$pkgname-$pkgver-source"
diff --git a/pcr/boswars/PKGBUILD b/pcr/boswars/PKGBUILD
new file mode 100644
index 000000000..86d158904
--- /dev/null
+++ b/pcr/boswars/PKGBUILD
@@ -0,0 +1,57 @@
+# Contributor (Arch) :Maintainer: carstene1ns <url/mail: arch carsten-teibes de>
+# Contributor (Arch) : Diogo Leal <estranho@diogoleal.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=boswars
+pkgver=2.7
+pkgrel=4
+pkgdesc="Futuristic real-time strategy game"
+url="http://www.boswars.org"
+license=('GPL')
+arch=('i686' 'x86_64')
+depends=('sdl' 'libpng' 'lua51' 'libvorbis' 'libtheora' 'libgl' 'python2')
+makedepends=('glu' 'coreutils') # nproc is in coreutils
+source=("http://www.boswars.org/dist/releases/$pkgname-$pkgver-src.tar.gz"
+ "boswars.sh"
+ "boswars.png"
+ "boswars.desktop")
+sha256sums=('dc3718f531e9ea413cf37e1333b62a4c5e69f1405502d9c59b9e424635135e3e'
+ '8f90601f1aedee2d2b097b3a47200013ec61639ca3dd6c8936dfc733eb5dc634'
+ 'f89454681f02df31f5714747563ce30c4643cda96d91b7fc29216dacf92e8b10'
+ '666712c9cf7fff391e6a67f99fdc12f6fce45777ee0891a808cb2a00910c739c')
+
+prepare() {
+ cd $pkgname-$pkgver-src
+
+ # use python2 in doc generator scripts
+ sed 's|env python$|&2|' -i doc/scripts/*.py
+ # fix 'zlib too far back error' of png images (needed for libpng>=1.6)
+ msg2 "Fixing PNG images…"
+ for _f in {maps/antarticum.map/terrain,graphics/ui/ui_*,units/{radar/*,tree*/tree0?}}.png
+ do
+ pngfix -e -w --out=$_f.fixed $_f || : # ignore exit code
+ mv $_f.fixed $_f
+ done
+}
+
+build() {
+ cd $pkgname-$pkgver-src
+
+ # speed up build process with parallel building
+ python2 make.py -j $(nproc)
+}
+
+package(){
+ cd $pkgname-$pkgver-src
+
+ # data
+ install -d "$pkgdir"/opt/bos/languages
+ install -m644 languages/*.po "$pkgdir"/opt/bos/languages
+ cp -r campaigns doc graphics intro maps scripts sounds units "$pkgdir"/opt/bos
+
+ # executable, launcher and .desktop entry
+ install -Dm755 fbuild/release/boswars "$pkgdir"/opt/bos/boswars
+ install -Dm755 ../boswars.sh "$pkgdir"/usr/bin/boswars
+ install -Dm644 ../boswars.png "$pkgdir"/usr/share/pixmaps/boswars.png
+ install -Dm644 ../boswars.desktop "$pkgdir"/usr/share/applications/boswars.desktop
+}
diff --git a/pcr/boswars/boswars.desktop b/pcr/boswars/boswars.desktop
new file mode 100644
index 000000000..10cc4fdd6
--- /dev/null
+++ b/pcr/boswars/boswars.desktop
@@ -0,0 +1,9 @@
+[Desktop Entry]
+Name=Bos Wars
+GenericName=Battle of Survival Wars
+Comment=real-time strategy game
+Exec=boswars
+Icon=boswars
+Terminal=false
+Type=Application
+Categories=Game;StrategyGame;
diff --git a/pcr/boswars/boswars.png b/pcr/boswars/boswars.png
new file mode 100644
index 000000000..5c4580506
--- /dev/null
+++ b/pcr/boswars/boswars.png
Binary files differ
diff --git a/pcr/boswars/boswars.sh b/pcr/boswars/boswars.sh
new file mode 100644
index 000000000..de30b2ff9
--- /dev/null
+++ b/pcr/boswars/boswars.sh
@@ -0,0 +1,3 @@
+#!/bin/sh
+
+exec /opt/bos/boswars -d /opt/bos $*
diff --git a/pcr/brutalchess/PKGBUILD b/pcr/brutalchess/PKGBUILD
new file mode 100644
index 000000000..eb6d344b9
--- /dev/null
+++ b/pcr/brutalchess/PKGBUILD
@@ -0,0 +1,40 @@
+# Contributor (Arch) : boenki <boenki at gmx dot de>
+# Contributor (Arch) : Arkham <arkham at archlinux dot us>
+# Contributor (Arch) : Rick Rein <jeebusroxors@gmail.com>
+# Contributor (Arch) : Stefano Esposito <ragnarok@email.it>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=brutalchess
+pkgver=0.5.2
+pkgrel=5
+pkgdesc="Chess game inspired by 'Battle Chess'. Features full 3D graphics."
+url="http://sourceforge.net/projects/$pkgname"
+license=('GPL2')
+arch=('i686' 'x86_64')
+depends=('sdl_image' 'freetype2' 'glu')
+source=("http://downloads.sourceforge.net/$pkgname/$pkgname-alpha-$pkgver-src.tar.gz")
+md5sums=('370476b63091b8d82a9ea57c604dcbab')
+
+prepare() {
+ cd $pkgname-$pkgver/src
+ sed '/<time.h>/ a\#include <limits.h>' -i brutalplayer.cpp
+ sed 's/GLvoid/void/g' -i {md3view,objview}.cpp
+ sed '/<string>/ a\#include <unistd.h>' -i {xboardplayer,faileplayer}.cpp
+ sed 's~#include\ <freetype/~#include\ <freetype2/~g' -i fontloader.h
+}
+
+build() {
+ cd $pkgname-$pkgver
+ ./configure --prefix=/usr --libexecdir=/usr/bin
+ make
+}
+
+check() {
+ cd $pkgname-$pkgver
+ make check
+}
+
+package() {
+ cd $pkgname-$pkgver
+ make DESTDIR=$pkgdir install
+}
diff --git a/pcr/pivaders-git/PKGBUILD b/pcr/pivaders-git/PKGBUILD
new file mode 100644
index 000000000..0bee35d23
--- /dev/null
+++ b/pcr/pivaders-git/PKGBUILD
@@ -0,0 +1,28 @@
+# Contributor (Arch) : Arthur Zamarin <arthurzam@gmail.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+_pkgname=pivaders
+pkgname=pivaders-git
+pkgver=0.2.r1.g5bffd90
+pkgrel=1
+pkgdesc="Space Invaders game"
+arch=('any')
+url="https://github.com/russb78/${_pkgname}"
+license=('GPL2')
+depends=('python' 'python2-pygame')
+conflicts=('pivaders')
+source=("${_pkgname}::git+git://github.com/russb78/${_pkgname}.git"
+ "${_pkgname}.sh")
+sha1sums=('SKIP'
+ '60183ae638d48bc5493eb318e54fb61a6454cfa3')
+
+pkgver() {
+ cd "${srcdir}/${_pkgname}"
+ git describe --long --tags | sed -r 's/([^-]*-g)/r\1/;s/-/./g'
+}
+
+package() {
+ install -Dm755 "${srcdir}/${_pkgname}.sh" ${pkgdir}/usr/bin/${_pkgname}
+ mkdir -p ${pkgdir}/usr/share/${_pkgname}
+ cp -r ${srcdir}/${_pkgname}/${_pkgname}/* ${pkgdir}/usr/share/${_pkgname}/
+}
diff --git a/pcr/pivaders-git/pivaders.sh b/pcr/pivaders-git/pivaders.sh
new file mode 100644
index 000000000..bfc009a73
--- /dev/null
+++ b/pcr/pivaders-git/pivaders.sh
@@ -0,0 +1,5 @@
+#!/bin/bash
+startDir=$(pwd)
+cd /usr/share/pivaders
+./pivaders.py
+cd $startDir
diff --git a/pcr/sl/PKGBUILD b/pcr/sl/PKGBUILD
new file mode 100644
index 000000000..26e1345c5
--- /dev/null
+++ b/pcr/sl/PKGBUILD
@@ -0,0 +1,32 @@
+# Contributor (Arch) : Jakub Luzny <limoto94@gmail.com>
+# Contributor (Arch) : SanskritFritz (gmail)
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=sl
+pkgver=5.01
+pkgrel=1
+pkgdesc='Steam Locomotive runs across your terminal when you type "sl" as you meant to type "ls"'
+arch=('i686' 'x86_64' 'arm')
+url="http://www.tkl.iis.u-tokyo.ac.jp/~toyoda/index_e.html"
+license=('free')
+depends=('ncurses')
+makedepends=('git')
+source=("git://github.com/mtoyoda/sl.git")
+md5sums=('SKIP')
+
+build() {
+ cd "$srcdir/sl"
+
+ cc $CFLAGS -o sl sl.c -lcurses
+ gzip -9 -f sl.1
+}
+
+package() {
+ cd "${srcdir}/sl"
+
+ install -Dm 775 sl "$pkgdir/usr/bin/sl"
+ install -Dm 644 sl.1.gz "$pkgdir/usr/share/man/man1/sl.1.gz"
+}
+
+#category: games
+# vim:set ts=2 sw=2 et:
diff --git a/pcr/spyder/PKGBUILD b/pcr/spyder/PKGBUILD
new file mode 100644
index 000000000..1e9c456a1
--- /dev/null
+++ b/pcr/spyder/PKGBUILD
@@ -0,0 +1,51 @@
+# Contributor (Arch) : Muflone http://url.muflone.com/contacts
+# Contributor (Arch) : Francois Boulogne <fboulogne@april.org>
+# Contributor (Arch) : TDY <tdy@gmx.com>
+# Maintainer (Parabola) : Aurélien DESBRIÈRES <aurelien@hackers.camp>
+
+pkgname=spyder
+pkgver=2.2.5
+pkgrel=2
+pkgdesc='Scientific PYthon Development EnviRonment providing MATLAB-like features.'
+arch=('any')
+url='http://code.google.com/p/spyderlib/'
+license=('MIT')
+install="${pkgname}.install"
+depends=('python2-pyqt4' 'python2-pyflakes' 'desktop-file-utils' 'gtk-update-icon-cache' 'python2-pyzmq' 'python2-pygments')
+makedepends=('python2-sphinx' 'python2-setuptools')
+optdepends=('python2-pylint: powerful code analysis'
+ 'ipython2: enhanced Python interpreter'
+ 'python2-rope: editor code completion, calltips and go-to-definition'
+ 'python2-sphinx: rich text help on the object inspector'
+ 'python2-numpy: N-dimensional arrays'
+ 'python2-scipy: signal/image processing'
+ 'python2-psutil: memory/CPU usage in the status bar'
+ 'python2-h5py: HDF5 support'
+ 'python2-matplotlib: interactive 2D/3D data plotting'
+ 'pep8-python2: real-time code style analysis'
+ 'python2-sympy: symbolic mathematics for the IPython console')
+source=("http://spyderlib.googlecode.com/files/${pkgname}-${pkgver}.zip"
+ "pylint.patch")
+md5sums=('1c9aa650dae9f883616e917803f8a3be'
+ '3fe95915036634841b619670ad947e96')
+
+prepare() {
+ patch -p0 < "pylint.patch"
+}
+
+build() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py build
+}
+
+package() {
+ cd "${pkgname}-${pkgver}"
+ python2 setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1
+ # Install license file
+ install -D -m644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ # Install icon and desktop file
+ install -D -m644 "scripts/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
+ install -D -m644 "spyderlib/images/spyder.svg" "${pkgdir}/usr/share/icons/hicolor/scalable/apps/${pkgname}.svg"
+ # Remove useless spyder_win_post_install script
+ rm -f "${pkgdir}/usr/bin/spyder_win_post_install.py"
+}
diff --git a/pcr/spyder/pylint.patch b/pcr/spyder/pylint.patch
new file mode 100644
index 000000000..faa1edcf1
--- /dev/null
+++ b/pcr/spyder/pylint.patch
@@ -0,0 +1,28 @@
+diff -Naur spyder-2.2.5/spyderplugins/widgets/pylintgui.py spyder-2.2.5-patched/spyderplugins/widgets/pylintgui.py
+--- spyder-2.2.5/spyderplugins/widgets/pylintgui.py 2013-10-12 20:35:52.000000000 +0200
++++ spyder-2.2.5-patched/spyderplugins/widgets/pylintgui.py 2013-11-12 00:42:22.809509805 +0100
+@@ -40,7 +40,7 @@
+ _ = get_translation("p_pylint", dirname="spyderplugins")
+
+
+-PYLINT_PATH = programs.find_program('pylint')
++PYLINT_PATH = programs.find_program('pylint2')
+
+
+ def get_pylint_version():
+@@ -48,13 +48,13 @@
+ global PYLINT_PATH
+ if PYLINT_PATH is None:
+ return
+- process = subprocess.Popen(['pylint', '--version'],
++ process = subprocess.Popen(['pylint2', '--version'],
+ stdout=subprocess.PIPE, stderr=subprocess.PIPE,
+ cwd=osp.dirname(PYLINT_PATH),
+ shell=True if os.name == 'nt' else False)
+ lines = to_unicode_from_fs(process.stdout.read()).splitlines()
+ if lines:
+- match = re.match('(pylint|pylint-script.py) ([0-9\.]*)', lines[0])
++ match = re.match('(pylint2|pylint-script.py) ([0-9\.]*)', lines[0])
+ if match is not None:
+ return match.groups()[1]
+
diff --git a/pcr/spyder/spyder.install b/pcr/spyder/spyder.install
new file mode 100644
index 000000000..62a045c59
--- /dev/null
+++ b/pcr/spyder/spyder.install
@@ -0,0 +1,12 @@
+post_install() {
+ update-desktop-database -q
+ gtk-update-icon-cache -q -f /usr/share/icons/hicolor
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}