diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 5 insertions, 7 deletions
@@ -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') |