Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

opentyrian: update to 2.1.20220318 #36779

Closed
wants to merge 2 commits into from
Closed
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Jump to
Jump to file
Failed to load files.
Diff view
Diff view
13 changes: 5 additions & 8 deletions srcpkgs/opentyrian/template
@@ -1,28 +1,25 @@
# Template file for 'opentyrian'
pkgname=opentyrian
version=2.1.20130907
revision=3
version=2.1.20220318
revision=1
_dataver=21
create_wrksrc=yes
build_wrksrc=$pkgname-$version
build_style=gnu-makefile
hostmakedepends="pkg-config unzip"
makedepends="SDL_net-devel"
makedepends="SDL2_net-devel"
short_desc="OSS port of the DOS shoot-em-up Tyrian"
maintainer="Orphaned <orphan@voidlinux.org>"
license="GPL-2.0-or-later"
homepage="https://github.com/opentyrian/opentyrian"
distfiles="http://www.camanis.net/${pkgname}/releases/${pkgname}-${version}-src.tar.gz
distfiles="https://github.com/opentyrian/opentyrian/archive/refs/tags/v${version}.tar.gz
http://camanis.net/tyrian/tyrian${_dataver}.zip"
checksum="f54b6b3cedcefa187c9f605d6164aae29ec46a731a6df30d351af4c008dee45f
checksum="e0c6afbb5d395c919f9202f4c9b3b4da7bd6e993e9da6152f995012577e1ccbd
7790d09a2a3addcd33c66ef063d5900eb81cc9c342f4807eb8356364dd1d9277"
replaces="opentyrian-data>=0"

CFLAGS="-Wno-error -fcommon"

pre_build() {
vsed -i Makefile -e "s;-g0;$CFLAGS;"
}
do_install() {
vbin ${pkgname}
vman linux/man/${pkgname}.6
Expand Down