diff options
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 -} |