void-packages/srcpkgs/puzzles/template

27 lines
864 B
Plaintext
Raw Normal View History

2014-07-24 21:27:26 +02:00
# Template file for 'puzzles'
pkgname=puzzles
2014-10-03 20:11:17 +02:00
version=20140928.r10274
2014-07-24 21:27:26 +02:00
revision=1
2014-10-03 20:11:17 +02:00
hostmakedepends="pkg-config"
2014-07-24 21:27:26 +02: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/"
update_site="http://svn.tartarus.org/sgt/puzzles/"
update_pattern='Revision\s\K\d+(?=.*of)'
2014-10-03 20:11:17 +02:00
distfiles="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/puzzles-${version}.tar.gz"
checksum=4c9a160807f72ed3e19eb4ff03055eeab40c250fa674f78c1c7c98f306c509c3
2014-07-24 21:27:26 +02: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
}