void-packages/srcpkgs/puzzles/template

25 lines
772 B
Text
Raw Normal View History

2014-07-24 19:27:26 +00:00
# Template file for 'puzzles'
pkgname=puzzles
2014-10-03 18:11:17 +00:00
version=20140928.r10274
2014-07-24 19:27:26 +00:00
revision=1
2014-10-03 18:11:17 +00:00
hostmakedepends="pkg-config"
2014-07-24 19:27:26 +00:00
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/"
2014-10-03 18:11:17 +00:00
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"
checksum=4c9a160807f72ed3e19eb4ff03055eeab40c250fa674f78c1c7c98f306c509c3
2014-07-24 19:27:26 +00:00
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
}