34 lines
1022 B
Bash
34 lines
1022 B
Bash
# Template file for 'enigma'
|
|
pkgname=enigma
|
|
version=1.30
|
|
revision=1
|
|
wrksrc="Enigma-${version}"
|
|
build_style=gnu-configure
|
|
configure_args="--with-system-enet"
|
|
hostmakedepends="ImageMagick automake pkg-config texi2html SDL2-devel"
|
|
makedepends="libcurl-devel libxerces-c-devel SDL2_mixer-devel
|
|
SDL2_image-devel SDL2_ttf-devel libenet-devel"
|
|
short_desc="Puzzle game inspired by Oxyd on the Atari ST"
|
|
maintainer="ologantr <mrphyber@protonmail.com>"
|
|
license="GPL-2.0-or-later"
|
|
homepage="https://www.nongnu.org/enigma/"
|
|
distfiles="https://github.com/Enigma-Game/Enigma/archive/refs/tags/${version}.tar.gz"
|
|
checksum=99af962feec553dd7e794827494a6a23428a69f83d6915fcaa25f00531357cac
|
|
replaces="enigma-data>=0"
|
|
|
|
pre_configure() {
|
|
local dir
|
|
for dir in . lib-src/enet lib-src/zipios++; do
|
|
[ ! -f ${dir}/COPYING ] && cp ${wrksrc}/doc/gpl.txt ${dir}/COPYING
|
|
touch ${dir}/NEWS ${dir}/AUTHORS ${dir}/ChangeLog
|
|
done
|
|
autoreconf -if
|
|
}
|
|
|
|
enigma-doc_package() {
|
|
short_desc+=" - documentation"
|
|
pkg_install() {
|
|
vmove usr/share/doc
|
|
}
|
|
}
|