void-packages/srcpkgs/warsow-data/template

20 lines
726 B
Bash

# Template file for 'warsow-data'
pkgname=warsow-data
version=2.1
revision=1
archs=noarch
wrksrc="warsow_${version/./}"
short_desc="Free online multiplayer competitive FPS (data files)"
maintainer="Orphaned <orphan@voidlinux.org>"
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
}