Date: Tuesday, August 26, 2014 @ 16:02:09 Author: eric Revision: 117907
archrelease: copy trunk to community-x86_64 Added: minetest/repos/community-x86_64/PKGBUILD (from rev 117906, minetest/trunk/PKGBUILD) minetest/repos/community-x86_64/minetest.install (from rev 117906, minetest/trunk/minetest.install) minetest/repos/community-x86_64/minetest@.service (from rev 117906, minetest/trunk/minetest@.service) Deleted: minetest/repos/community-x86_64/PKGBUILD minetest/repos/community-x86_64/minetest.install -------------------+ PKGBUILD | 180 ++++++++++++++++++++++++++-------------------------- minetest.install | 24 +++--- minetest@.service | 10 ++ 3 files changed, 112 insertions(+), 102 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2014-08-26 14:00:02 UTC (rev 117906) +++ PKGBUILD 2014-08-26 14:02:09 UTC (rev 117907) @@ -1,90 +0,0 @@ -# $Id$ -# Maintainer: Laurent Carlier <lordhea...@gmail.com> -# Contributor: Konsta Kokkinen <k...@tsundere.fi> - -pkgname=('minetest' 'minetest-server' 'minetest-common') -pkgver=0.4.10 -pkgrel=4 -arch=('i686' 'x86_64') -url='http://minetest.net/' -license=('GPL') -makedepends=('sqlite' 'freetype2' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht' - 'hicolor-icon-theme' 'luajit' 'cmake') -source=(https://github.com/minetest/minetest/archive/$pkgver.tar.gz - data-$pkgver.tar.gz::https://github.com/minetest/minetest_game/archive/$pkgver.tar.gz - minetest@.service) -md5sums=('61bb35c9d5521f1b072bc3c3e634c863' - '398d83431c44fb85f02bd902b016338c' - 'ec193b09eb85f2518aaa17506ad06c57') - -prepare() { - install -d build-{client,server} -} - -build() { - cd "$srcdir"/build-client - cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_SERVER=0 \ - -DENABLE_GETTEXT=1 \ - -DENABLE_FREETYPE=1 \ - -DENABLE_LEVELDB=0 \ - -DENABLE_REDIS=0 \ - -DLUA_INCLUDE_DIR=/usr/include/luajit-2.0 \ - -DLUA_LIBRARY=//usr/lib/libluajit-5.1.so.2 - make - - cd "$srcdir"/build-server - cmake ../$pkgname-$pkgver \ - -DCMAKE_INSTALL_PREFIX=/usr \ - -DBUILD_CLIENT=0 \ - -DENABLE_LEVELDB=1 \ - -DENABLE_REDIS=1 \ - -DLUA_INCLUDE_DIR=/usr/include/luajit-2.0 \ - -DLUA_LIBRARY=//usr/lib/libluajit-5.1.so.2 - make -} - -package_minetest() { - pkgdesc='Multiplayer infinite-world block sandbox game' - depends=('minetest-common' 'irrlicht' 'curl' 'luajit' 'libvorbis' 'sqlite' - 'openal' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils') - install=$pkgname.install - - cd build-client - make DESTDIR="$pkgdir" install - cp -r locale "$pkgdir"/usr/share/ - - rm -rf "$pkgdir"/usr/share/{minetest,doc} - rm "$pkgdir"/usr/share/man/man6/minetestserver.6 -} - -package_minetest-server() { - pkgdesc='Server of infinite-world block sandbox game' - depends=('minetest-common' 'leveldb' 'luajit' 'curl' 'sqlite') - install=$pkgname.install - - cd build-server - make DESTDIR="$pkgdir" install - install -d "$pkgdir"/etc/minetest - install -Dm644 ../minetest@.service \ - "$pkgdir"/usr/lib/systemd/system/minetest@.service - - rm -rf "$pkgdir"/usr/share/{minetest,appdata,applications,icons,doc} - rm "$pkgdir"/usr/share/man/man6/minetest.6 -} - -package_minetest-common() { - pkgdesc='Common data files for minetest and minetest-server' - - cd $pkgbase-$pkgver - install -d "$pkgdir"/usr/share/minetest - - cp -r games builtin client fonts textures "$pkgdir"/usr/share/minetest/ - cp -r "$srcdir"/minetest_game-$pkgver "$pkgdir"/usr/share/minetest/games/minetest - rm "$pkgdir"/usr/share/minetest/games/minetest/.gitignore - - for file in doc/{lua_api,mapformat,menu_lua_api}.txt minetest.conf.example; do - install -Dm644 $file "$pkgdir"/usr/share/minetest/doc/$(basename $file) - done -} Copied: minetest/repos/community-x86_64/PKGBUILD (from rev 117906, minetest/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2014-08-26 14:02:09 UTC (rev 117907) @@ -0,0 +1,90 @@ +# $Id$ +# Maintainer: Laurent Carlier <lordhea...@gmail.com> +# Contributor: Konsta Kokkinen <k...@tsundere.fi> + +pkgname=('minetest' 'minetest-server' 'minetest-common') +pkgver=0.4.10 +pkgrel=4 +arch=('i686' 'x86_64') +url='http://minetest.net/' +license=('GPL') +makedepends=('sqlite' 'freetype2' 'leveldb' 'openal' 'libvorbis' 'curl' 'irrlicht' + 'hicolor-icon-theme' 'luajit' 'cmake') +source=(https://github.com/minetest/minetest/archive/$pkgver.tar.gz + data-$pkgver.tar.gz::https://github.com/minetest/minetest_game/archive/$pkgver.tar.gz + minetest@.service) +md5sums=('61bb35c9d5521f1b072bc3c3e634c863' + '398d83431c44fb85f02bd902b016338c' + 'ec193b09eb85f2518aaa17506ad06c57') + +prepare() { + install -d build-{client,server} +} + +build() { + cd "$srcdir"/build-client + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_SERVER=0 \ + -DENABLE_GETTEXT=1 \ + -DENABLE_FREETYPE=1 \ + -DENABLE_LEVELDB=0 \ + -DENABLE_REDIS=0 \ + -DLUA_INCLUDE_DIR=/usr/include/luajit-2.0 \ + -DLUA_LIBRARY=//usr/lib/libluajit-5.1.so.2 + make + + cd "$srcdir"/build-server + cmake ../$pkgname-$pkgver \ + -DCMAKE_INSTALL_PREFIX=/usr \ + -DBUILD_CLIENT=0 \ + -DENABLE_LEVELDB=1 \ + -DENABLE_REDIS=1 \ + -DLUA_INCLUDE_DIR=/usr/include/luajit-2.0 \ + -DLUA_LIBRARY=//usr/lib/libluajit-5.1.so.2 + make +} + +package_minetest() { + pkgdesc='Multiplayer infinite-world block sandbox game' + depends=('minetest-common' 'irrlicht' 'curl' 'luajit' 'libvorbis' 'sqlite' + 'openal' 'hicolor-icon-theme' 'desktop-file-utils' 'xdg-utils') + install=$pkgname.install + + cd build-client + make DESTDIR="$pkgdir" install + cp -r locale "$pkgdir"/usr/share/ + + rm -rf "$pkgdir"/usr/share/{minetest,doc} + rm "$pkgdir"/usr/share/man/man6/minetestserver.6 +} + +package_minetest-server() { + pkgdesc='Server of infinite-world block sandbox game' + depends=('minetest-common' 'leveldb' 'luajit' 'curl' 'sqlite') + install=$pkgname.install + + cd build-server + make DESTDIR="$pkgdir" install + install -d "$pkgdir"/etc/minetest + install -Dm644 ../minetest@.service \ + "$pkgdir"/usr/lib/systemd/system/minetest@.service + + rm -rf "$pkgdir"/usr/share/{minetest,appdata,applications,icons,doc} + rm "$pkgdir"/usr/share/man/man6/minetest.6 +} + +package_minetest-common() { + pkgdesc='Common data files for minetest and minetest-server' + + cd $pkgbase-$pkgver + install -d "$pkgdir"/usr/share/minetest + + cp -r games builtin client fonts textures "$pkgdir"/usr/share/minetest/ + cp -r "$srcdir"/minetest_game-$pkgver "$pkgdir"/usr/share/minetest/games/minetest + rm "$pkgdir"/usr/share/minetest/games/minetest/.gitignore + + for file in doc/{lua_api,mapformat,menu_lua_api}.txt minetest.conf.example; do + install -Dm644 $file "$pkgdir"/usr/share/minetest/doc/$(basename $file) + done +} Deleted: minetest.install =================================================================== --- minetest.install 2014-08-26 14:00:02 UTC (rev 117906) +++ minetest.install 2014-08-26 14:02:09 UTC (rev 117907) @@ -1,12 +0,0 @@ -post_install() { - xdg-icon-resource forceupdate --theme hicolor &> /dev/null - update-desktop-database &>/dev/null -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} Copied: minetest/repos/community-x86_64/minetest.install (from rev 117906, minetest/trunk/minetest.install) =================================================================== --- minetest.install (rev 0) +++ minetest.install 2014-08-26 14:02:09 UTC (rev 117907) @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database &>/dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} Copied: minetest/repos/community-x86_64/minetest@.service (from rev 117906, minetest/trunk/minetest@.service) =================================================================== --- minetest@.service (rev 0) +++ minetest@.service 2014-08-26 14:02:09 UTC (rev 117907) @@ -0,0 +1,10 @@ +[Unit] +Description=Minetest multiplayer server w/ %i.conf server config +After=syslog.target network.target + +[Service] +User=minetest +ExecStart=/usr/bin/minetestserver --config /etc/minetest/%i.conf --map-dir /var/lib/minetest/%i/ + +[Install] +WantedBy=multi-user.target