summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 18bae5ac4dd70bb445fbf6c60f471c4fb30d8b99 (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
# Upstream: RuneScape Linux <noreply@jagex.com>

pkgname=runescape-launcher-nxt
pkgver=2.0.6
pkgrel=1
pkgdesc="RuneScape MMORPG – NXT client core"
arch=(x86_64)
license=(custom)
uri="https://www.runescape.com/"
depends=(
    gcc-libs
    glew1.10
    libcurl-compat
    libvorbis
    sdl2
    webkitgtk2
)
source_x86_64=("http://content.runescape.com/a=946/downloads/ubuntu/pool/non-free/r/runescape-launcher/runescape-launcher_${pkgver}_amd64.deb")
sha256sums_x86_64=('b59ef54de67abd362b6f32ae3a32a170470c51d2912780b6ae76fb0982dbacf0')

prepare() {
    bsdtar xf control.tar.gz
    bsdtar xf data.tar.xz
}

package() {
    cp -a usr "$pkgdir"
    sed -i '1aexport LD_PRELOAD="/usr/lib/libcurl.so.3"' "$pkgdir"/usr/bin/runescape-launcher
    install -Dm0644 copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

# vim: ft=sh:ts=4:sw=4:et