updated on Tue Jan 10 04:01:21 UTC 2012
[aur-mirror.git] / minecraft-launcher / PKGBUILD
blob7561078cbe8e28b9b4bd09a7fecdaded22932582
1 # Maintainer: Christophe Robin <crobin@php.net>
3 pkgname=minecraft-launcher
4 pkgver=latest
5 pkgrel=1
6 pkgdesc="Launcher for Minecraft, a game about building with blocks in an infinite world."
7 arch=(any)
8 license=('custom')
9 url="http://www.minecraft.net/"
10 depends=('jre6' 'xorg-server-utils' 'openal')
11 conflicts=('minecraft')
12 source=(minecraft-launcher https://s3.amazonaws.com/MinecraftDownload/launcher/minecraft.jar
13          minecraft.desktop minecraft.png minecraft-launcher.install)
14 md5sums=('08ae214b70b6de2be0d424375f96fc2d'
15          '6e053e85cd4920f7aaf26c4455b50ce7'
16          'd43c7f36641f561d6506e06ba4782bd3'
17          'b2c25797bf513a5ee215dd90b4b828e3'
18          'a9cdf3f04808232fb6e9bb5c6d094815')
19 install='minecraft-launcher.install'
21 build() {
22     cd "$srcdir" || return 1
24     install -D -m755 "${srcdir}/minecraft-launcher"         "${pkgdir}/usr/bin/minecraft-launcher"
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"