mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-03 15:37:14 +08:00
29 lines
906 B
Bash
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
|
|
}
|