void-packages/srcpkgs/scid_vs_pc/template
Clyhtsuriva 3f74cdbb60 scid_vs_pc: update to 4.22
scid_vs_pc: update to 4.22
2021-12-11 20:02:49 +01:00

23 lines
796 B
Bash

# Template file for 'scid_vs_pc'
pkgname=scid_vs_pc
version=4.22
revision=1
build_style=configure
hostmakedepends="tcl"
makedepends="tk-devel"
short_desc="Chess toolkit with extensive database, analysis and playing features"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="http://scidvspc.sourceforge.net/"
distfiles="${SOURCEFORGE_SITE}/scidvspc/source/scid_vs_pc-${version}.tgz"
checksum=3d21c33eb7e1248fc3c845502e8f0291aae0a9ffe2506e4f82f51b3bfe163493
do_configure() {
./configure CC="${CC}" CXX="${CXX}" CFLAGS="${CFLAGS}" CXXFLAGS="${CXXFLAGS}" \
LINK=${CXX} LDFLAGS="${LDFLAGS}" BINDIR=/usr/bin SHAREDIR=${pkgname}
}
post_install() {
vinstall icons/scid.png 644 usr/share/pixmaps
vinstall "$FILESDIR"/scid_vs_pc.desktop 644 usr/share/applications
}