summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Titmuss2015-11-29 09:51:42 +1100
committerAndrew Titmuss2015-11-29 09:51:42 +1100
commit7f3e37143f797da555aad372597f1fa99bd2a9da (patch)
tree166b2db27ccd74d5d7211765017b30c7f2cf370e
parent0e16c0c8603343f0b2268e7907ad294fc27b01f1 (diff)
downloadaur-7f3e37143f797da555aad372597f1fa99bd2a9da.tar.gz
Added .install file
-rw-r--r--.SRCINFO2
-rw-r--r--PKGBUILD4
-rw-r--r--mcinstall.install7
3 files changed, 11 insertions, 2 deletions
diff --git a/.SRCINFO b/.SRCINFO
index a296ab1ef8fa..c811ed613fa2 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -6,7 +6,7 @@ pkgbase = mcinstall
arch = x86_64
license = GPL
depends = bash
- optdepends = java: if you want the server to use the already installed JRE instead of downloading one
+ optdepends = jre: if you want the server to use the already installed JRE instead of downloading one
source = mcinstall-1.0.3.tar.gz::https://github.com/iAndrewT/mcinstall/archive/1.0.3.tar.gz
md5sums = 56A52A9E54C2BEC71230D573439E6933
diff --git a/PKGBUILD b/PKGBUILD
index af4d1485f4b7..5c7e7406fffd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,7 +7,9 @@ arch=('x86_64')
url="https://github.com/iandrewt/mcinstall"
license=('GPL')
depends=('bash')
-optdepends=('java: if you want the server to use the already installed JRE instead of downloading one')
+optdepends=('jre: if you want the server to use the already
+installed JRE instead of downloading one')
+install=$pkgname.install
source=($pkgname-$pkgver.tar.gz::https://github.com/iAndrewT/mcinstall/archive/$pkgver.tar.gz)
md5sums=('56A52A9E54C2BEC71230D573439E6933')
diff --git a/mcinstall.install b/mcinstall.install
new file mode 100644
index 000000000000..e4d1b3450c9c
--- /dev/null
+++ b/mcinstall.install
@@ -0,0 +1,7 @@
+post_install() {
+ echo "Now setup your Minecraft Server with 'mcinstall'!"
+}
+
+post_upgrade() {
+ post_install
+}