diff options
author | Márcio Alexandre Silva Delgado <coadde@adinet.com.uy> | 2012-07-21 01:05:52 -0300 |
---|---|---|
committer | Márcio Alexandre Silva Delgado <coadde@adinet.com.uy> | 2012-07-21 01:05:52 -0300 |
commit | bfefeb8d707f6c5cd5121a52387e59b1b2c1faf5 (patch) | |
tree | c96c2dbd59823d0576801b91f0caee5434b94cb7 | |
parent | 91d3ac424045a8836a54c372a9c40bf21dcbde0c (diff) | |
parent | 87f7586d42d09da78b0599740380d7fbeac35004 (diff) | |
download | abslibre-bfefeb8d707f6c5cd5121a52387e59b1b2c1faf5.tar.gz abslibre-bfefeb8d707f6c5cd5121a52387e59b1b2c1faf5.tar.bz2 abslibre-bfefeb8d707f6c5cd5121a52387e59b1b2c1faf5.zip |
Merge branch 'master' of ssh://parabolagnulinux.org:1863/srv/git/abslibre
-rw-r--r-- | pcr/kervala_libsquish/PKGBUILD (renamed from pcr/kervala_libsquish-hg/PKGBUILD) | 8 | ||||
-rw-r--r-- | pcr/minetest/PKGBUILD | 53 | ||||
-rw-r--r-- | pcr/ryzom-data/PKGBUILD | 43 |
3 files changed, 100 insertions, 4 deletions
diff --git a/pcr/kervala_libsquish-hg/PKGBUILD b/pcr/kervala_libsquish/PKGBUILD index f75e1aba7..033dd19ec 100644 --- a/pcr/kervala_libsquish-hg/PKGBUILD +++ b/pcr/kervala_libsquish/PKGBUILD @@ -3,7 +3,7 @@ pkgname=kervala_libsquish-hg pkgver=220 pkgrel=1 -pkgdesc="Free Software DXT compression library, kervala's version" +pkgdesc="Open source DXT compression library, kervala's version" arch=('i686' 'x86_64') url="http://code.google.com/p/libsquish/" license=('MIT') @@ -38,9 +38,9 @@ build() { package() { cd "$srcdir/$_hgrepo-build/squish" - mkdir -p ${pkgdir}/usr/local/include - mkdir -p ${pkgdir}/usr/local/lib - make -e INSTALL_DIR="$pkgdir/usr/local" install + install -d -m 755 ${pkgdir}/usr/include + install -d -m 755 ${pkgdir}/usr/lib + make -e INSTALL_DIR="$pkgdir/usr/" install } # vim:set ts=2 sw=2 et: diff --git a/pcr/minetest/PKGBUILD b/pcr/minetest/PKGBUILD new file mode 100644 index 000000000..8d11e3747 --- /dev/null +++ b/pcr/minetest/PKGBUILD @@ -0,0 +1,53 @@ +# Maintainer: Jorge Araya Navarro <jorgean@lavabit.com> +pkgname=minetest-git +pkgver=20120409 +pkgrel=1 +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 +} diff --git a/pcr/ryzom-data/PKGBUILD b/pcr/ryzom-data/PKGBUILD new file mode 100644 index 000000000..272db5c07 --- /dev/null +++ b/pcr/ryzom-data/PKGBUILD @@ -0,0 +1,43 @@ +# Mantainer: Jorge Araya Navarro <jorgean@lavabit.com> +pkgname='ryzom-data' +group='ryzom' +pkgver=0.8.0 +pkgrel=1 +arch=('any') +url="http://media.ryzom.com/" +license=('CCPL:by-sa') +makedepends=('rsync' 'p7zip-libre') +conflicts=('ryzom-data') +pkgdesc="An awesome free software 3D MMORPG game. Game data." +source=("http://sourceforge.net/projects/ryzom/files/ryzom_client.7z/download") +noextract=("download") +sha256sums=('fa9e44e1014f4ae8639f1ec092391a41f69fc343ce48dd39b55ffae06ec3291f') + +package() { + cd "$srcdir/" + + if [[ -d "data" ]]; then + rm -rf data + fi + + mv "download" "ryzom_client.7z" + msg "Extracting game data..." + 7z x ryzom_client.7z ryzom/data/ >& /dev/null + cd ryzom/data/ + + msg "Updating the official Ryzom game data, this can take a while..." + rsync -rtzvu --progress --stats --recursive --timeout=30 www.ryzom.com::ryzom/data/ ./ >& /dev/null + msg 'Update completed...' + + cd "$srcdir/ryzom/data" + + # creating directories + install -d -m 755 "${pkgdir}/usr/share/ryzom/data/fonts/" + + # installing files + install -m 644 fonts/* "${pkgdir}/usr/share/ryzom/data/fonts/" + rm -rf fonts + + install -m 644 * "${pkgdir}/usr/share/ryzom/data/" +} + |