mirror of
https://github.com/archlinux/aur.git
synced 2026-03-14 23:16:48 +01:00
Update
This commit is contained in:
parent
bd46f34ec5
commit
1ccdc501d5
2 changed files with 20 additions and 5 deletions
2
.SRCINFO
2
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = scidcommunity
|
||||
pkgdesc = Enhanced fork of Scid chess database with Chess.com/Lichess integration, tablebase lookup, improved search, and additional training features
|
||||
pkgver = 5.1.2.44
|
||||
pkgrel = 67
|
||||
pkgrel = 68
|
||||
url = https://github.com/whelanh/scidCommunity
|
||||
arch = x86_64
|
||||
license = GPL2
|
||||
|
|
|
|||
23
PKGBUILD
23
PKGBUILD
|
|
@ -1,7 +1,7 @@
|
|||
# Maintainer: Hugh Whelan <brickhousedevelopers@gmail.com>
|
||||
pkgname=scidcommunity
|
||||
pkgver=5.1.2.44
|
||||
pkgrel=67
|
||||
pkgrel=68
|
||||
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"
|
||||
|
|
@ -19,11 +19,26 @@ build() {
|
|||
|
||||
package() {
|
||||
cd "${srcdir}/scidCommunity-a05338b393e2dcda370617be36c89e521e93675c"
|
||||
# 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 data files to /usr/share/scid
|
||||
# Use runtime paths (not staging paths) so the Makefile creates correct paths internally
|
||||
make install_shared DESTDIR="${pkgdir}" SHAREDIR="/usr/share/scid"
|
||||
|
||||
# Copy binary directly to /usr/bin (avoid broken symlink from make install)
|
||||
install -Dm755 scidCommunity "${pkgdir}/usr/bin/scidCommunity"
|
||||
|
||||
# Install engine
|
||||
install -Dm755 engines/phalanx-scid/phalanx-scid "${pkgdir}/usr/bin/phalanx-scid"
|
||||
|
||||
# Install desktop entry with corrected Exec path
|
||||
install -Dm644 -t "${pkgdir}/usr/share/applications" "flatpak/io.github.whelanh.scidCommunity.desktop"
|
||||
# Fix the desktop file to use absolute path
|
||||
sed -i 's|^Exec=scidCommunity %f$|Exec=/usr/bin/scidCommunity %f|' "${pkgdir}/usr/share/applications/io.github.whelanh.scidCommunity.desktop"
|
||||
sed -i 's|^TryExec=scidCommunity$|TryExec=/usr/bin/scidCommunity|' "${pkgdir}/usr/share/applications/io.github.whelanh.scidCommunity.desktop"
|
||||
|
||||
# Install application icon
|
||||
install -Dm644 -t "${pkgdir}/usr/share/icons/hicolor/scalable/apps" "flatpak/io.github.whelanh.scidCommunity.svg"
|
||||
|
||||
# Install appdata/metainfo file
|
||||
install -Dm644 -t "${pkgdir}/usr/share/metainfo" "flatpak/io.github.whelanh.scidCommunity.appdata.xml"
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue