rune-player-git

LOW
maintainer orphaned 0 votes scanned 2026-10-24 07:39:45.568380
View on AUR
Why flagged

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

Triggered rules

Low Few votes, recently uploaded zero_votes_recent

Uploaded within the last 14 days with 2 or fewer community votes — little peer review so far.

PKGBUILD

1# Maintainer: Roald Clark <roaldclark@gmail.com>
2
3_name=rune
4_pkgname=rune-player
5pkgname=rune-player-git
6pkgver=1.1.0.20250126.111837
7pkgrel=1
8pkgdesc="The player that blends classic design with modern technology"
9arch=('x86_64')
10url="https://github.com/Losses/${_name}"
11license=('MPL-2.0')
12depends=(
13 'alsa-lib'
14 'at-spi2-core'
15 'ayatana-ido'
16 'cairo'
17 'dbus'
18 'fontconfig'
19 'gcc-libs'
20 'gdk-pixbuf2'
21 'glib2'
22 'glibc'
23 'gtk3'
24 'harfbuzz'
25 'hicolor-icon-theme'
26 'libayatana-appindicator'
27 'libayatana-indicator'
28 'libdbusmenu-glib'
29 'libepoxy'
30 'libnotify'
31 'openssl'
32 'pango'
33 'zlib'
34)
35makedepends=(
36 # These dependencies may face outdated updates or build errors
37 # It is recommended to use fvm as an alternative
38 #
39 #'flutter-intellij-patch'
40 #'flutter-target-linux'
41 #'flutter-tool'
42 'git'
43 'patchelf'
44 'protobuf'
45 'protoc-gen-dart'
46 'protoc-gen-prost'
47 'rustup'
48)
49makedepends+=(
50 'clang'
51 'cmake'
52 'fvm'
53 'ninja'
54)
55provides=("${_pkgname}=${pkgver}")
56conflicts=("${_pkgname}")
57options=(!lto)
58source=(
59 "${_pkgname}::git+${url}.git"
60 "${_name}.desktop"
61)
62sha256sums=('SKIP'
63 '8c680492966831e2da2968007f2d5d3dbfbf72fdab670592689ac42f37af2121')
64
65pkgver() {
66 cd "${srcdir}/${_pkgname}"
67 version=$(git describe --tags --abbrev=0 | sed 's/^v//;s/-.*//')
68 [[ "$version" =~ ^[0-9]+\.[0-9]+\.[0-9]+$ ]] || exit 1
69 printf "%s.%s" "${version}" "$(TZ=UTC git log -1 --pretty='%cd' --date=format-local:%Y%m%d.%H%M%S)"
70}
71
72prepare() {
73 cd "${srcdir}/${_pkgname}"
74
75 export FVM_CACHE_PATH="${SRCDEST}/fvm-cache"
76
77 sed -i '$a\' .gitignore
78 echo ".fvm/" >> .gitignore
79
80 fvm install stable
81 fvm use stable
82
83 fvm flutter --no-version-check config --no-analytics
84 fvm flutter --no-version-check pub get
85}
86
87build() {
88 cd "${srcdir}/${_pkgname}"
89
90 export LDFLAGS="${LDFLAGS} -Wl,--no-as-needed"
91 export FVM_CACHE_PATH="${SRCDEST}/fvm-cache"
92 export RUSTUP_TOOLCHAIN=stable
93 export CARGO_TARGET_DIR=target
94
95 fvm flutter --no-version-check pub run rinf message
96 fvm flutter --no-version-check build linux --no-pub --release --verbose
97}
98
99package() {
100 cd "${srcdir}/${_pkgname}"
101
102 install -Dm644 LICENSE -t "${pkgdir}/usr/share/licenses/${pkgname}/"
103
104 pushd assets/icons
105 #find . \( -path "./android" -o -path "./fluent" -o -path "./macos" \) -prune -o -type f -exec install -v -Dm644 {} ${pkgdir}/usr/share/icons/{} \;
106 find ./breeze ./gnome -type f -exec install -v -Dm644 {} ${pkgdir}/usr/share/icons/{} \;
107 cd Papirus
108 find . -type f -exec install -v -Dm644 {} ${pkgdir}/usr/share/icons/hicolor/{} \;
109 popd
110 ln -sfrv ${pkgdir}/usr/share/icons/breeze/apps/1024/${_name}.png ${pkgdir}/usr/share/icons/${_name}.png
111
112 cd build/linux/x64/release/bundle
113 install -Dm755 ${_name} -t "${pkgdir}/usr/lib/${_pkgname}/"
114 pushd lib
115 find . -type f -exec install -v -Dm644 {} ${pkgdir}/usr/lib/${_pkgname}/lib/{} \;
116 popd
117 pushd data
118 find . -type f -exec install -v -Dm644 {} ${pkgdir}/usr/lib/${_pkgname}/data/{} \;
119 popd
120 install -dm755 "${pkgdir}/usr/bin"
121 ln -sfrv "${pkgdir}/usr/lib/${_pkgname}/${_name}" "${pkgdir}/usr/bin/${_name}"
122
123 # Fix rpath that causes 'Insecure RUNPATH'
124 for shared_lib in "${pkgdir}/usr/lib/${_pkgname}/lib"/*.so; do
125 [[ -z $(patchelf --print-rpath "${shared_lib}") ]] && continue
126 [[ $(patchelf --print-rpath "${shared_lib}") == '$ORIGIN' ]] && continue
127 patchelf --set-rpath '$ORIGIN' "${shared_lib}"
128 done
129
130 install -Dm644 "${srcdir}/${_name}.desktop" -t "${pkgdir}/usr/share/applications/"
131}
132

Scan history

Scanned at (UTC)SeverityRules
2026-10-24 07:39:45 Low 1

Report a package

Reports go to the AURWatch maintainer (one person) and are read by hand. No login required.

0 / 4000
Your suggestion