void-packages/srcpkgs/puzzles/template

25 lines
770 B
Plaintext

# 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/"
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
}