void-packages/srcpkgs/puzzles/template
Christian Neukirchen ac32d312bf puzzles: xlint.
2014-11-23 15:41:48 +01:00

26 lines
862 B
Text

# Template file for 'puzzles'
pkgname=puzzles
version=20140928.r10274
revision=1
hostmakedepends="pkg-config"
makedepends="gtk+-devel"
short_desc="Simon Tatham's Portable Puzzle Collection"
maintainer="Christian Neukirchen <chneukirchen@gmail.com>"
license="MIT"
homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
update_site="http://svn.tartarus.org/sgt/puzzles/"
update_pattern='Revision\s\K\d+(?=.*of)'
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"
checksum=4c9a160807f72ed3e19eb4ff03055eeab40c250fa674f78c1c7c98f306c509c3
do_build() {
CC="${CC}" CFLAGS="${CFLAGS}" make ${makejobs} -f Makefile.gtk \
prefix=/usr BINPREFIX=puzzles-
}
do_install() {
vmkdir usr/bin
make -f Makefile.gtk prefix=/usr gamesdir=/usr/bin \
DESTDIR="${DESTDIR}" BINPREFIX=puzzles- install
vlicense LICENCE LICENSE
}