summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2015-12-07 23:29:05 -0500
committerJames An2015-12-07 23:29:05 -0500
commit2c400ee4dfacbb56925fa07b5ff5a8bfdbd06867 (patch)
tree7806d846fdc920f57db9181b3f424c5b8b6976f9
parent9cf4f1dcf4c18c16341560b51be2c413898e98b5 (diff)
downloadaur-2c400ee4dfacbb56925fa07b5ff5a8bfdbd06867.tar.gz
Added install file to assist in using this package with solr-undertow.
-rw-r--r--.SRCINFO3
-rw-r--r--PKGBUILD1
-rw-r--r--solr5-zip.install8
3 files changed, 11 insertions, 1 deletions
diff --git a/.SRCINFO b/.SRCINFO
index d2b61710c56f..eea75dfd531a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,10 +1,11 @@
# Generated by mksrcinfo v8
-# Tue Dec 8 03:01:29 UTC 2015
+# Tue Dec 8 04:27:58 UTC 2015
pkgbase = solr5-zip
pkgdesc = Popular, blazing fast open source enterprise search platform from the Apache Lucene project
pkgver = 5.3.1
pkgrel = 1
url = http://lucene.apache.org/solr
+ install = solr5-zip.install
arch = any
license = Apache
depends = java-environment>=7
diff --git a/PKGBUILD b/PKGBUILD
index eec75e954fe5..24c921fc46ad 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -11,6 +11,7 @@ license=('Apache')
depends=('java-environment>=7')
provides=("$_pkgname=5" "${_pkgname}5=5")
conflicts=("$_pkgname")
+install="$pkgname.install"
source=("http://www.apache.org/dist/lucene/$_pkgname/$pkgver/$_pkgname-$pkgver.zip")
md5sums=('c69eb24acb3821408eacf00651cc7022')
noextract=("${source[@]%%::*}")
diff --git a/solr5-zip.install b/solr5-zip.install
new file mode 100644
index 000000000000..ddb4ca63c1fd
--- /dev/null
+++ b/solr5-zip.install
@@ -0,0 +1,8 @@
+post_install() {
+ post_upgrade "$1"
+}
+
+post_upgrade() {
+ echo 'If used with solr-undertow, set solr.undertow.solrWarFile in the conf file (e.g. /etc/solr/default.conf)'
+ echo "to the path of the solr zip file (i.e. /usr/share/java/lib/solr/solr-$1.zip)."
+}