2014-07-24 19:27:26 +00:00
|
|
|
# Template file for 'puzzles'
|
|
|
|
pkgname=puzzles
|
2015-05-02 21:42:22 +00:00
|
|
|
version=20150502
|
|
|
|
wrksrc="${pkgname}-7f64f4a"
|
2015-05-19 17:38:22 +00:00
|
|
|
revision=2
|
2015-05-02 21:42:22 +00:00
|
|
|
hostmakedepends="pkg-config perl"
|
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/"
|
2015-05-02 21:42:22 +00:00
|
|
|
distfiles="http://tartarus.org/~simon-git/gitweb/?p=puzzles.git;a=snapshot;h=7f64f4a50e46304b7bad011a1251e146ab63ca15;sf=tgz>${pkgname}-${version}.tar.gz"
|
|
|
|
checksum=7f4edcbe542b64726461c17272ba49790197272231460abb363dd67fc3cde739
|
2014-07-24 19:27:26 +00:00
|
|
|
|
|
|
|
do_build() {
|
2015-05-02 21:42:22 +00:00
|
|
|
./mkfiles.pl
|
2015-05-19 17:38:22 +00:00
|
|
|
CC="${CC}" CFLAGS="${CFLAGS} -Wno-error" make ${makejobs} -f Makefile.gtk \
|
2014-07-24 19:27:26 +00:00
|
|
|
prefix=/usr BINPREFIX=puzzles-
|
|
|
|
}
|
|
|
|
|
|
|
|
do_install() {
|
|
|
|
vmkdir usr/bin
|
|
|
|
make -f Makefile.gtk prefix=/usr gamesdir=/usr/bin \
|
2014-11-23 14:41:48 +00:00
|
|
|
DESTDIR="${DESTDIR}" BINPREFIX=puzzles- install
|
2014-07-24 19:27:26 +00:00
|
|
|
vlicense LICENCE LICENSE
|
2014-11-23 14:41:48 +00:00
|
|
|
}
|