mirror of
https://gitdl.cn/https://github.com/chakralinux/desktop.git
synced 2025-02-04 00:47:15 +08:00
37 lines
1.1 KiB
Bash
37 lines
1.1 KiB
Bash
pkgname=warsow-data
|
|
pkgver=0.62
|
|
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')
|
|
depends=()
|
|
makedepends=('unzip')
|
|
source=("http://www.zcdn.org/dl/warsow_0.61_unified.zip"
|
|
"http://www.zcdn.org/dl/warsow_0.62_update.zip")
|
|
noextract=("warsow_0.61_unified.zip"
|
|
"warsow_0.62_update.zip")
|
|
md5sums=('dd17ffccf51579e6b278624727190c01'
|
|
'b13804d1562ac9fb341d5d31105c5326')
|
|
|
|
build() {
|
|
cd $srcdir/
|
|
}
|
|
|
|
package() {
|
|
# Extract game data
|
|
unzip -o warsow_0.61_unified.zip -d $srcdir/warsow
|
|
|
|
# Extract update on top of it
|
|
unzip -o warsow_0.62_update.zip -d $srcdir/warsow/warsow_0.61_unified
|
|
|
|
# Create Destination Directories
|
|
install -d $pkgdir/opt/warsow/
|
|
|
|
# Move Data to Destination Directory
|
|
cp -r $srcdir/warsow/warsow_0.61_unified/basewsw $pkgdir/opt/warsow
|
|
|
|
# Install Custom License: Warsow Content License
|
|
install -D -m 0644 $srcdir/warsow/warsow_0.61_unified/docs/license.txt \
|
|
$pkgdir/usr/share/licenses/${pkgname}/license.txt
|
|
} |