puzzles: update to 20210427.8ff394d.
This commit is contained in:
parent
4945a7001e
commit
506b9934cb
1 changed files with 8 additions and 17 deletions
|
@ -1,28 +1,19 @@
|
|||
# Template file for 'puzzles'
|
||||
pkgname=puzzles
|
||||
version=20200609.9aa7b7c
|
||||
version=20210427.8ff394d
|
||||
revision=1
|
||||
wrksrc="${pkgname}-${version#*.}"
|
||||
hostmakedepends="pkg-config perl"
|
||||
makedepends="gtk+-devel"
|
||||
build_style=cmake
|
||||
configure_args="-DNAME_PREFIX=puzzles-"
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="gtk+3-devel"
|
||||
short_desc="Simon Tatham's Portable Puzzle Collection"
|
||||
maintainer="Leah Neukirchen <leah@vuxu.org>"
|
||||
license="MIT"
|
||||
homepage="http://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
|
||||
distfiles="https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=9aa7b7cdfb2bcd200f45941a58d6ae698882a2d4;sf=tgz>${wrksrc}.tgz"
|
||||
checksum=855a548a7b2485ca80a1c83eeb7fdb35b01500faae986e7ba9b8da9a2f0c9060
|
||||
distfiles="https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=8ff394d1cc42efc3509135bbdd6ce92498eafcf3;sf=tgz>${wrksrc}.tgz"
|
||||
checksum=54c507b3e6607344e9c4d6ab7beb29369ffeaacf3bbd258c6e76432d35f0ad60
|
||||
|
||||
do_build() {
|
||||
sed -i 's/-Werror -ansi -pedantic//' mkfiles.pl
|
||||
./mkfiles.pl
|
||||
echo "XLIBS += ${LDFLAGS}" >>Makefile.gtk
|
||||
echo "ULIBS += ${LDFLAGS}" >>Makefile.gtk
|
||||
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
|
||||
post_install() {
|
||||
vlicense LICENCE LICENSE
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue