void-packages/srcpkgs/pgn-extract/template
2019-05-02 10:47:07 +02:00

26 lines
765 B
Bash

# Template file for 'pgn-extract'
pkgname=pgn-extract
version=19.04
revision=1
wrksrc="pgn-extract"
build_style=gnu-makefile
make_use_env=yes
short_desc="Portable Game Notation (PGN) Manipulator for Chess Games"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="GPL-3.0-or-later"
homepage="https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/"
changelog="https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/changes.html"
distfiles="https://www.cs.kent.ac.uk/~djb/pgn-extract/pgn-extract-${version/./-}.tgz"
checksum=8fac35b02983b19266ee10d064e21e2686ddda97b383cf8a804158d1f6a23270
post_extract() {
sed -i '/^CC=/d' Makefile
}
do_check() {
( cd test; ./runtests )
}
do_install() {
vbin pgn-extract
vman pgn-extract.man pgn-extract.1
vdoc help.html
}