diff options
author | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
---|---|---|
committer | Nicolás Reynolds <fauno@endefensadelsl.org> | 2014-03-21 03:22:19 +0000 |
commit | d0f33415f254cb2fee06fd89f9cfed4535322f37 (patch) | |
tree | 66c13d72eac4f0110772b4675231c891334137bc /pcr/minetest-git/PKGBUILD | |
parent | 7e108c74958ec076a3734822f61f145d0d69547f (diff) |
Fri Mar 21 03:19:28 UTC 2014
Diffstat (limited to 'pcr/minetest-git/PKGBUILD')
-rw-r--r-- | pcr/minetest-git/PKGBUILD | 91 |
1 files changed, 0 insertions, 91 deletions
diff --git a/pcr/minetest-git/PKGBUILD b/pcr/minetest-git/PKGBUILD deleted file mode 100644 index e322285cf..000000000 --- a/pcr/minetest-git/PKGBUILD +++ /dev/null @@ -1,91 +0,0 @@ -# Maintainer: Konsta Kokkinen <kray@tsundere.fi> -# Maintainer (Parabola): Jorge Araya Navarro <jorgean@lavabit.com> -# Contributor (Parabola): André Silva <emulatorman@parabola.nu> -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 -} |