Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
16 changes: 12 additions & 4 deletions srcpkgs/puzzles/template
Original file line number Diff line number Diff line change
@@ -1,17 +1,25 @@
# Template file for 'puzzles'
pkgname=puzzles
version=20240102.7a93ae5
version=20250517.e374a5a
revision=1
_gitrev="e374a5a8991c749dc0a4aa2e0b9947d109abb3fc"
build_style=cmake
configure_args="-DNAME_PREFIX=puzzles-"
hostmakedepends="pkg-config halibut perl ImageMagick"
hostmakedepends="git pkg-config halibut perl ImageMagick"
makedepends="gtk+3-devel"
short_desc="Simon Tatham's Portable Puzzle Collection"
maintainer="Leah Neukirchen <leah@vuxu.org>"
license="MIT"
homepage="https://www.chiark.greenend.org.uk/~sgtatham/puzzles/"
distfiles="https://git.tartarus.org/?p=simon/puzzles.git;a=snapshot;h=7a93ae5d3c90cb5d1d8d775a8cd9d30bc745f658;sf=tgz>${pkgname}-${version#*.}.tgz"
checksum=a164b49f4868be8d4a7b004949c630083ef131ab5c27de221c761a9329c518c9

do_fetch() {
# git.tartarus.org disallows HTTP downloads due to crawling spam
# Fetch the git repo per their recommendation
rm -rf ${wrksrc}
git clone https://git.tartarus.org/simon/puzzles.git ${wrksrc}
cd ${wrksrc}
git checkout ${_gitrev}
}

post_install() {
vlicense LICENCE LICENSE
Expand Down