summaryrefslogtreecommitdiff
path: root/libre/java-xmlgraphics-commons
diff options
context:
space:
mode:
authorOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-27 18:38:49 -0500
committerOmar Vega Ramos <ovruni@gnu.org.pe>2015-09-27 18:38:49 -0500
commit870ec6724b9eab4651ca990d0018d269548dda04 (patch)
treea83ec4853de179f2f2db067a5bfec622ed0498bc /libre/java-xmlgraphics-commons
parentf459080b444051bcc6f969ce672649349a2fea5f (diff)
downloadabslibre-870ec6724b9eab4651ca990d0018d269548dda04.tar.gz
abslibre-870ec6724b9eab4651ca990d0018d269548dda04.tar.bz2
abslibre-870ec6724b9eab4651ca990d0018d269548dda04.zip
java-xmlgraphics-commons-2.0.1-1.parabola1: updating version
Diffstat (limited to 'libre/java-xmlgraphics-commons')
-rw-r--r--libre/java-xmlgraphics-commons/PKGBUILD13
1 files changed, 6 insertions, 7 deletions
diff --git a/libre/java-xmlgraphics-commons/PKGBUILD b/libre/java-xmlgraphics-commons/PKGBUILD
index 49f361b31..ebe48503a 100644
--- a/libre/java-xmlgraphics-commons/PKGBUILD
+++ b/libre/java-xmlgraphics-commons/PKGBUILD
@@ -2,23 +2,22 @@
_libname=xmlgraphics-commons
pkgname=java-${_libname}
-pkgver=1.5
-pkgrel=2.parabola1
+pkgver=2.0.1
+pkgrel=1.parabola1
pkgdesc="Common components between FOP and Batik."
arch=('any')
url="http://xmlgraphics.apache.org/commons/"
license=('APACHE')
depends=('java-runtime')
makedepends=('java-commons-io' 'java-commons-logging' 'java-environment' 'jh')
-source=("https://archive.apache.org/dist/xmlgraphics/commons/source/${_libname}-${pkgver}-src.tar.gz"
- "https://repo1.maven.org/maven2/org/apache/xmlgraphics/${_libname}/${pkgver}/${_libname}-${pkgver}.pom")
-md5sums=('e7012400a3c9d10a18bc5c3515610f35'
- 'feb55c9c61fa0b63f2926ad8872bc2a5')
+source=("https://archive.apache.org/dist/xmlgraphics/commons/source/${_libname}-${pkgver}-src.tar.gz")
+md5sums=('d8b3b07116e5387c760f4fe6dbe598c0')
prepare() {
cd "${srcdir}/${_libname}-${pkgver}"
rm -v $(find . -name \*.jar)
mkdir -p build/classes
+ sed -i "s/@version@/${pkgver}/g" xmlgraphics-commons-pom-template.pom
}
build() {
@@ -44,7 +43,7 @@ package() {
# Install Maven artifacts
export DESTDIR=${pkgdir}
jh mvn-install "org.apache.xmlgraphics" ${_libname} ${pkgver} \
- "${srcdir}/${_libname}-${pkgver}.pom" \
+ "${srcdir}/${_libname}-${pkgver}/${_libname}-pom-template.pom" \
"${_libname}.jar" \
"${_libname}.jar"
ln -s "/usr/share/java/${_libname}.jar" \