blob: df4e935da305406656ccb48f0a1da1530b02c137 (
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
37
38
39
40
41
42
43
|
# Maintainer: Matvey Ryabchikov <orlition@gmail.com>
pkgname=ronix
pkgver=0.5.0
pkgrel=1
pkgdesc="A customizable music player and library manager"
arch=('x86_64')
url="https://github.com/ronanru/ronix"
license=('AGPL3')
depends=(
"base-devel"
"webkit2gtk"
"curl"
"wget"
"file"
"openssl"
"appmenu-gtk-module"
"gtk3"
"libappindicator-gtk3"
"librsvg"
"libvips"
"yt-dlp"
"sacad"
"gstreamer")
makedepends=("rust" "nodejs>=18" "pnpm")
source=("ronix::https://github.com/ronanru/ronix/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=("d6fa7309820528149297e59a2f9282f425472302fafc418683e8bdb73cc3dac9")
prepare() {
cd ronix-$pkgver
pnpm install --frozen-lockfile
}
build() {
cd ronix-$pkgver
pnpm run tauri build --bundles
}
package() {
cd ronix-$pkgver
install -Dm755 src-tauri/target/release/ronix "$pkgdir/usr/bin/ronix"
install -Dm644 ronix.desktop "$pkgdir/usr/share/applications/ronix.desktop"
install -Dm644 src-tauri/icons/128x128.png "$pkgdir/usr/share/pixmaps/ronix.png"
}
|