diff options
author | root <root@rshg054.dnsready.net> | 2013-05-02 00:37:30 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-05-02 00:37:30 -0700 |
commit | 8b09f76ed1ea968a2473faf8f56250eea0fdc3cc (patch) | |
tree | 8eca788d6ba23cad66a3cf81ec9b2cea43fcc484 /pcr | |
parent | 1b05006cb143959d080a200fe11891c9f5caf32c (diff) |
Thu May 2 00:37:29 PDT 2013
Diffstat (limited to 'pcr')
-rw-r--r-- | pcr/lightspark/PKGBUILD | 33 | ||||
-rw-r--r-- | pcr/lightspark/lightspark.install | 12 | ||||
-rw-r--r-- | pcr/minetest-git/PKGBUILD | 91 | ||||
-rw-r--r-- | pcr/minetest/PKGBUILD | 53 |
4 files changed, 136 insertions, 53 deletions
diff --git a/pcr/lightspark/PKGBUILD b/pcr/lightspark/PKGBUILD new file mode 100644 index 000000000..bab26aceb --- /dev/null +++ b/pcr/lightspark/PKGBUILD @@ -0,0 +1,33 @@ +# Maintainer : speps <speps at aur dot archlinux dot org> +# Contributor: Thomas Dziedzic < gostrc at gmail > +# Contributor: Jan "heftig" Steffens <jan.steffens@gmail.com> + +pkgname=lightspark +pkgver=0.7.2 +pkgrel=1 +pkgdesc='An alternative Flash Player for GNU/Linux.' +arch=('i686' 'x86_64' 'mips64el') +url='http://lightspark.sourceforge.net' +license=('GPL3' 'LGPL3') +depends=('gtk2' 'ffmpeg' 'glew' 'curl' 'boost-libs' 'libxml++' 'desktop-file-utils' 'hicolor-icon-theme') +makedepends=('cmake' 'nasm' 'xulrunner' 'llvm' 'glproto' 'boost' 'fontconfig') +optdepends=('gnash-gtk: fallback support') +install="$pkgname.install" +source=(http://launchpad.net/lightspark/trunk/lightspark-$pkgver/+download/lightspark-$pkgver.tar.gz{,.asc}) +md5sums=('f078d505a354fb66dc5b68ad09a2aa81' + 'SKIP') + +build() { + cd "$srcdir/$pkgname-$pkgver" + + [ -d bld ] || mkdir bld && cd bld + cmake .. -DCMAKE_INSTALL_PREFIX=/usr \ + -DCMAKE_BUILD_TYPE=Release \ + -DGNASH_EXE_PATH=/usr/bin/gtk-gnash + make +} + +package() { + cd "$srcdir/$pkgname-$pkgver/bld" + make DESTDIR="$pkgdir/" install +} diff --git a/pcr/lightspark/lightspark.install b/pcr/lightspark/lightspark.install new file mode 100644 index 000000000..bce670aff --- /dev/null +++ b/pcr/lightspark/lightspark.install @@ -0,0 +1,12 @@ +post_install() { + gtk-update-icon-cache -q -t -f usr/share/icons/hicolor + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} diff --git a/pcr/minetest-git/PKGBUILD b/pcr/minetest-git/PKGBUILD new file mode 100644 index 000000000..b4a5eb7ce --- /dev/null +++ b/pcr/minetest-git/PKGBUILD @@ -0,0 +1,91 @@ +# Maintainer: Konsta Kokkinen <kray@tsundere.fi> +# Maintainer (Parabola): Jorge Araya Navarro <jorgean@lavabit.com> +# Contributor (Parabola): André Silva <emulatorman@lavabit.com> +pkgname=minetest-git +pkgver=20130501 +pkgrel=1 +pkgdesc="An Infiniminer/Minecraft inspired game, git version." +arch=('i686' 'x86_64') +url='http://minetest.net/' +license=('LGPL2.1') +makedepends=('git' 'cmake' 'irrlicht' 'mesa' 'bzip2' 'libjpeg' 'libpng' 'zlib' 'curl') +depends=('sqlite3' 'libgl' 'libxxf86vm' 'openal' 'hicolor-icon-theme' 'libvorbis' 'curl') +conflicts=('minetest' 'minetest-hg') + +_srcroot="https://github.com/minetest/minetest.git" +_srcname="minetest" + +_gameroot="https://github.com/minetest/minetest_game.git" +_gamename="minetest_game" + +_commonroot="https://github.com/minetest/common.git" +_commonname="common" + +_buildroot="https://github.com/minetest/build.git" +_buildname="build" + +_survivalroot="https://github.com/minetest/survival.git" +_survivalname="survival" + +package() { + cd "$srcdir" + + msg "Pulling sources..." + + if [ -d $_srcname ] ; then + cd $_srcname && git pull origin + msg "The local files are updated." + else + git clone $_srcroot $_gitname + fi + + msg "Pulling game..." + + cd "$srcdir/$_srcname/games/" + + if [ -d $_gamename ] ; then + cd $_gamename && git pull origin + msg "The local files are updated." + else + git clone $_gameroot $_gamename + fi + + msg "Pulling common mods..." + cd "$srcdir"/"$_srcname"/games/ + + if [ -d $_commonname ] ; then + cd $_commonname && git pull origin + msg "The local files are updated." + else + git clone $_commonroot $_commonname + fi + + msg "Pulling build mods..." + cd "$srcdir"/"$_srcname"/games/ + + if [ -d $_buildname ] ; then + cd $_buildname && git pull origin + msg "The local files are updated." + else + git clone $_buildroot $_buildname + fi + + msg "Pulling survival mods..." + cd "$srcdir"/"$_srcname"/games/ + + if [ -d $_survivalname ] ; then + cd $_survivalname && git pull origin + msg "The local files are updated." + else + git clone $_survivalroot $_survivalname + fi + + + + msg "GIT checkout done or server timeout" + msg "Starting make..." + + cd "$srcdir/$_srcname" + cmake . -DCMAKE_INSTALL_PREFIX=/usr + make DESTDIR=${pkgdir} install +} diff --git a/pcr/minetest/PKGBUILD b/pcr/minetest/PKGBUILD deleted file mode 100644 index 18546b470..000000000 --- a/pcr/minetest/PKGBUILD +++ /dev/null @@ -1,53 +0,0 @@ -# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> -pkgname=minetest-git -pkgver=20120918 -pkgrel=2 -pkgdesc="An Infiniminer/Minecraft inspired game, git version." -arch=('i686' 'x86_64') -url="http://celeron.55.lt/~celeron55/minetest/" -license=('GPL') -makedepends=('git' 'cmake' 'irrlicht' 'mesa' 'libjpeg' 'bzip2' 'libpng' 'zlib' 'libvorbis') -depends=('libjpeg' 'bzip2' 'sqlite3' 'libgl' 'libxxf86vm' 'openal') -conflicts=('minetest' 'minetest-hg') - -_srcroot="https://github.com/celeron55/minetest.git" -_srcname="minetest" - -_gameroot="https://github.com/celeron55/minetest_game.git" -_gamename="minetest_game" - -build() { - cd "$srcdir" - - msg "Pulling sources..." - - if [ -d $_srcname ] ; then - cd $_srcname && git pull origin - msg "The local files are updated." - else - git clone $_srcroot $_gitname - fi - - msg "Pulling game..." - - cd "$srcdir/$_srcname/games/" - - if [ -d $_gamename ] ; then - cd $_gamename && git pull origin - msg "The local files are updated." - else - git clone $_gameroot $_gamename - fi - - - msg "GIT checkout done or server timeout" - msg "Starting make..." - - cd "$srcdir/$_srcname" - cmake . -DCMAKE_INSTALL_PREFIX=/usr - #install -d -m 755 ${pkgdir}/usr/share/applications - #install -d -m 755 ${pkgdir}/usr/share/icons/scalable/apps - #install -m 644 ${srcdir}/minetest.svg ${pkgdir}/usr/share/icons/scalable/apps - #install -m 644 ${srcdir}/minetest-git.desktop ${pkgdir}/usr/share/applications - make DESTDIR=${pkgdir} install -} |