mcpatcher!

This commit is contained in:
xconstruct 2010-11-19 19:10:37 +01:00
commit 7284eece46
3 changed files with 44 additions and 0 deletions

16
.SRCINFO Normal file
View file

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

25
PKGBUILD Normal file
View file

@ -0,0 +1,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:

3
mcpatcher Executable file
View file

@ -0,0 +1,3 @@
#!/bin/sh
java -Xmx512m -jar /usr/share/mcpatcher/mcpatcher.jar