summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authordreieck2023-04-13 22:46:36 +0200
committerdreieck2023-04-13 22:46:36 +0200
commitc54dcb2e79738e30ccd1f402eb08937e70777356 (patch)
treedcd64f7d631f7ee09338cd4f92c0a7b156c81bbb
downloadaur-c54dcb2e79738e30ccd1f402eb08937e70777356.tar.gz
Initial Commit
-rw-r--r--.SRCINFO16
-rw-r--r--PKGBUILD35
-rw-r--r--license-note.txt30
3 files changed, 81 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 000000000000..2c856c4e6fe5
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = widelands-maps-siedler2
+ pkgdesc = Makes the maps installed by the Settlers II-remake 'Return to the Roots' available to play with widelands.
+ pkgver = venividivici_gold
+ pkgrel = 1
+ url = http://siedler25.org/
+ arch = any
+ license = GPL2
+ makedepends = siedler2-maps
+ depends = siedler2-maps
+ optdepends = widelands: To play the maps with widelands.
+ provides = widelands-maps-settlers2=venividivici_gold
+ options = emptydirs
+ source = license-note.txt
+ sha256sums = f4ffc3714848e023f8d2b2477d03584ef7efa8cae644c9ee7f92372e53c65718
+
+pkgname = widelands-maps-siedler2
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 000000000000..6b81f190f266
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,35 @@
+# Maintainer: dreieck
+
+_pkgname="widelands-maps-siedler2"
+pkgname="${_pkgname}"
+pkgdesc="Makes the maps installed by the Settlers II-remake 'Return to the Roots' available to play with widelands."
+url='http://siedler25.org/'
+arch=('any')
+pkgver=venividivici_gold
+pkgrel=1
+depends=('siedler2-maps')
+makedepends=('siedler2-maps') # Needed for pkgver()
+optdepends=('widelands: To play the maps with widelands.')
+provides=("widelands-maps-settlers2=${pkgver}")
+conflicts=()
+replaces=()
+license=('GPL2')
+options+=('emptydirs')
+source=('license-note.txt')
+sha256sums=('f4ffc3714848e023f8d2b2477d03584ef7efa8cae644c9ee7f92372e53c65718')
+
+pkgver() {
+ # Set the pkgver to that of the installed return-to-the-root.
+ pacman -Q siedler2-maps | awk '{print $2}' | sed 's|-.*||'
+}
+
+package() {
+ install -d -v -m755 "${pkgdir}/usr/share/widelands/maps/Settlers II-maps"
+ cd "${pkgdir}/usr/share/widelands/maps/Settlers II-maps"
+ ln -sv "/usr/share/s25rttr/S2/DATA/MAPS" "Campaigns"
+ ln -sv "/usr/share/s25rttr/S2/DATA/MAPS2" "Continents"
+ ln -sv "/usr/share/s25rttr/S2/DATA/MAPS3" "Older maps"
+ ln -sv "/usr/share/s25rttr/S2/DATA/MAPS4" "Newer maps"
+
+ install -v -D -m644 "${srcdir}/license-note.txt" "${pkgdir}/usr/share/licenses/${pkgname}/license-note.txt"
+}
diff --git a/license-note.txt b/license-note.txt
new file mode 100644
index 000000000000..b4f0ff99f734
--- /dev/null
+++ b/license-note.txt
@@ -0,0 +1,30 @@
+Blue Byte's "Die Siedler II"/ "The Settlers II" is a computer game from 1996 with proprietary license.
+
+The exact terms and conditions could not be determined.
+
+Assume full copyright to the original authors and/ or distributors of the game.
+
+Although, this package does not install the game files, it just creates symlinks to preinstalled game files.
+
+
+The copyright text on the manual says:
+
+-- %< --
+
+© Copyryight 1996 by Blue Byte Software. All rights reserved.
+Software, manual, text, graphics, music and names are covered by copyright law. No part of the publication may in any form be reproduced, transmitted or translated into any other language without the written permission of Blue Byte Software GMBH.
+
+BLUE BYTE SOFTWARE INC.
+33 South Roselle Road, Suite 201 • Schaumburg, IL 60193 • USA • Tel: (847) 534-7950
+Fax: (847) 534-7951
+http://www.bluebyte.com
+
+BLUE BYTE SOFTWARE GMBH
+Eppinghofer Strasse 150 • 45468 Mühlheim an der Ruhr • Germany • Tel: +49 (0)208 - 450880
+Fax: +49 (0) 208 - 4508899
+
+BLUE BYTE SOFTWARE LTD
+22 Billing Road • Northampton • NN1 5AT • United Kingdom • Tel: +44 (0)1604 - 259090
+Fax: +44 (0)1604- 24553
+
+-- >% --