desktop/warsow-data/PKGBUILD
Adrian Chaves Fernandez (Gallaecio) e7b39e1526 Warsow 1.0.
2012-07-28 21:00:29 +00:00

29 lines
906 B
Bash

#
# Games Packages for Chakra, part of chakra-project.org
#
# Maintainer: Adrián Chaves Fernández (Gallaecio) <adriyetichaves@gmail.com>
pkgname=warsow-data
_pkgname=warsow
pkgver=1.0
pkgrel=1
pkgdesc="A free online multiplayer competitive FPS based on the Qfusion engine (data files)"
url="http://www.warsow.net/"
license=('custom:Warsow Content License')
arch=('any')
source=("${_pkgname}_${pkgver}.tar.gz::http://www.warsow.net/download?dl=linux")
md5sums=('92fd62c4bbd1324605bd004da9472b9f')
package() {
# Create the destination directories.
install -d $pkgdir/usr/share/${_pkgname}
# Move Data to destination directory.
cp -r $srcdir/${_pkgname}_${pkgver}/basewsw $pkgdir/usr/share/${_pkgname}
# Install custom license: Warsow Content License.
install -Dm 0644 $srcdir/${_pkgname}_${pkgver}/docs/license.txt \
$pkgdir/usr/share/licenses/${pkgname}/license.txt
}