void-packages/srcpkgs/warsow-data/template

20 lines
658 B
Bash

# Template file for 'warsow-data'
pkgname=warsow-data
version=2.1.2
revision=1
wrksrc="warsow-$version"
short_desc="Free online multiplayer competitive FPS (data files)"
maintainer="Orphaned <orphan@voidlinux.org>"
license="custom:Warsow Content License"
homepage="http://www.warsow.net/"
distfiles="http://warsow.net/warsow-$version.tar.gz"
checksum=2c6f05b3ca365557a53013e20a7ecc424869b551c3b0e056d0e3e1c27354c21f
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
}