summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAidan Coward2019-06-08 10:24:20 -0400
committerAidan Coward2019-06-08 10:24:20 -0400
commitbc60f873522acb73f79a05ee962e8602e7b8647f (patch)
tree43ad35c2b0513b76c925b896debe8e2596c484f0
parent9b61c2489427722d2874a8ea0fec178e6d73ca7b (diff)
downloadaur-bc60f873522acb73f79a05ee962e8602e7b8647f.tar.gz
updated to version 1.4.36V2
added xmage.install to provide post_install and post_update messages
-rw-r--r--.SRCINFO6
-rw-r--r--PKGBUILD4
-rw-r--r--notes.txt4
-rw-r--r--xmage.install18
4 files changed, 23 insertions, 9 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 90bb1f180783..f54d09bbcbbd 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,16 +1,16 @@
pkgbase = xmage
pkgdesc = Java-based program for playing Magic:The Gathering, including client and server
- pkgver = 1.4.35V6
+ pkgver = 1.4.36V2
pkgrel = 0
url = http://xmage.de
arch = any
license = MIT
makedepends = detox
optdepends = wmname: change window manager name for compatibility with certain WMs
- source = http://xmage.de/files/xmage_1.4.35V6.zip
+ source = http://xmage.de/files/xmage_1.4.36V2.zip
source = http://xmage.today/java/jre-8u201-linux-x64.tar.gz
source = https://raw.githubusercontent.com/magefree/mage/master/LICENSE.txt
- sha256sums = 3a4337ea67234d77fc82344e8f723ce6884d4822ffd2d9742e82239f241ce51f
+ sha256sums = 2c92c3ad3db30b10bb66676b3399f686e4e318accfd3784fdd1bca77b59718f9
sha256sums = 12c745fbb8735bf450b8c6ba6f649bebe19915f05742975e443bdc8566170352
sha256sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index c79f3c8e3dbc..dc371f3dbe8f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
# Maintainer: Aidan Coward <aidan -dot- coward -at- gmail -dot- com>
pkgname=xmage
-pkgver=1.4.35V6
+pkgver=1.4.36V2
pkgrel=0
_java_version=8u201
_java_dir=jre1.8.0_201
@@ -24,7 +24,7 @@ source=("http://xmage.de/files/xmage_${pkgver}.zip"
"http://xmage.today/java/jre-8u201-linux-x64.tar.gz"
'https://raw.githubusercontent.com/magefree/mage/master/LICENSE.txt')
-sha256sums=("3a4337ea67234d77fc82344e8f723ce6884d4822ffd2d9742e82239f241ce51f"
+sha256sums=("2c92c3ad3db30b10bb66676b3399f686e4e318accfd3784fdd1bca77b59718f9"
"12c745fbb8735bf450b8c6ba6f649bebe19915f05742975e443bdc8566170352"
"SKIP")
diff --git a/notes.txt b/notes.txt
deleted file mode 100644
index 66d63356c200..000000000000
--- a/notes.txt
+++ /dev/null
@@ -1,4 +0,0 @@
-after installation, to increase the amount of ram available to the program, edit /bin/mage-client or /bin/mage-server
-change the 512 in "-Xmx512m" to the amount of ram(in MB) you want to make available
-
-if the program starts but only displays a grey screen, try the wmname package to change the name of the current window manager. some java programs don't work properly with certain window managers
diff --git a/xmage.install b/xmage.install
new file mode 100644
index 000000000000..83ae8f52a029
--- /dev/null
+++ b/xmage.install
@@ -0,0 +1,18 @@
+pkgname='xmage'
+
+post_install() {
+ echo
+ echo "==> ${pkgname}'s files are located in /usr/share/xmage"
+ echo "==> If you wish to increase the amount of RAM available"
+ echo "==> to xmage, edit /bin/mage-client or /bin/mage-server"
+ echo "==> and change the 1024 in "-Xmx1024m" to the amount"
+ echo "==> of RAM(in MB) you wish to make available"
+ echo
+}
+
+post_upgrade() {
+ echo
+ echo "==> Release notes can be found at"
+ echo "==> https://github.com/magefree/mage/wiki/Release-changes"
+ echo
+}