Skip to content

Commit

Permalink
New package: eduke32-20231224.10548
Browse files Browse the repository at this point in the history
  • Loading branch information
MIvanchev committed Feb 7, 2024
1 parent b2c323a commit a03bfb9
Showing 1 changed file with 40 additions and 0 deletions.
40 changes: 40 additions & 0 deletions srcpkgs/eduke32/template
Original file line number Diff line number Diff line change
@@ -0,0 +1,40 @@
# Template file for 'eduke32'
pkgname=eduke32
_src_tag=20231224-10548-842047589
_src_date=${_src_tag%%-*}
_src_rev_and_hash=${_src_tag#*-}
_src_rev=${_src_rev_and_hash%-*}
_src_hash=${_src_rev_and_hash#*-}
#
# The version of value should be dynamically computed but this is rejected by
# the linter so instead we set it manually and later check for equality.
#
#version=${_src_date}.r${_src_rev}
version=20231224.r10548
revision=1
build_style=gnu-makefile
make_build_args="PACKAGE_REPOSITORY=1 VC_REV=${_src_rev} VC_HASH=${_src_hash}"
hostmakedepends="pkg-config nasm"
makedepends="MesaLib-devel glu-devel libvpx-devel SDL2-devel libflac-devel libvorbis-devel alsa-lib-devel"
depends="desktop-file-utils hicolor-icon-theme"
short_desc="Advanced Duke Nukem 3D source port"
maintainer="Mihail Ivanchev <contact@ivanchev.net>"
license="GPL-2.0-or-later, custom:BUILD"
homepage="https://www.eduke32.com/"
distfiles=""http://dukeworld.com/$pkgname/synthesis/$_src_tag/eduke32_src_${_src_tag}.tar.xz""
checksum=16ed494f9d09920ac4c5f167f8098a2e1f455da32243b7fd63d7d8e1db13b0e2

if [ "$version" != "${_src_date}.r${_src_rev}" ]; then
exit 1
fi

case "$XBPS_TARGET_MACHINE" in
*-musl) makedepends+=" libexecinfo-devel" ;;

Check failure on line 32 in srcpkgs/eduke32/template

View workflow job for this annotation

GitHub Actions / Lint templates

Template Lint

please indent with tabs
esac

do_install() {
vmkdir /usr/bin
vbin eduke32
vbin mapster32
vlicense package/common/buildlic.txt
}

0 comments on commit a03bfb9

Please sign in to comment.