[arch-commits] Commit in openbve/repos/community-any (6 files)
Giancarlo Razzolini
grazzolini at archlinux.org
Thu Apr 23 02:23:54 UTC 2020
Date: Thursday, April 23, 2020 @ 02:23:54
Author: grazzolini
Revision: 617750
archrelease: copy trunk to community-any
Added:
openbve/repos/community-any/PKGBUILD
(from rev 617749, openbve/trunk/PKGBUILD)
openbve/repos/community-any/openbve.appdata.xml
(from rev 617749, openbve/trunk/openbve.appdata.xml)
openbve/repos/community-any/openbve.sh
(from rev 617749, openbve/trunk/openbve.sh)
Deleted:
openbve/repos/community-any/PKGBUILD
openbve/repos/community-any/openbve.appdata.xml
openbve/repos/community-any/openbve.sh
---------------------+
PKGBUILD | 109 ++++++++++++++++++++++++--------------------------
openbve.appdata.xml | 44 ++++++++++----------
openbve.sh | 4 -
3 files changed, 78 insertions(+), 79 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-04-23 02:23:04 UTC (rev 617749)
+++ PKGBUILD 2020-04-23 02:23:54 UTC (rev 617750)
@@ -1,55 +0,0 @@
-# Maintainer: Balló György <ballogyor+arch at gmail dot com>
-
-pkgname=openbve
-_pkgname=OpenBVE
-pkgver=1.7.1.3
-pkgrel=1
-pkgdesc="Free-as-in-freedom train simulator placed in the public domain"
-arch=('any')
-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.appdata.xml)
-sha256sums=('a5abf5bd87738423ed4dcf245694f689f6691018bd1b131cc18120cdf5b020d4'
- 'cf0f2a28e65248f742d6bb80f3101e36f24097e699c4e5acdf3fd4dbb965d3c3'
- '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
-}
-
-package() {
- cd $_pkgname-$pkgver
-
- # Binaries
- install -dm755 "$pkgdir/usr/lib/$pkgname/"
- cp -r bin_release/* "$pkgdir/usr/lib/$pkgname/"
-
- # Data
- install -dm755 "$pkgdir/usr/share/games/$pkgname/"
- mv "$pkgdir/usr/lib/$pkgname/Data" "$pkgdir/usr/share/games/$pkgname/"
- ln -s ../../share/games/$pkgname/Data "$pkgdir/usr/lib/$pkgname/Data"
-
- # Executable
- install -Dm755 ../$pkgname.sh "$pkgdir/usr/bin/$pkgname"
-
- # Desktop file and icon
- 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"
-
- # License
- install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
- install -m644 licenses/* Readme.md \
- "$pkgdir/usr/share/licenses/$pkgname/"
-}
Copied: openbve/repos/community-any/PKGBUILD (from rev 617749, openbve/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-04-23 02:23:54 UTC (rev 617750)
@@ -0,0 +1,54 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=openbve
+_pkgname=OpenBVE
+pkgver=1.7.1.3
+pkgrel=2
+pkgdesc="Free-as-in-freedom train simulator placed in the public domain"
+arch=('any')
+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.appdata.xml)
+sha256sums=('a5abf5bd87738423ed4dcf245694f689f6691018bd1b131cc18120cdf5b020d4'
+ 'cf0f2a28e65248f742d6bb80f3101e36f24097e699c4e5acdf3fd4dbb965d3c3'
+ '1ae1d4bf4dbe0d4e012fafef090d98b4c67ba87bee8981af0b2de11015b57df2')
+
+prepare() {
+ cd $_pkgname-$pkgver
+ nuget restore OpenBVE.sln
+}
+
+build() {
+ cd $_pkgname-$pkgver
+ xbuild /p:Configuration=Release OpenBVE.sln
+}
+
+package() {
+ cd $_pkgname-$pkgver
+
+ # Binaries
+ install -dm755 "$pkgdir/usr/lib/$pkgname/"
+ cp -r bin_release/* "$pkgdir/usr/lib/$pkgname/"
+
+ # Data
+ install -dm755 "$pkgdir/usr/share/games/$pkgname/"
+ mv "$pkgdir/usr/lib/$pkgname/Data" "$pkgdir/usr/share/games/$pkgname/"
+ ln -s ../../share/games/$pkgname/Data "$pkgdir/usr/lib/$pkgname/Data"
+
+ # Executable
+ install -Dm755 ../$pkgname.sh "$pkgdir/usr/bin/$pkgname"
+
+ # Desktop file and icon
+ 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"
+
+ # License
+ install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
+ install -m644 licenses/* Readme.md \
+ "$pkgdir/usr/share/licenses/$pkgname/"
+}
Deleted: openbve.appdata.xml
===================================================================
--- openbve.appdata.xml 2020-04-23 02:23:04 UTC (rev 617749)
+++ openbve.appdata.xml 2020-04-23 02:23:54 UTC (rev 617750)
@@ -1,22 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<component type="desktop-application">
- <id>net.openbve-project.openbve</id>
- <launchable type="desktop-id">openbve.desktop</launchable>
- <name>OpenBVE</name>
- <summary>Train/railway simulator compatible with 'BVE Trainsim' routes</summary>
- <metadata_license>CC0-1.0</metadata_license>
- <project_license>CC0-1.0</project_license>
- <description>
- <p>OpenBVE is a railway train-driving simulator with an emphasis on in-cab driving, realistic physics, braking system and train safety system modelling.</p>
- </description>
- <screenshots>
- <screenshot type="default">
- <image>https://openbve-project.net/images/driving_1.jpg</image>
- </screenshot>
- <screenshot>
- <image>https://openbve-project.net/images/driving_2.jpg</image>
- </screenshot>
- </screenshots>
- <url type="bugtracker">https://github.com/leezer3/OpenBVE/issues</url>
- <url type="homepage">https://openbve-project.net/</url>
-</component>
Copied: openbve/repos/community-any/openbve.appdata.xml (from rev 617749, openbve/trunk/openbve.appdata.xml)
===================================================================
--- openbve.appdata.xml (rev 0)
+++ openbve.appdata.xml 2020-04-23 02:23:54 UTC (rev 617750)
@@ -0,0 +1,22 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<component type="desktop-application">
+ <id>net.openbve-project.openbve</id>
+ <launchable type="desktop-id">openbve.desktop</launchable>
+ <name>OpenBVE</name>
+ <summary>Train/railway simulator compatible with 'BVE Trainsim' routes</summary>
+ <metadata_license>CC0-1.0</metadata_license>
+ <project_license>CC0-1.0</project_license>
+ <description>
+ <p>OpenBVE is a railway train-driving simulator with an emphasis on in-cab driving, realistic physics, braking system and train safety system modelling.</p>
+ </description>
+ <screenshots>
+ <screenshot type="default">
+ <image>https://openbve-project.net/images/driving_1.jpg</image>
+ </screenshot>
+ <screenshot>
+ <image>https://openbve-project.net/images/driving_2.jpg</image>
+ </screenshot>
+ </screenshots>
+ <url type="bugtracker">https://github.com/leezer3/OpenBVE/issues</url>
+ <url type="homepage">https://openbve-project.net/</url>
+</component>
Deleted: openbve.sh
===================================================================
--- openbve.sh 2020-04-23 02:23:04 UTC (rev 617749)
+++ openbve.sh 2020-04-23 02:23:54 UTC (rev 617750)
@@ -1,2 +0,0 @@
-#!/bin/sh
-mono /usr/lib/openbve/OpenBve.exe "$@"
Copied: openbve/repos/community-any/openbve.sh (from rev 617749, openbve/trunk/openbve.sh)
===================================================================
--- openbve.sh (rev 0)
+++ openbve.sh 2020-04-23 02:23:54 UTC (rev 617750)
@@ -0,0 +1,2 @@
+#!/bin/sh
+mono /usr/lib/openbve/OpenBve.exe "$@"
More information about the arch-commits
mailing list