summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b263384e47d5f194360c9b0887d263c7a1ca95dc (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
pkgname='rum-bin'
_pkgname="${pkgname%-bin}"
pkgver=0.7.3
pkgrel=1
pkgdesc='Game library management'
arch=('x86_64')
url='https://johncena141.eu.org:8141/johncena141/rum'
license=('GPL3')
provides=('rum')
replaces=('chad-launcher-bin')
depends=(webkit2gtk curl wget openssl appmenu-gtk-module gtk3 libappindicator-gtk3 libvips udev)
makedepends=()
source=(
    "${_pkgname}-${pkgver}::https://github.com/jc141x/${_pkgname}/releases/download/v${pkgver}/${_pkgname}"
    "${_pkgname}.desktop::https://raw.githubusercontent.com/jc141x/${_pkgname}/v${pkgver}/${_pkgname}.desktop"
    "${_pkgname}.svg::https://raw.githubusercontent.com/jc141x/${_pkgname}/v${pkgver}/icon.svg"
)
md5sums=('16627ed62d671a91e628ece16b46c325'
         'cf6b34f87f20f6d7cb9385c2024e359a'
         '2026d2262f6f8c02881dcb53c6363064')

prepare() {
    cd $srcdir
    mv $_pkgname-$pkgver ${_pkgname%-$pkgver}
}
package() {
    cd $srcdir
    install -Dm0755 -t "$pkgdir/usr/bin/" "${_pkgname%-$pkgver}"
    install -Dm644 "${_pkgname}.desktop" "$pkgdir/usr/share/applications/${_pkgname}.desktop"
    install -Dm644 ${_pkgname}.svg "$pkgdir/usr/share/pixmaps/${_pkgname}.svg"
}