diff options
| author | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-06-18 16:30:12 -0700 | 
|---|---|---|
| committer | jc_gargma <jc_gargma@iserlohn-fortress.net> | 2021-06-18 16:30:12 -0700 | 
| commit | d9442b8a5c84de4d6b52715c17979f63bc673b1b (patch) | |
| tree | c2018f64d5eafa738ec85c313988969b48df23e1 | |
| parent | Updated to 0.9.13 (diff) | |
| download | endless-sky-d9442b8a5c84de4d6b52715c17979f63bc673b1b.tar.xz | |
Sync with changes made from the switch to community
| -rw-r--r-- | 0001-fix-Add-missing-string-include.patch | 10 | ||||
| -rw-r--r-- | PKGBUILD | 64 | ||||
| -rw-r--r-- | endless-sky.desktop | 14 | 
3 files changed, 31 insertions, 57 deletions
| diff --git a/0001-fix-Add-missing-string-include.patch b/0001-fix-Add-missing-string-include.patch deleted file mode 100644 index eeb12a5..0000000 --- a/0001-fix-Add-missing-string-include.patch +++ /dev/null @@ -1,10 +0,0 @@ ---- a/source/Panel.h -+++ b/source/Panel.h -@@ -17,6 +17,7 @@ PARTICULAR PURPOSE.  See the GNU General Public License for more details. -  - #include <functional> - #include <list> -+#include <string> -  - #include <SDL2/SDL.h> -  @@ -5,19 +5,37 @@  # # I maintain this because: -# AUR version uses /usr/share/games +# Arch version lacks additional optimization and hardening flags  pkgname=endless-sky  pkgver=0.9.13 -pkgrel=1 +pkgrel=2 +pkgdesc="A sandbox-style space exploration and combat game"  arch=('x86_64' 'i686' 'aarch64')  url="https://endless-sky.github.io/" -depends=(gcc-libs openal libpng glew hicolor-icon-theme libjpeg-turbo sdl2 libmad) -makedepends=(scons) -optdepends=('endless-sky-high-dpi: high resolution graphics assets' -            'endless-sky-editor: map editor') -license=('GPL3' 'CCPL' 'custom:public domain') -pkgdesc="A sandbox-style space exploration and combat game" +license=( +  'GPL3' +  'custom:CC-BY-3.0' +  'custom:CC-BY-4.0' +  'custom:CC-BY-NC-3.0' +  'custom:CC-BY-SA-3.0' +  'custom:CC-BY-SA-4.0' +  'custom:public-domain' +) +depends=( +  'gcc-libs' +  'openal' +  'libpng' +  'glew' +  'hicolor-icon-theme' +  'libjpeg-turbo' +  'sdl2' +  'libmad' +) +makedepends=('scons') +optdepends=( +  'endless-sky-high-dpi: high resolution graphics assets' +)  source=("$pkgname-$pkgver.tar.gz::https://github.com/endless-sky/endless-sky/archive/v${pkgver}.tar.gz")  b2sums=('6d4c7f37ce4dfff2bae3eb6cee4948e6e27df086c2017f56bddf2d212011bfff135931915ab3f34c5e2f432acbf38126f7a774835d427652c8870d98e66c5f06') @@ -36,33 +54,13 @@ build() {    scons "${MAKEFLAGS}"  } -  package() {    cd "$pkgname-$pkgver" -  scons DESTDIR="$pkgdir" PREFIX=/usr install - -  # binary -  #install -Dm755 endless-sky "${pkgdir}/usr/bin/endless-sky" - -  # resources -  # hard coded paths are evil -  #install -Dm644 credits.txt "${pkgdir}/usr/lib/${pkgname}/credits.txt" -  #install -Dm644 keys.txt "${pkgdir}/usr/lib/${pkgname}/keys.txt" -  #cp -rf data images sounds "${pkgdir}/usr/lib/${pkgname}/" - -  # .desktop -  #install -Dm644 ${srcdir}/endless-sky.desktop "${pkgdir}/usr/share/applications/endless-sky.desktop" - -  # icons -  #for res in 16 22 24 32 48 128 256 512; do -  #  install -Dm644 \ -  #    "icons/icon_${res}x${res}.png" \ -  #    "${pkgdir}/usr/share/icons/hicolor/${res}x${res}/apps/${pkgname}.png" -  #done - -  # manpage -  #install -Dm644 -t "${pkgdir}/usr/share/man/man6" endless-sky.6 +  scons \ +    DESTDIR="$pkgdir" \ +    PREFIX=/usr \ +    install    # license -  install -Dm644 copyright "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" +  install -Dm644 -t "$pkgdir/usr/share/licenses/$pkgname" copyright  } diff --git a/endless-sky.desktop b/endless-sky.desktop deleted file mode 100644 index 5822291..0000000 --- a/endless-sky.desktop +++ /dev/null @@ -1,14 +0,0 @@ -[Desktop Entry] -Name=Endless Sky -GenericName=Space game -GenericName[de]=Weltraumspiel -GenericName[fr]=Jeu spatial -Comment=Space exploration and combat game -Comment[de]=Weltraumhandels und Kampfsimulator -Comment[fr]=Jeu d'exploration et de combat dans l'espace -Exec=endless-sky -r /lib/endless-sky -Icon=endless-sky -Terminal=false -Type=Application -Keywords=game;simulator;space;sandbox;rpg; -Categories=Game;Simulation; | 
