diff options
Diffstat (limited to 'community/minetest')
-rw-r--r-- | community/minetest/PKGBUILD | 36 | ||||
-rw-r--r-- | community/minetest/minetest.install | 17 |
2 files changed, 0 insertions, 53 deletions
diff --git a/community/minetest/PKGBUILD b/community/minetest/PKGBUILD deleted file mode 100644 index a4673ea18..000000000 --- a/community/minetest/PKGBUILD +++ /dev/null @@ -1,36 +0,0 @@ -# $Id: PKGBUILD 92558 2013-06-08 12:13:58Z lcarlier $ -# Maintainer: Laurent Carlier <lordheavym@gmail.com> -# Contributor: Konsta Kokkinen <kray@tsundere.fi> - -pkgname=minetest -pkgver=0.4.7 -pkgrel=1 -pkgdesc='An Infiniminer/Minecraft inspired game' -arch=('i686' 'x86_64') -url='http://minetest.net/' -license=('GPL') -depends=('sqlite' 'libgl' 'libxxf86vm' 'openal' 'libvorbis' 'curl' 'hicolor-icon-theme') -makedepends=('cmake' 'irrlicht' 'mesa') -install=minetest.install -source=(${pkgname}-${pkgver}.tar.gz::https://github.com/minetest/${pkgname}/tarball/${pkgver} - ${pkgname}_game-${pkgver}.tar.gz::https://github.com/minetest/${pkgname}_game/tarball/${pkgver}) -md5sums=('232b87ef5c4300ddad7bc883f8f1a1c5' - '30a9965667470ebc785979de665d4df4') - -build() { - cd "$srcdir"/minetest-minetest-* - - cmake . -DCMAKE_INSTALL_PREFIX=/usr - make -} - -package() { - cd "$srcdir"/minetest-minetest-* - - make DESTDIR="$pkgdir" install - - mv -v "$srcdir"/minetest-minetest_game-* "$pkgdir"/usr/share/minetest/games/minetest - - # small cleanup - rm "$pkgdir"/usr/share/minetest/games/minetest/.gitignore -} diff --git a/community/minetest/minetest.install b/community/minetest/minetest.install deleted file mode 100644 index 85b22a1c5..000000000 --- a/community/minetest/minetest.install +++ /dev/null @@ -1,17 +0,0 @@ -post_install() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 - update-desktop-database > /dev/null 2>&1 -} - -post_upgrade() { - post_install $1 -} - -pre_remove() { - update-desktop-database > /dev/null 2>&1 -} - -post_remove() { - gtk-update-icon-cache -q -t -f /usr/share/icons/hicolor > /dev/null 2>&1 - update-desktop-database > /dev/null 2>&1 -} |