Files
hoerwerk/packaging/arch/PKGBUILD
wlkns-dev 86ddae642f
Some checks failed
Release (AppImage + deb + pacman) / AppImage + deb (Ubuntu) (push) Successful in 4m22s
Release (AppImage + deb + pacman) / pacman (Arch) (push) Failing after 7m8s
CI: python ins Arch-Image-Dep-Set; v0.1.3
2026-11-07 13:24:39 +01:00

32 lines
1.2 KiB
Bash

# Maintainer: Stephan Wilkens
pkgname=hoerwerk
pkgver=0.1.3
pkgrel=1
pkgdesc='Lokaler Hörbuch-Player für die eigene Audible-Bibliothek (Tauri 2 + Svelte)'
arch=('x86_64')
url='https://git.wlkns.org/wlkns-dev/hoerwerk'
license=('MIT')
depends=('gtk3' 'webkit2gtk-4.1' 'libayatana-appindicator' 'mpv' 'ffmpeg' 'openssl')
makedepends=('git' 'nodejs' 'npm' 'rust')
source=("git+https://git.wlkns.org/wlkns-dev/hoerwerk.git#tag=v$pkgver")
sha256sums=('SKIP')
build() {
cd "$srcdir/hoerwerk"
npm install
npm run build
cd src-tauri
cargo build --release
}
package() {
cd "$srcdir/hoerwerk"
install -Dm755 src-tauri/target/release/hoerwerk "$pkgdir/usr/bin/hoerwerk"
install -Dm644 src-tauri/icons/128x128.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/hoerwerk.png"
install -Dm644 src-tauri/icons/32x32.png "$pkgdir/usr/share/icons/hicolor/32x32/apps/hoerwerk.png"
install -Dm644 src-tauri/icons/icon.png "$pkgdir/usr/share/icons/hicolor/512x512/apps/hoerwerk.png"
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/hoerwerk/LICENSE"
install -Dm644 packaging/arch/hoerwerk.desktop "$pkgdir/usr/share/applications/hoerwerk.desktop"
install -d "$pkgdir/usr/share/hoerwerk"
}