[arch-commits] Commit in simutrans/trunk (PKGBUILD simutrans.appdata.xml)
Balló György
bgyorgy at archlinux.org
Sun Dec 30 01:18:55 UTC 2018
Date: Sunday, December 30, 2018 @ 01:18:55
Author: bgyorgy
Revision: 418953
upgpkg: simutrans 120.4.1-2
Add AppStream metadata, add better icon
Added:
simutrans/trunk/simutrans.appdata.xml
Modified:
simutrans/trunk/PKGBUILD
-----------------------+
PKGBUILD | 18 +++++++++++-------
simutrans.appdata.xml | 19 +++++++++++++++++++
2 files changed, 30 insertions(+), 7 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-30 00:12:40 UTC (rev 418952)
+++ PKGBUILD 2018-12-30 01:18:55 UTC (rev 418953)
@@ -7,28 +7,32 @@
pkgname=simutrans
pkgver=120.4.1
_pkgver=120-4-1
-pkgrel=1
+pkgrel=2
pkgdesc="Transportation simulation game"
arch=('x86_64')
url="https://www.simutrans.com/"
license=('custom:Artistic')
-depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64')
-makedepends=('imagemagick' 'dos2unix')
+depends=('gcc-libs' 'zlib' 'sdl_mixer' 'bzip2' 'simutrans-pak64' 'hicolor-icon-theme')
+makedepends=('dos2unix')
optdepends=('timidity++: play MIDI music')
source=(https://downloads.sourceforge.net/$pkgname/$pkgname-src-$_pkgver.zip
+ https://raw.githubusercontent.com/aburch/simutrans/8593f5b1248d03f907a149f7abc41ae6512009e1/simutrans.svg
settings-folder.patch
path-for-game-data.patch
config.patch
Makefile
common.mk
- simutrans.desktop)
+ simutrans.desktop
+ simutrans.appdata.xml)
sha256sums=('2cee0d067b3b72fa3a8b4ff31ad2bf5fc77521e7ba8cf9aa10e07e56b7dc877b'
+ 'c0c2dd5da146f64901b00c6ee67e0818a166b983a81cee7897c4843aa9f21c81'
'cbe5d7c7be96e6e7262c1e3b1c16155f5c179609f081e3ee050bbfc277845f71'
'1a0fc75fe1422404e424c91f5a23301234b2997cb727b4985c98ac1af6a4582a'
'24bf2b611706c42fd52dc00d61fa2e28f54a614f17e43bc463817406e63eba3a'
'1107a873273bd0a02dc7877137816d2ca4fbfd403a3443fc244d31c8a611b81b'
'd17d3b91a989ddca1735875e8d01c4c39ef318a3490d3f24a05b0713fcb69983'
- '99545152f5e739b7eb028152383fa10d3e3d303c99167e1c6e5a6bd7dcd00fa3')
+ '99545152f5e739b7eb028152383fa10d3e3d303c99167e1c6e5a6bd7dcd00fa3'
+ 'f3d2416de0f725d15b18482c20231228791e65ceeeb7305115a8ea6a2e591dd6')
prepare() {
# Some files are distributed in DOS format
@@ -44,7 +48,6 @@
}
build() {
- convert simutrans.ico +set date:create +set date:modify -alpha on simutrans.png
make
}
@@ -57,8 +60,9 @@
cp -r $pkgname "$pkgdir/usr/share/games/"
#desktop file and icon
- install -Dm644 simutrans.png "$pkgdir/usr/share/pixmaps/simutrans.png"
+ install -Dm644 simutrans.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/simutrans.svg"
install -Dm644 simutrans.desktop "$pkgdir/usr/share/applications/simutrans.desktop"
+ install -Dm644 simutrans.appdata.xml "$pkgdir/usr/share/metainfo/simutrans.appdata.xml"
#license
install -Dm644 simutrans/license.txt "$pkgdir/usr/share/licenses/simutrans/license.txt"
Added: simutrans.appdata.xml
===================================================================
--- simutrans.appdata.xml (rev 0)
+++ simutrans.appdata.xml 2018-12-30 01:18:55 UTC (rev 418953)
@@ -0,0 +1,19 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>com.simutrans.simutrans</id>
+ <launchable type="desktop-id">simutrans.desktop</launchable>
+ <name>Simutrans</name>
+ <summary>Transportation simulator</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>Artistic-1.0</project_license>
+ <description>
+ <p>Simutrans is a free transportation simulator: the player operates a transportation company and has to transport goods and passengers between factories and different cities.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://screenshots.debian.net/screenshots/000/001/205/large.png</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://forum.simutrans.com/index.php?board=8.0</url>
+ <url type="homepage">https://www.simutrans.com/</url>
+</component>
More information about the arch-commits
mailing list