void-packages/srcpkgs/warsow-data/template

21 lines
725 B
Bash

# Template file for 'warsow-data'
pkgname=warsow-data
version=2.1
revision=1
noarch="yes"
wrksrc="warsow_${version/./}"
short_desc="Free online multiplayer competitive FPS (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://mirror.null.one/warsow_${version/./}_unified.tar.gz"
checksum=7f509ef5da77d150ee7f30a560e366795a23b67ad2037ad9fd547cf5cb432a9b
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
vlicense docs/license.txt
}