updated on Wed Jan 11 00:07:16 UTC 2012
[aur-mirror.git] / spoutcraft / PKGBUILD
blobcf52301ae719626afb5d4484ff0acf999c77dae8
1 # Maintainer: kozec <kozec at kozec dot com>
2 # Based on minecraft package by Christophe Robin
3 pkgname=spoutcraft
4 pkgver=3
5 pkgrel=2
6 pkgdesc="Launcher and client-side mod for Minecraft"
7 arch=(i686 x86_64)
8 license=('custom')
9 url="https://github.com/SpoutDev/Spoutcraft"
10 depends=('java-runtime' 'xorg-server-utils' 'openal')
11 source=(spoutcraft
12         http://dev.bukkit.org/media/files/537/804/Spoutcraft.jar
13         spoutcraft.desktop spoutcraft.png)
15 build() {
16     cd "$srcdir" || return 1
18     install -D -m755 "${srcdir}/spoutcraft"         "${pkgdir}/usr/bin/spoutcraft"
19     install -D -m644 "${srcdir}/Spoutcraft.jar"     "${pkgdir}/usr/share/spoutcraft/Spoutcraft.jar"
21     # Desktop launcher with icon
22     install -D -m644 "${srcdir}/spoutcraft.desktop" "${pkgdir}/usr/share/applications/spoutcraft.desktop"
23     install -D -m644 "${srcdir}/spoutcraft.png"     "${pkgdir}/usr/share/pixmaps/spoutcraft.png"
26 md5sums=('47f4a8ad39f399dda1b3575cb546c324'
27          '87d9d9b553a0dda41bf5c256223ecd40'
28          '71f37490d1ec1ef74488ae18e235d230'
29          '71170c397a5c110b7b80051d1339d69c')