[arch-commits] Commit in warsow-data/trunk (PKGBUILD)
Bartłomiej Piotrowski
bpiotrowski at nymeria.archlinux.org
Tue Feb 25 14:44:23 UTC 2014
Date: Tuesday, February 25, 2014 @ 15:44:23
Author: bpiotrowski
Revision: 106206
upgpkg: warsow-data 1.03-1
new upstream release
Modified:
warsow-data/trunk/PKGBUILD
----------+
PKGBUILD | 21 ++++++++++++++-------
1 file changed, 14 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2014-02-25 11:43:01 UTC (rev 106205)
+++ PKGBUILD 2014-02-25 14:44:23 UTC (rev 106206)
@@ -10,9 +10,12 @@
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=("http://www.warsow.net:1337/~warsow/${pkgver}/warsow_${pkgver}.tar.gz")
-md5sums=('1f0aa20bb441d6734de2f6ff19b8cb2b')
+arch=('any')
+source=(http://www.warsow.net:1337/~warsow/1.02/warsow_1.02.tar.gz
+ ftp://ftp.archlinux.org/other/community/$pkgname/warsow-basewsw-$pkgver.tar.xz{,.sig})
+md5sums=('1f0aa20bb441d6734de2f6ff19b8cb2b'
+ 'a613495d9ee822cce9e385f5dd7fb332'
+ 'SKIP')
package() {
# Create Destination Directories
@@ -19,10 +22,14 @@
install -d $pkgdir/opt/warsow/
# Move Data to Destination Directory
- cp -r $srcdir/warsow_${pkgver}/basewsw $pkgdir/opt/warsow
+ cp -r $srcdir/warsow_1.02/basewsw $pkgdir/opt/warsow
# Install Custom License: Warsow Content License
- install -D -m 0644 $srcdir/warsow_${pkgver}/docs/license.txt $pkgdir/usr/share/licenses/${pkgname}/license.txt
+ install -Dm0644 warsow_1.02/docs/license.txt \
+ $pkgdir/usr/share/licenses/${pkgname}/license.txt
+
+ # Update to 1.03
+ for file in warsow-basewsw-$pkgver/*; do
+ install -m0644 $file "$pkgdir"/opt/warsow/basewsw/
+ done
}
-
-# vim: ts=2:sw=2
More information about the arch-commits
mailing list