diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-01 14:41:31 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-05-01 14:41:31 -0300 |
commit | 6e4af77d9210a3946f2d619a341be156bb45d4c3 (patch) | |
tree | cbf6f4b5e4fb8844e6072b8ac124cff5f8680852 /pcr/minetest/PKGBUILD | |
parent | 4ed5e1f5d00ebc733f9d10967576c0c1a830d5eb (diff) |
minetest-git-20130501-1: updating version
Diffstat (limited to 'pcr/minetest/PKGBUILD')
-rw-r--r-- | pcr/minetest/PKGBUILD | 53 |
1 files changed, 0 insertions, 53 deletions
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 -} |