summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJames An2015-08-12 10:38:07 -0400
committerJames An2015-08-12 10:38:07 -0400
commit76519de4b1360e40a813b02d81044d46ed66807d (patch)
tree9e0d1a19401017aa2a621e24ad0c9222fbdfef44
downloadaur-76519de4b1360e40a813b02d81044d46ed66807d.tar.gz
Initial commit with working package spec.
-rw-r--r--.SRCINFO16
-rw-r--r--.gitignore28
-rw-r--r--PKGBUILD19
3 files changed, 63 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..953a3c03c56
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,16 @@
+pkgbase = solr3-war
+ pkgdesc = Solr / SolrCloud web application archive (WAR) ready to deploy on any Java EE container
+ pkgver = 3.6.2
+ pkgrel = 1
+ url = http://lucene.apache.org/solr
+ arch = any
+ license = Apache
+ depends = java-environment>=7
+ provides = solr=3
+ provides = solr3=3
+ noextract = solr-3.6.2.war
+ source = http://central.maven.org/maven2/org/apache/solr/solr/3.6.2/solr-3.6.2.war
+ md5sums = 19aad37fec4e21b5402e863a49ffcbf2
+
+pkgname = solr3-war
+
diff --git a/.gitignore b/.gitignore
new file mode 100644
index 00000000000..207b264a1cc
--- /dev/null
+++ b/.gitignore
@@ -0,0 +1,28 @@
+# From: https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore
+
+*.tar
+*.tar.*
+*.zip
+*.tgz
+*.log
+*.log.*
+*.sig
+
+# makepkg working folders
+pkg
+src
+
+#
+# Additional ignore patterns:
+#
+
+# Source files
+*.deb
+*.gem
+*.out
+*.rpm
+*.html
+*.war
+
+# Ignore package source folders
+*/*
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..fef9ef73513
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,19 @@
+# Maintainer: James An <james@jamesan.ca>
+
+_pkgname=solr
+pkgver=3.6.2
+pkgname="${_pkgname}${pkgver:0:1}-war"
+pkgrel=1
+pkgdesc='Solr / SolrCloud web application archive (WAR) ready to deploy on any Java EE container'
+arch=('any')
+url="http://lucene.apache.org/$_pkgname"
+license=('Apache')
+depends=('java-environment>=7')
+provides=("$_pkgname=${pkgver:0:1}" "${_pkgname}${pkgver:0:1}=${pkgver:0:1}")
+source=("http://central.maven.org/maven2/org/apache/$_pkgname/$_pkgname/$pkgver/$_pkgname-$pkgver.war")
+noextract=("$(basename --multiple ${source[@]})")
+md5sums=('19aad37fec4e21b5402e863a49ffcbf2')
+
+package() {
+ install -Dm644 "$_pkgname-$pkgver.war" "$pkgdir/usr/share/java/lib/$_pkgname/$_pkgname-$pkgver.war"
+}