-
Notifications
You must be signed in to change notification settings - Fork 2.1k
/
template
36 lines (32 loc) · 1.03 KB
/
template
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
# Template file for 'netrek-client-cow'
pkgname=netrek-client-cow
version=3.3.2
revision=1
build_style=gnu-configure
hostmakedepends="libtool automake"
makedepends="libX11-devel imlib2-devel libXxf86vm-devel gmp-devel
SDL_mixer-devel SDL-devel libXpm-devel"
short_desc="Netrek Client (C and X11)"
maintainer="Toyam Cox <Vaelatern@voidlinux.org>"
license="MIT, custom:PublicDomain"
homepage="https://www.netrek.org/"
distfiles="https://www.netrek.org/files/COW/netrek-client-cow-${version}.tar.gz"
checksum=cac219248d71033b62098c3da1ca6b4408974b22996da39eaba213b2253e6da3
nocross='./mkcflags compiled without HOSTCC'
if [ "$XBPS_TARGET_LIBC" = "musl" ]; then
makedepends+=" musl-fts-devel"
export LIBS+=" -lfts"
fi
post_install() {
vlicense COPYING
vlicense copyright.h
vlicense copyright2.h
vmkdir usr/bin
ln -s ../games/netrek-client-cow ${DESTDIR}/usr/bin/netrek-client-cow
}
do_check() {
echo "Check stage is broken"
}
# REMARKS:
# Source tracked at https://github.com/quozl/netrek-client-cow
# Custom is a sort of public domain declaration