summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorpetRUShka2015-09-23 01:34:47 +0300
committerpetRUShka2015-09-23 01:34:47 +0300
commit75e34b1e3fa4fdf597dcd84b42231e67b8a2bd16 (patch)
tree759fdf837970b604337284de286a6db3d2637a2a
downloadaur-75e34b1e3fa4fdf597dcd84b42231e67b8a2bd16.tar.gz
Initial import
-rw-r--r--.SRCINFO20
-rw-r--r--PKGBUILD45
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..3ca71bf2e54
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,20 @@
+pkgbase = java-jdom1
+ pkgdesc = Older version of XML Parsing Library for Java
+ pkgver = 1.1.3
+ pkgrel = 1
+ url = http://www.jdom.org
+ arch = any
+ license = GPL
+ makedepends = apache-ant
+ depends = java-runtime
+ provides = java-jdom=1.1.3
+ conflicts = java-jdom
+ source = http://www.jdom.org/dist/binary/archive/jdom-1.1.3.tar.gz
+ source = http://www.jdom.org/dist/binary/archive/jdom-contrib-1.1.3.tar.gz
+ source = http://www.jdom.org/dist/binary/archive/jdom-test-1.1.3.tar.gz
+ md5sums = dc8391e84cfdb170fcd8279aa370019f
+ md5sums = fc4a7afe5acecbfbe7e0f9a48ab085dc
+ md5sums = e1720c6c44049ac354c8fa14940b933f
+
+pkgname = java-jdom1
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..14b8e2c0e21
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Current Maintainer: Kozec <kozec at kozec dot com>
+# Contributor: Stefan Husmann <stefan-husmann@t-online.de>
+# Contributor: Simon Lipp <sloonz+aur@gmail.com>
+# Prev. Maintainer: Daniel J Griffiths <ghost1227@archlinux.us>
+
+pkgname=java-jdom1
+pkgver=1.1.3
+pkgrel=1
+pkgdesc="Older version of XML Parsing Library for Java"
+arch=('any')
+url="http://www.jdom.org"
+license=('GPL')
+depends=('java-runtime')
+conflicts=('java-jdom')
+provides=("java-jdom=$pkgver")
+makedepends=('apache-ant')
+source=(http://www.jdom.org/dist/binary/archive/jdom-$pkgver.tar.gz \
+ http://www.jdom.org/dist/binary/archive/jdom-contrib-$pkgver.tar.gz \
+ http://www.jdom.org/dist/binary/archive/jdom-test-$pkgver.tar.gz \
+ )
+
+build() {
+ [ -e core ] || ln -s jdom core
+ for _i in core jdom-contrib jdom-test ; do
+ pushd ${_i}
+ chmod +x build.sh
+ ./build.sh
+ popd
+ done
+}
+
+package() {
+ for _i in jdom jdom-test ; do
+ install -D -m755 ${_i}/build/${_i}-${pkgver}.jar \
+ ${pkgdir}/usr/share/java/jdom/${_i}.jar
+ done
+ for _i in jdom-contrib ; do
+ install -D -m755 ${_i}/build/${_i}-1.1.2-snap.jar \
+ ${pkgdir}/usr/share/java/jdom/${_i}.jar
+ done
+}
+
+md5sums=('dc8391e84cfdb170fcd8279aa370019f'
+ 'fc4a7afe5acecbfbe7e0f9a48ab085dc'
+ 'e1720c6c44049ac354c8fa14940b933f')