1 # Maintainer: Christophe Robin <crobin@php.net>
6 pkgdesc="Minecraft is a game about placing blocks while running from skeletons. Or something like that..."
9 url="http://www.minecraft.net/"
10 depends=('java-runtime' 'xorg-server-utils' 'openal')
11 noextract=('minecraft.jar')
12 source=(minecraft http://www.minecraft.net/download/minecraft.jar
13 minecraft.desktop minecraft.png minecraft.install)
14 md5sums=('d32e584dc77a3cf45d7116fb3fcdd4ea'
15 '6e053e85cd4920f7aaf26c4455b50ce7'
16 'dad9b69540dac246ced70b98f07e8e08'
17 'b2c25797bf513a5ee215dd90b4b828e3'
18 '30f8fd3deb598757bb21bac3c1c55110')
19 install='minecraft.install'
22 cd "$srcdir" || return 1
24 install -D -m755 "${srcdir}/minecraft" "${pkgdir}/usr/bin/minecraft"
25 install -D -m644 "${srcdir}/minecraft.jar" "${pkgdir}/usr/share/minecraft/minecraft.jar"
27 # Desktop launcher with icon
28 install -D -m644 "${srcdir}/minecraft.desktop" "${pkgdir}/usr/share/applications/minecraft.desktop"
29 install -D -m644 "${srcdir}/minecraft.png" "${pkgdir}/usr/share/pixmaps/minecraft.png"
32 # vim:set ts=4 sw=4 et: