void-packages/srcpkgs/scid_vs_pc/template

24 lines
796 B
Bash

# Template file for 'scid_vs_pc'
pkgname=scid_vs_pc
version=4.23
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=e182a4370adce21c579f5f93f4d56eec5c6e19c486bb893dc1f514ff2f070e89
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
}