Created

Embed URL

HTTPS clone URL

SSH clone URL

You can clone with HTTPS or SSH.

Download Gist

Better PKGBUILD for Minetest

View PKGBUILD
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27
pkgname=minetest
pkgver=0.4.3
pkgrel=1
pkgdesc='An Infiniminer/Minecraft inspired game'
arch=('i686' 'x86_64')
url='http://minetest.net/'
license=('GPL')
depends=('libjpeg' 'bzip2' 'sqlite3' 'libgl' 'libxxf86vm' 'openal')
makedepends=('cmake' 'irrlicht' 'mesa' 'libjpeg' 'bzip2' 'libpng' 'zlib' 'libvorbis')
conflicts=('minetest-hg')
source=($pkgname-$pkgver.tar.gz::https://github.com/celeron55/$pkgname/tarball/$pkgver
${pkgname}_game-$pkgver.tar.gz::https://github.com/celeron55/${pkgname}_game/tarball/$pkgver)
md5sums=('62926360b379be7b5ecba6e0d94a8173'
'd0f475ebc45428759342895a55b9638b')
 
build() {
cd "$srcdir"/celeron55-minetest-*
cmake . -DCMAKE_INSTALL_PREFIX=/usr
make
}
 
package() {
cd "$srcdir"/celeron55-minetest-*
make DESTDIR="$pkgdir" install
 
mv "$srcdir"/celeron55-minetest_game-* "$pkgdir"/usr/share/minetest/games/minetest
}
View PKGBUILD
1
PKGBUILD (minetest) W: Missing Maintainer tag
View PKGBUILD
1 2 3 4 5
minetest E: Files in /usr/share/icons/hicolor but no call to gtk-update-icon-cache or xdg-icon-resource to update the icon cache
minetest E: Dependency gcc-libs detected and not included (libraries ['usr/lib/libstdc++.so.6', 'usr/lib/libgcc_s.so.1'] needed in files ['usr/bin/minetestserver', 'usr/bin/minetest'])
minetest E: Dependency hicolor-icon-theme detected and not included (needed for hicolor theme hierarchy)
minetest W: Dependency included and not needed ('libjpeg')
minetest W: Dependency bzip2 included but already satisfied
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Something went wrong with that request. Please try again.