void-packages/srcpkgs/warsow-data/template

21 lines
779 B
Bash

# Template file for 'warsow-data'
pkgname=warsow-data
version=1.51
revision=1
noarch="yes"
wrksrc="warsow_15"
short_desc="Free online multiplayer competitive FPS based on the Qfusion engine (data files)"
maintainer="Juan RP <xtraeme@voidlinux.eu>"
license="Warsow Content License - /usr/share/licenses/warsow/license.txt"
homepage="http://www.warsow.net/"
distfiles="http://update.warsow.net/mirror/warsow_${version}_unified.tar.gz"
checksum=94510d85e4a245b5f8c0c715ae41b1d162c96e06dbfe75ccd99fffb9a76426b5
do_install() {
vmkdir usr/share/warsow/basewsw
vcopy "basewsw/*" usr/share/warsow/basewsw
find ${DESTDIR}/usr/share/warsow -type d | xargs chmod 755
find ${DESTDIR}/usr/share/warsow -type f | xargs chmod 644
vinstall docs/license.txt 644 usr/share/licenses/warsow
}