Install desktop entries and icon in AUR packages

This commit is contained in:
Sebastian Palencsar
2026-05-28 06:41:25 +02:00
parent 56a0318cec
commit bdc91ab4db
4 changed files with 18 additions and 4 deletions

View File

@@ -1,6 +1,6 @@
pkgname=bearhub-git
pkgver=0.10.7.r0.g0000000
pkgrel=1
pkgrel=2
pkgdesc="Arch-first package manager hub (development snapshot, fork of bauh)"
arch=('any')
url="https://github.com/spalencsar/bearhub"
@@ -40,4 +40,11 @@ build() {
package() {
cd "$srcdir/bearhub"
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 "bauh/desktop/bauh.desktop" \
"$pkgdir/usr/share/applications/bearhub.desktop"
install -Dm644 "bauh/desktop/bauh_tray.desktop" \
"$pkgdir/usr/share/applications/bearhub-tray.desktop"
install -Dm644 "bauh/view/resources/img/logo.svg" \
"$pkgdir/usr/share/icons/hicolor/scalable/apps/bearhub.svg"
}