void-packages/srcpkgs/scid_vs_pc/template
2021-10-02 06:36:01 +07:00

23 lines
796 B
Bash

# Template file for 'scid_vs_pc'
pkgname=scid_vs_pc
version=4.21
revision=2
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=5ee9fdfe8a72306bf8f8e651832ea7461236c5a3120d672aaf0b430a852e55d3
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
}