[arch-commits] Commit in openbve/trunk (PKGBUILD openbve.desktop)
Balló György
bgyorgy at archlinux.org
Sat Oct 5 00:01:55 UTC 2019
Date: Saturday, October 5, 2019 @ 00:01:18
Author: bgyorgy
Revision: 512881
upgpkg: openbve 1.7.0.1-1
Update to new version
Modified:
openbve/trunk/PKGBUILD
Deleted:
openbve/trunk/openbve.desktop
-----------------+
PKGBUILD | 18 +++++++++++-------
openbve.desktop | 9 ---------
2 files changed, 11 insertions(+), 16 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-10-04 23:12:49 UTC (rev 512880)
+++ PKGBUILD 2019-10-05 00:01:18 UTC (rev 512881)
@@ -2,7 +2,7 @@
pkgname=openbve
_pkgname=OpenBVE
-pkgver=1.6.0.1
+pkgver=1.7.0.1
pkgrel=1
pkgdesc="Free-as-in-freedom train simulator placed in the public domain"
arch=('any')
@@ -9,15 +9,20 @@
url="https://openbve-project.net/"
license=('MIT' 'custom:public domain')
depends=('hicolor-icon-theme' 'libxi' 'mono' 'openal')
+makedepends=('nuget')
source=($_pkgname-$pkgver.tar.gz::https://github.com/leezer3/$_pkgname/archive/$pkgver.tar.gz
$pkgname.sh
- $pkgname.desktop
$pkgname.appdata.xml)
-sha256sums=('4a2ef2d12ba0d884ced5e429305cf2c9512684d9c6a4b6c0612dcd9d622ff02c'
+sha256sums=('844f598a78d850f9145454435750ea6c7bc29331d6680b220aed9645ee54cdba'
'cf0f2a28e65248f742d6bb80f3101e36f24097e699c4e5acdf3fd4dbb965d3c3'
- '8190945fa834ecdcf8a3f271264e5be2e288933ecde943060346e16537611c0f'
'1ae1d4bf4dbe0d4e012fafef090d98b4c67ba87bee8981af0b2de11015b57df2')
+prepare() {
+ cd $_pkgname-$pkgver
+ nuget restore OpenBVE.sln
+ mv packages/sharpcompress.0.24.0 packages/SharpCompress.0.24.0
+}
+
build() {
cd $_pkgname-$pkgver
xbuild /p:Configuration=Release OpenBVE.sln
@@ -39,10 +44,9 @@
install -Dm755 ../$pkgname.sh "$pkgdir/usr/bin/$pkgname"
# Desktop file and icon
- install -Dm644 ../$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+ install -Dm644 debian/$pkgname.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/$pkgname.png"
+ install -Dm644 debian/$pkgname.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
install -Dm644 ../$pkgname.appdata.xml "$pkgdir/usr/share/metainfo/$pkgname.appdata.xml"
- install -Dm644 assets/Menu/logo.png "$pkgdir/usr/share/icons/hicolor/128x128/apps/$pkgname.png"
- install -Dm644 graphics/logo_icon.svg "$pkgdir/usr/share/icons/hicolor/scalable/apps/$pkgname.svg"
# License
install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
Deleted: openbve.desktop
===================================================================
--- openbve.desktop 2019-10-04 23:12:49 UTC (rev 512880)
+++ openbve.desktop 2019-10-05 00:01:18 UTC (rev 512881)
@@ -1,9 +0,0 @@
-[Desktop Entry]
-Version=1.0
-Type=Application
-Name=OpenBVE
-Comment=Train/railway simulator compatible with 'BVE Trainsim' routes
-Comment[hu]=A „BVE Trainsim” útvonalaival kompatibilis vonatszimulátor
-Exec=openbve
-Icon=openbve
-Categories=Game;Simulation;
More information about the arch-commits
mailing list