diff options
author | Ivan Puntiy | 2013-05-30 22:16:13 +0300 |
---|---|---|
committer | Ivan Puntiy | 2013-05-30 22:16:13 +0300 |
commit | 1cda327a1260937366196dd3f2fbf35c2d72f869 (patch) | |
tree | 83ae80e0ba29a77da16522b232746c6890b67bf3 | |
parent | 228deb04b9c890b6b0ce4b3ae343b10b973065cf (diff) | |
download | aur-1cda327a1260937366196dd3f2fbf35c2d72f869.tar.gz |
unix-runescape-client 4.0.6-2
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 12 |
2 files changed, 9 insertions, 10 deletions
@@ -1,11 +1,12 @@ pkgbase = unix-runescape-client pkgdesc = RuneScape client for Linux and Unix pkgver = 4.0.6 - pkgrel = 1 + pkgrel = 2 url = http://hkprojects.weebly.com/runescape-client-for-linux-and-unix.html install = unix-runescape-client.install arch = any license = GPL2 + makedepends = git depends = java-runtime depends = perl depends = xterm @@ -15,8 +16,8 @@ pkgbase = unix-runescape-client optdepends = alsa-oss: for "force alsa" fix optdepends = pulseaudio: for "force pulseaudio" fix conflicts = runescape-client-bin - source = unix-runescape-client-4.0.6.tar.gz::https://github.com/HikariKnight/rsu-client/tarball/v4.0.6 - md5sums = 8c99c1d3d7bb0d6822aa009dd1235e73 + source = git://github.com/HikariKnight/rsu-client.git#tag=v4.0.6 + md5sums = SKIP pkgname = unix-runescape-client @@ -1,12 +1,13 @@ # Maintainer: Ivan Puntiy <ivan.puntiy-at-gmail> pkgname=unix-runescape-client pkgver=4.0.6 -pkgrel=1 +pkgrel=2 pkgdesc="RuneScape client for Linux and Unix" arch=(any) url="http://hkprojects.weebly.com/runescape-client-for-linux-and-unix.html" license=(GPL2) depends=('java-runtime' 'perl' 'xterm' 'p7zip' 'perl-wx') +makedepends=('git') optdepends=( 'wine: for "compatibility mode" fix' 'alsa-oss: for "force alsa" fix' @@ -14,13 +15,12 @@ optdepends=( ) conflicts=('runescape-client-bin') install=$pkgname.install -source=("$pkgname-$pkgver.tar.gz::https://github.com/HikariKnight/rsu-client/tarball/v$pkgver") +source=("git://github.com/HikariKnight/rsu-client.git#tag=v$pkgver") +md5sums=('SKIP') package() { local _instdir="$pkgdir"/opt/runescape - local _hash=$(tar -tf "$srcdir"/$pkgname-$pkgver.tar.gz | head -1 | sed 's:HikariKnight-rsu-client-\([0-9a-fA-F]*\)/:\1:g') - - cd "$srcdir/HikariKnight-rsu-client-$_hash/runescape" + cd "$srcdir/rsu-client/runescape" mkdir -p "$_instdir" "$pkgdir"/usr/{bin,share/applications} @@ -30,5 +30,3 @@ package() { cp -Rt "$pkgdir"/usr/bin templates/packaging/usr/games/* cp -Rt "$pkgdir"/usr templates/packaging/usr/share } - -md5sums=('8c99c1d3d7bb0d6822aa009dd1235e73') |