From f03d12119209eaf2d1dc52304e9fdd56f7f04009 Mon Sep 17 00:00:00 2001 From: whelan Date: Tue, 10 Mar 2026 08:30:13 -0400 Subject: [PATCH] fix package file --- .SRCINFO | 2 +- PKGBUILD | 13 +++++++++---- 2 files changed, 10 insertions(+), 5 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index bd4c5a664d6ea..ad648f02817e5 100644 --- a/.SRCINFO +++ b/.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 = 73 + pkgrel = 74 url = https://github.com/whelanh/scidCommunity arch = x86_64 license = GPL2 diff --git a/PKGBUILD b/PKGBUILD index beafaf057659e..60094b3a883da 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,7 +1,7 @@ # Maintainer: Hugh Whelan pkgname=scidcommunity pkgver=5.1.2.44 -pkgrel=73 +pkgrel=74 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" @@ -15,7 +15,7 @@ sha256sums=('SKIP') # Safe to skip: integrity verified by commit hash build() { cd "${srcdir}/scidCommunity-${_commit}" - # Configure once with final runtime paths + # Configure with final runtime paths (not staging paths) ./configure --prefix=/usr SHAREDIR=/usr/share/scid make all } @@ -27,8 +27,13 @@ package() { install -dm755 "${pkgdir}/usr/bin" install -dm755 "${pkgdir}/usr/share/scid" - # Install data files using DESTDIR - make DESTDIR="${pkgdir}" install_shared + # Install data files manually (avoids permission issues with make install_shared) + # Copy all data directories that exist + for dir in tcl books bases html bitmaps sounds; do + if [ -d "$dir" ]; then + cp -r "$dir" "${pkgdir}/usr/share/scid/" + fi + done # Copy binary directly to /usr/bin install -Dm755 scidCommunity "${pkgdir}/usr/bin/scidCommunity"