summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b36645de839f70e5ef22fe1b69bb7a611f02fc77 (plain)
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
# Maintainer: Constantin Schomburg <me at xconstruct dot net>

pkgname=mcpatcher
pkgver=1.1.9
pkgrel=1
pkgdesc="Minecraft patcher to fix textures with higher than default resolution"
arch=('any')
license=('custom')
url="https://github.com/pclewis/mcpatcher"
depends=('java-runtime')
optdepends=('minecraft: the game itself')
source=(mcpatcher https://github.com/downloads/pclewis/mcpatcher/mcpatcher-$pkgver.jar)
md5sums=('38358254be76dc84676509f43be44938'
         'd72a768b9fe1e947203bd63ff8839ded')

build() {
    cd "$srcdir" || return 1

    mkdir -p $pkgdir/usr/bin
    cp mcpatcher $pkgdir/usr/bin
    mkdir -p $pkgdir/usr/share/mcpatcher
    cp mcpatcher-$pkgver.jar $pkgdir/usr/share/mcpatcher/mcpatcher.jar
}

# vim:set ts=4 sw=4 et: