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

pkgname=runescape-launcher-nxt
pkgver=2.0.6
pkgrel=2
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"
               "wrapper.sh")
sha256sums_x86_64=('b59ef54de67abd362b6f32ae3a32a170470c51d2912780b6ae76fb0982dbacf0'
                   'd20151c9111a77e753954638eb60f1b4ec0d2c86e173041dcd95bb7b309d5b12')

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

package() {
    cp -a usr "$pkgdir"
    mv "$pkgdir"/usr/bin/runescape-launcher{,.real}
    install -Dm0755 wrapper.sh "$pkgdir"/usr/bin/runescape-launcher
    install -Dm0644 copyright "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}

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