blob: eb1451094b7c3c5541a352d514cb0bb34d697f08 (
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
36
|
pkgname='rum-git'
_pkgname=${pkgname%-git}
pkgver=r327.d9da55f
pkgrel=2
pkgdesc='Game library management - master branch'
arch=('x86_64')
url='https://johncena141.eu.org:8141/johncena141/rum'
license=('GPL3')
depends=(webkit2gtk curl wget openssl appmenu-gtk-module gtk3 libappindicator-gtk3 libvips udev)
makedepends=(cargo pnpm git squashfs-tools patchelf)
provides=('rum')
conflicts=('rum')
replaces=('chad-launcher-git')
source=("git+https://johncena141.eu.org:8141/johncena141/${_pkgname}.git#branch=master")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/$_pkgname"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/$_pkgname"
export RUSTUP_TOOLCHAIN=stable
pnpm install
pnpm run build
pnpm run tauri build
}
package() {
cd "$srcdir/$_pkgname"
install -Dm0755 -t "$pkgdir/usr/bin/" "src-tauri/target/release/rum"
install -Dm644 ./rum.desktop "$pkgdir/usr/share/applications/rum.desktop"
install -Dm644 ./icon.svg "$pkgdir/usr/share/pixmaps/rum.svg"
}
|