[arch-commits] Commit in freecol/repos (4 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 12:57:02 UTC 2020


    Date: Tuesday, July 7, 2020 @ 12:57:01
  Author: felixonmars
Revision: 658295

archrelease: copy trunk to community-staging-any

Added:
  freecol/repos/community-staging-any/
  freecol/repos/community-staging-any/PKGBUILD
    (from rev 658294, freecol/trunk/PKGBUILD)
  freecol/repos/community-staging-any/fc.desktop
    (from rev 658294, freecol/trunk/fc.desktop)
  freecol/repos/community-staging-any/fc.sh
    (from rev 658294, freecol/trunk/fc.sh)

------------+
 PKGBUILD   |   36 ++++++++++++++++++++++++++++++++++++
 fc.desktop |   10 ++++++++++
 fc.sh      |    5 +++++
 3 files changed, 51 insertions(+)

Copied: freecol/repos/community-staging-any/PKGBUILD (from rev 658294, freecol/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2020-07-07 12:57:01 UTC (rev 658295)
@@ -0,0 +1,36 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: TDY <tdy at gmx.com>
+# Contributor: Nelson Menon <nelsonmenon at gmail.com insanatorium.wordpress.com>
+
+pkgname=freecol
+pkgver=0.11.6
+pkgrel=4
+pkgdesc="A turn-based strategy game based on Colonization"
+arch=('any')
+url="http://www.freecol.org/"
+license=('GPL')
+depends=('java-runtime>=8')
+source=(https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.zip
+        fc.desktop
+        fc.sh)
+sha512sums=('956ef37f80fcb911c2b6770d12c143599cfe516d6c7583912a834120fe41dbc2e7f0ca75213b4807c78ce8b8591d46edd07a9356682d47545f1fac65b40e41b6'
+            '9abd209dfbfdf87c5d90145493f021df4c5b80cf30f6b224116242adf778518907c149a3bb3e1288e8afb0447261f348cc228bdc6eca525ea6e55203b911c453'
+            'dc98d4e527eaee0b0b17f3d0dccd5268d9eab32c1e0044ffcaf40337771efcee4c99f6b056374e761ce7a9aeaae968ea888d90ed2d5a1e7be0a1162fdecbb9b7')
+
+build() {
+  cd "$srcdir/$pkgname"
+}
+
+package() {
+  cd "$srcdir/$pkgname"
+
+  install -Dm644 FreeCol.jar "$pkgdir/usr/share/java/$pkgname/FreeCol.jar"
+  install -Dm644 FreeCol.pdf "$pkgdir/usr/share/doc/$pkgname/FreeCol.pdf"
+  install -Dm644 $pkgname.xpm "$pkgdir/usr/share/pixmaps/$pkgname.xpm"
+  install -Dm644 ../fc.desktop "$pkgdir/usr/share/applications/$pkgname.desktop"
+  install -Dm755 ../fc.sh "$pkgdir/usr/bin/$pkgname"
+
+  cp -r data jars "$pkgdir/usr/share/java/$pkgname/"
+  find "$pkgdir/usr/share/java/$pkgname" -type d -exec chmod 755 '{}' \;
+  find "$pkgdir/usr/share/java/$pkgname" -type f -exec chmod 644 '{}' \;
+}

Copied: freecol/repos/community-staging-any/fc.desktop (from rev 658294, freecol/trunk/fc.desktop)
===================================================================
--- community-staging-any/fc.desktop	                        (rev 0)
+++ community-staging-any/fc.desktop	2020-07-07 12:57:01 UTC (rev 658295)
@@ -0,0 +1,10 @@
+[Desktop Entry]
+Version=1.0
+Type=Application
+Name=FreeCol
+GenericName=Strategy Game
+Comment=A free Colonization clone
+TryExec=/usr/bin/freecol
+Exec=freecol
+Icon=/usr/share/pixmaps/freecol.xpm
+Categories=Game;StrategyGame;

Copied: freecol/repos/community-staging-any/fc.sh (from rev 658294, freecol/trunk/fc.sh)
===================================================================
--- community-staging-any/fc.sh	                        (rev 0)
+++ community-staging-any/fc.sh	2020-07-07 12:57:01 UTC (rev 658295)
@@ -0,0 +1,5 @@
+#!/bin/bash
+
+FC_PATH=/usr/share/java/freecol
+
+java -Xmx512M -jar $FC_PATH/FreeCol.jar "$@" --freecol-data $FC_PATH/data --no-intro


More information about the arch-commits mailing list