blob: bb5ab03af5b402ed538116134e39afb3672f6c26 (
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
26
27
28
29
30
31
32
33
34
|
# Maintainer: Ivan Puntiy <ivan.puntiy-at-gmail>
pkgname=unix-runescape-client
pkgver=4.2.5
pkgrel=1
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' 'perl-wx' 'wget')
optdepends=(
'wine: for "compatibility mode" fix'
'alsa-oss: for "force alsa" fix'
'pulseaudio: for "force pulseaudio" fix'
'p7zip: to extract launcher from .msi'
'perl-config-inifiles: instead of builtin'
'perl-io-stringy: instead of builtin'
)
conflicts=('runescape-client-bin')
install=$pkgname.install
source=("$pkgname-$pkgver.tar.gz::https://github.com/HikariKnight/rsu-client/archive/v$pkgver.tar.gz")
md5sums=('2791f6d7a0fa999d14a53636babb917b')
package() {
local _instdir="$pkgdir"/opt/runescape
cd "$srcdir/rsu-client-$pkgver/runescape"
mkdir -p "$_instdir" "$pkgdir"/usr/{bin,share/applications}
# copy the stuff
cp -t "$_instdir" *.txt runescape updater rsu-settings AUTHORS
cp -Rt "$_instdir" share rsu
cp -Rt "$pkgdir"/usr/bin templates/packaging/usr/games/*
cp -Rt "$pkgdir"/usr templates/packaging/usr/share
}
|