diff --git a/srcpkgs/pgn-extract/template b/srcpkgs/pgn-extract/template new file mode 100644 index 0000000000..a5f4c73037 --- /dev/null +++ b/srcpkgs/pgn-extract/template @@ -0,0 +1,21 @@ +# Template file for 'pgn-extract' +pkgname=pgn-extract +version=17.55 +revision=1 +wrksrc="${pkgname}" +build_style=gnu-makefile +make_use_env=yes +short_desc="Portable Game Notation (PGN) Manipulator for Chess Games" +maintainer="Leah Neukirchen " +homepage="https://www.cs.kent.ac.uk/people/staff/djb/pgn-extract/" +license="GPL-3" +distfiles="ftp://ftp.cs.kent.ac.uk/pub/djb/pgn-extract/${pkgname}.tgz" +checksum=5413393ec989bdb6b3e042437cc6efd076ef4cd4758def0d0cf05eac9e5de34d + +post_extract() { + sed -i '/^CC=/d' Makefile +} +do_install() { + vbin pgn-extract + vdoc help.html +}