summaryrefslogtreecommitdiff
path: root/warzone2100
diff options
context:
space:
mode:
authorDanny Rawlins <monster.romster@gmail.com>2016-08-07 20:59:24 +1000
committerDanny Rawlins <monster.romster@gmail.com>2016-08-08 20:46:12 +1000
commitd35fbc237372b279eda54538ebdf8693ed65126b (patch)
treecef079353cc2d420848e42eb7cb9d0a45d05e17f /warzone2100
parent981d1c6f244728feef1cbd813ba4b4d743c100bf (diff)
downloadcontrib-d35fbc237372b279eda54538ebdf8693ed65126b.tar.gz
contrib-d35fbc237372b279eda54538ebdf8693ed65126b.tar.xz
warzone2100: 3.1.1 -> 3.2.1
Diffstat (limited to 'warzone2100')
-rw-r--r--warzone2100/.footprint2
-rw-r--r--warzone2100/.md5sum3
-rw-r--r--warzone2100/Pkgfile18
-rw-r--r--warzone2100/warzone2100.appdata.xml23
4 files changed, 38 insertions, 8 deletions
diff --git a/warzone2100/.footprint b/warzone2100/.footprint
index f8e33bace..0f608b3c7 100644
--- a/warzone2100/.footprint
+++ b/warzone2100/.footprint
@@ -2,6 +2,8 @@ drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/warzone2100
drwxr-xr-x root/root usr/share/
+drwxr-xr-x root/root usr/share/appdata/
+-rw-r--r-- root/root usr/share/appdata/warzone2100.appdata.xml
drwxr-xr-x root/root usr/share/applications/
-rw-r--r-- root/root usr/share/applications/warzone2100.desktop
drwxr-xr-x root/root usr/share/icons/
diff --git a/warzone2100/.md5sum b/warzone2100/.md5sum
index adb48279a..f0e0bd856 100644
--- a/warzone2100/.md5sum
+++ b/warzone2100/.md5sum
@@ -1 +1,2 @@
-0b81a0012098a1310f5351a3ace2021b warzone2100-3.1.1.tar.xz
+1a329156387b3acfee56c7bd86fd606b warzone2100-3.2.1.tar.xz
+103a57b73af180a1ff7301250cbdcf5d warzone2100.appdata.xml
diff --git a/warzone2100/Pkgfile b/warzone2100/Pkgfile
index c35fdb1ca..211a3476d 100644
--- a/warzone2100/Pkgfile
+++ b/warzone2100/Pkgfile
@@ -2,26 +2,30 @@
# URL: http://wz2100.net/
# Maintainer: Danny Rawlins, crux at romster dot me
# Packager: Mark Rosenstand, mark at borkware dot net
-# Depends on: fribidi glew libmad openal physfs popt qt4 quesoglc sdl_net smpeg x11-fonts-dejavu
+# Depends on: fribidi glew libmad openal physfs popt qt5 quesoglc sdl_net smpeg x11-fonts-dejavu libsdl2
name=warzone2100
-version=3.1.1
+version=3.2.1
release=1
-source=(http://downloads.sourceforge.net/project/$name/releases/$version/$name-$version.tar.xz)
+source=(http://downloads.sourceforge.net/project/$name/releases/$version/$name-$version.tar.xz
+ warzone2100.appdata.xml)
build() {
cd $name-$version
+ # Add missing file from the tarball
+ cp $SRC/warzone2100.appdata.xml icons/
+
./configure \
--prefix=/usr \
- --mandir=/usr/man \
--disable-nls
make
make DESTDIR=$PKG install
+
rm -r $PKG/usr/share/doc
- rmdir \
- $PKG/usr/man/man6 \
- $PKG/usr/man
+# rmdir \
+# $PKG/usr/man/man6 \
+# $PKG/usr/man
}
diff --git a/warzone2100/warzone2100.appdata.xml b/warzone2100/warzone2100.appdata.xml
new file mode 100644
index 000000000..b1842bb88
--- /dev/null
+++ b/warzone2100/warzone2100.appdata.xml
@@ -0,0 +1,23 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<application>
+ <id type="desktop">warzone2100.desktop</id>
+ <metadata_license>CC0-1.0</metadata_license>
+ <license>GPL-2.0+</license>
+ <summary>Real-Time-Strategy War Game</summary>
+ <name>Warzone 2100</name>
+ <description>
+ <p>
+ In Warzone 2100, you command the forces of The Project in a battle to rebuild the world after mankind has almost been destroyed by nuclear missiles.
+ </p>
+ <p>
+ The game offers campaign, multi-player, and single-player skirmish modes. An extensive tech tree with over 400 different technologies, combined with the unit design system, allows for a wide variety of possible units and tactics.
+ </p>
+ <p>
+ Warzone 2100 was originally developed as a commercial game by Pumpkin Studios and published in 1999, and was released as open source by them in 2004, for the community to continue working on it.
+ </p>
+ </description>
+ <url type="homepage">https://wz2100.net/</url>
+ <screenshots>
+ <screenshot type="default">https://wz2100.net/static/img/wz2100-CAM_3A50.png</screenshot>
+ </screenshots>
+</application>

Generated by cgit