fix package file

This commit is contained in:
whelan 2026-03-10 07:25:55 -04:00
parent b27a4b55e5
commit 6c753b5a41
2 changed files with 8 additions and 5 deletions

View file

@ -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

View file

@ -1,25 +1,28 @@
# Maintainer: Hugh Whelan <brickhousedevelopers@gmail.com>
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"