New package: puzzles-10196

This commit is contained in:
Christian Neukirchen 2014-07-24 21:27:26 +02:00
parent 832be02216
commit 7c8685f61e
1 changed files with 27 additions and 0 deletions

27
srcpkgs/puzzles/template Normal file
View File

@ -0,0 +1,27 @@
# Template file for 'puzzles'
pkgname=puzzles
version=10196
revision=1
hostmakedepends="subversion libsasl perl 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/"
do_fetch() {
svn co -r${version} svn://svn.tartarus.org/sgt/puzzles ${pkgname}-${version}
}
do_build() {
./mkfiles.pl
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
}