Add desktop file and icon to package

This commit is contained in:
whelan 2026-03-09 06:30:41 -04:00
parent 71fe1a7485
commit 60e8b3cb18

View file

@ -1,7 +1,7 @@
# Maintainer: Hugh Whelan <brickhousedevelopers@gmail.com>
pkgname=scidcommunity
pkgver=5.1.2.40
pkgrel=64
pkgrel=65
pkgdesc="Enhanced fork of Scid chess database with Chess.com/Lichess integration, tablebase lookup, improved search, and additional training features"
arch=('x86_64')
url="https://github.com/whelanh/scidCommunity"
@ -21,4 +21,9 @@ package() {
cd "${srcdir}/scidCommunity-76f8616fa1814b8bdd4f49c299ecc8d3eda5e664"
# Install under /usr so desktop/icon files land in standard system paths
make install DESTDIR="${pkgdir}" SHAREDIR="${pkgdir}/usr/share/scid" BINDIR="${pkgdir}/usr/bin"
# Install desktop entry
install -Dm644 -t "${pkgdir}/usr/share/applications" "flatpak/io.github.whelanh.scidCommunity.desktop"
# Install application icon
install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" "flatpak/io.github.whelanh.scidCommunity.svg"
}