summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDimitris Kiziridis2020-03-08 18:15:47 +0200
committerDimitris Kiziridis2020-03-08 18:15:47 +0200
commit3cc0b187848c08cbb8652bdb00e5255fccd3d3d6 (patch)
treed5ba69d2d6309e859f5c2772507b43e65ea4f254
parentfc8c6153bd339e734932515002221006f72aacf0 (diff)
downloadaur-3cc0b187848c08cbb8652bdb00e5255fccd3d3d6.tar.gz
add post_install
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD5
-rw-r--r--post_install6
3 files changed, 12 insertions, 4 deletions
diff --git a/.SRCINFO b/.SRCINFO
index c8bce6d4347..91485cd1a14 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,13 @@
pkgbase = alice-bin
pkgdesc = An educational software that teaches students computer programming in a 3D environment
pkgver = 3.5
- pkgrel = 1
+ pkgrel = 2
url = http://www.alice.org/
+ install = post_install
arch = i686
arch = x86_64
license = custom
- depends = java-environment
+ depends = java-environment=8
depends = mesa
provides = alice3
noextract = Alice3_unix_3_5.sh
diff --git a/PKGBUILD b/PKGBUILD
index 642e0ee2701..779a8374cbe 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,13 +5,14 @@
pkgname=alice-bin
pkgver=3.5
-pkgrel=1
+pkgrel=2
pkgdesc='An educational software that teaches students computer programming in a 3D environment'
arch=('i686' 'x86_64')
url="http://www.alice.org/"
license=('custom')
-depends=('java-environment' 'mesa')
+depends=('java-environment=8' 'mesa')
provides=('alice3')
+install=post_install
source=("http://www.alice.org/wp-content/uploads/2019/04/Alice3_unix_3_5.sh")
noextract=('Alice3_unix_3_5.sh')
sha512sums=('8c1d17e95bc08b38a9615607be9c47dc96c0e374118364377a197e12026e6b26a0058e75a4f7d0f9c81ad1153734012a6796eaa44247c00d19c8e4a114f0c836')
diff --git a/post_install b/post_install
new file mode 100644
index 00000000000..fe7c63ee35a
--- /dev/null
+++ b/post_install
@@ -0,0 +1,6 @@
+# Maintainer: Dimitris Kiziridis <ragouel at outlook dot com>
+
+post_install() {
+ echo -e "You need to manually set java-environment=8 by running '\e[32marchlinux-java set java-8-openjdk\e[37m' as root."
+ echo "If you have a different package providing Java 8, you can replace the above package with the one you have installed."
+} \ No newline at end of file