summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorhaawda2019-07-23 22:15:20 +0200
committerhaawda2019-07-23 22:15:20 +0200
commit8e4a3a84eee6a97b18992f2816a3c9117d01799b (patch)
tree5088ff89a5b165fa0b40f3750a1b609679be04e2
parent75e34b1e3fa4fdf597dcd84b42231e67b8a2bd16 (diff)
downloadaur-8e4a3a84eee6a97b18992f2816a3c9117d01799b.tar.gz
adopted and fixed
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD42
2 files changed, 25 insertions, 25 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 3ca71bf2e54..6c5e3d79a3d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = java-jdom1
pkgdesc = Older version of XML Parsing Library for Java
pkgver = 1.1.3
- pkgrel = 1
+ pkgrel = 2
url = http://www.jdom.org
arch = any
license = GPL
@@ -12,9 +12,9 @@ pkgbase = java-jdom1
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
+ sha256sums = d471718c4ac7a1a2f10715b93cb3fcd2ecbab60384b73ad1c089712e47bd8d1f
+ sha256sums = d12bc5da956ccf98fcc0e44abbac4fa100cde0895098ea8d6a580015e2e45557
+ sha256sums = 5d7705068dceb457fabd515b95dd983a0899764c24f1d88184e755d0aecce239
pkgname = java-jdom1
diff --git a/PKGBUILD b/PKGBUILD
index 14b8e2c0e21..ef3ae8032d3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,11 +1,11 @@
-# Current Maintainer: Kozec <kozec at kozec dot com>
+# Contributor: 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>
+# Contributor: Daniel J Griffiths <ghost1227@archlinux.us>
pkgname=java-jdom1
pkgver=1.1.3
-pkgrel=1
+pkgrel=2
pkgdesc="Older version of XML Parsing Library for Java"
arch=('any')
url="http://www.jdom.org"
@@ -18,28 +18,28 @@ 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 \
)
+sha256sums=('d471718c4ac7a1a2f10715b93cb3fcd2ecbab60384b73ad1c089712e47bd8d1f'
+ 'd12bc5da956ccf98fcc0e44abbac4fa100cde0895098ea8d6a580015e2e45557'
+ '5d7705068dceb457fabd515b95dd983a0899764c24f1d88184e755d0aecce239')
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
+ [ -e core ] || ln -s jdom core
+ for _i in core jdom-contrib jdom-test ; do
+ pushd ${_i}
+ chmod +x build.sh
+ JAVA_HOME=/usr/lib/jvm/`archlinux-java get` ./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
+ 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')