diff --git a/.SRCINFO b/.SRCINFO index 7667a02b40cfb..5fb32ea769c92 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 = 71 + pkgrel = 72 url = https://github.com/whelanh/scidCommunity arch = x86_64 license = GPL2 diff --git a/PKGBUILD b/PKGBUILD index f034a7d7e47c9..4cbf539f34d72 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -1,25 +1,28 @@ # Maintainer: Hugh Whelan pkgname=scidcommunity pkgver=5.1.2.44 -pkgrel=71 +pkgrel=72 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" license=('GPL2') depends=('tcl' 'tk') makedepends=('gcc' 'make' 'git') -source=("${pkgname}-${pkgver}.tar.gz::https://github.com/whelanh/scidCommunity/archive/3696c46722013f52c3f4f418c28a04f9da5046fb.tar.gz") + +# Commit hash that includes the ui_tcltk.h fix for system-wide installations +_commit="3696c46722013f52c3f4f418c28a04f9da5046fb" +source=("${pkgname}-${pkgver}.tar.gz::https://github.com/whelanh/scidCommunity/archive/${_commit}.tar.gz") sha256sums=('SKIP') # Safe to skip: integrity verified by commit hash build() { - cd "${srcdir}/scidCommunity-3696c46722013f52c3f4f418c28a04f9da5046fb " + cd "${srcdir}/scidCommunity-${_commit}" # Configure with runtime paths (will be re-configured in package() for staging) ./configure --prefix=/usr make all } package() { - cd "${srcdir}/scidCommunity-3696c46722013f52c3f4f418c28a04f9da5046fb " + cd "${srcdir}/scidCommunity-${_commit}" # Re-run configure with staging paths so Makefile uses correct directories ./configure SHAREDIR="${pkgdir}/usr/share/scid" BINDIR="${pkgdir}/usr/bin"