1 # Maintainer: wido <widomaker2k7 @ gmail.com>
3 pkgname=minetest-delta-git
6 pkgdesc="fork of Minetest-c55 with additional experimental features"
8 url="https://github.com/erlehmann/minetest-delta"
10 makedepends=('mercurial' 'cmake' 'irrlicht' 'libx11' 'mesa' 'libjpeg' 'bzip2' 'libpng' 'zlib')
11 depends=('libx11' 'libjpeg' 'bzip2' 'libpng' 'zlib')
12 conflicts=('minetest')
15 _gitname="minetest-delta"
16 _gitroot="git://github.com/erlehmann/minetest-delta.git"
19 msg "Connecting to github.com GIT server...."
21 if [ -d ${srcdir}/$_gitname ] ; then
22 cd $_gitname && git pull origin
23 msg "The local files are updated."
28 msg "GIT checkout done or server timeout"
29 msg "Starting make..."
31 rm -rf ${srcdir}/${_gitname}-build
32 cp -r ${srcdir}/${_gitname} ${srcdir}/${_gitname}-build
34 cd ${srcdir}/${_gitname}-build
36 cmake . -DCMAKE_INSTALL_PREFIX=/usr
39 cd ${srcdir}/${_gitname}-build
40 make -j2 DESTDIR=${pkgdir}/ install