Package Details: shattered-pixel-dungeon 0.9.0.b-1

Git Clone URL: https://aur.archlinux.org/shattered-pixel-dungeon.git (read-only, click to copy)
Package Base: shattered-pixel-dungeon
Description: Shattered fork of the popular rogue-like game
Upstream URL: https://shatteredpixel.com/
Licenses: GPL3
Conflicts: shattered-pixel-dungeon-git
Submitter: petercxy
Maintainer: petercxy (lilac)
Last Packager: lilac
Votes: 11
Popularity: 1.07
First Submitted: 2018-05-11 11:51
Last Updated: 2020-10-18 19:25

Latest Comments

petercxy commented on 2020-03-25 23:11

@prurigro I've been monitoring the new repo for some time, but it seems to me that the source code for the beta versions has not yet been released into the master branch. Once it is updated I will switch to the new repo too.

prurigro commented on 2020-03-25 21:03

Hey, it's not quite there yet but I figured I'd put a bug into your ear in case you missed it (I only caught it because I'm managing the -git version of this package and was reviewing the latest changes). The GDX repo is being deprecated in favour of the upstream android version switching to a unified release.

You can read about it in the READMEs of both repos:

https://github.com/00-Evan/shattered-pixel-dungeon-gdx/blob/master/README.md https://github.com/00-Evan/shattered-pixel-dungeon/blob/master/README.md#compiling-shattered-pixel-dungeon

I'll be testing the other repo's build soon and will move my package over to that once it's more or less playable, so feel free to check over there to see what that entails.

Cheers!

petercxy commented on 2020-02-16 00:00

@jonathon I'm not sure how to detect the proper JDK path for a specific version. Let me have a look later.

jonathon commented on 2020-02-15 17:57

Would you consider switching the jdk8-openjdk and jre8-openjdk deps to the generic java-environment=8 and java-runtime=8 ? That way people of alternative JDK/JREs can use them without needing to install an additional JDK and JRE.

erayerdin commented on 2019-10-25 21:12

See: https://github.com/00-Evan/shattered-pixel-dungeon-gdx/issues/43

GalaxyLJGD commented on 2019-10-09 18:23

The official website is now https://shatteredpixel.com

petercxy commented on 2019-01-27 06:10

Updated with system gradle

jonathon commented on 2018-12-31 15:27

If you don't want to use the system gradle at least consider this patch which will use a cached archive and save ~110MB download every build:

diff --git a/PKGBUILD b/PKGBUILD
index 1dcef41..12498db 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -17,10 +17,17 @@ source=(
   "https://github.com/00-Evan/shattered-pixel-dungeon-gdx/archive/v$pkgver.tar.gz"
   "$pkgname.sh"
   "$pkgname.desktop"
+  https://services.gradle.org/distributions/gradle-5.1.1-all.zip
 )
+noextract=(gradle-5.1.1-all.zip)
 sha512sums=('d596e982df7641b7cd610ebf45c057d7cc66fb79fe062d2fc49abc740031728ab29030ba74bc09602efc8fa3ca84aa5ec10cda48701312564dcd52bb8ed9d424'
             '88814d1f33eea6bd5656d3ca731ed5a6cfce10ecdae24012252c5b32c4b194ec75fb0e22cac70897802679086c6a32e210d52933ec45ca94ff350ac4ad7c266e'
-            '204a7bcedbbc14bdad6586e4b759b326191a7fd2c344dadc7032495d4caa5fe32edac4118d7294229a6fe24f6684416fff37e260bbc9dde9e50846a03ba77db8')
+            '204a7bcedbbc14bdad6586e4b759b326191a7fd2c344dadc7032495d4caa5fe32edac4118d7294229a6fe24f6684416fff37e260bbc9dde9e50846a03ba77db8'
+            '53b71812f18cdb2777e9f1b2a0f2038683907c90bdc406bc64d8b400e1fb2c3b')
+
+prepare() {
+  sed -i "5s|https\\\://services.gradle.org/distributions|file:///$srcdir|" $_srcdir/gradle/wrapper/gradle-wrapper.properties
+}

 build() {
   cd $_srcdir

jonathon commented on 2018-10-27 13:42

Here's a diff to use the system gradle and prevent the download of ~70MB for each build:

diff --git a/PKGBUILD b/PKGBUILD
index 6b8d7bc..d20c81f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -10,7 +10,7 @@ pkgdesc='Shattered fork of the popular rogue-like game'
 url='http://shatteredpixel.tumblr.com'
 license=('GPL3')
 depends=('java-runtime' 'bash' 'xorg-xrandr')
-makedepends=('git' 'java-environment' 'jdk8-openjdk')
+makedepends=('git' 'gradle' 'java-environment' 'jdk8-openjdk')
 conflicts=('shattered-pixel-dungeon-git')
 arch=('any')
 source=(
@@ -22,6 +22,11 @@ sha512sums=('5ffcff27a982399239f935e1307e7620d2052b6fe6682d85e699fa29a9f09454209
             '88814d1f33eea6bd5656d3ca731ed5a6cfce10ecdae24012252c5b32c4b194ec75fb0e22cac70897802679086c6a32e210d52933ec45ca94ff350ac4ad7c266e'
             '204a7bcedbbc14bdad6586e4b759b326191a7fd2c344dadc7032495d4caa5fe32edac4118d7294229a6fe24f6684416fff37e260bbc9dde9e50846a03ba77db8')

+prepare() {
+  # Use system gradle
+  sed -i '164c/usr/bin/gradle "$@"' "$_srcdir"/gradlew
+}
+
 build() {
   cd $_srcdir
   unset _JAVA_OPTIONS