[arch-commits] Commit in java-hamcrest/trunk (PKGBUILD)
Guillaume Alaux
guillaume at archlinux.org
Sun Mar 1 13:51:54 UTC 2015
Date: Sunday, March 1, 2015 @ 14:51:54
Author: guillaume
Revision: 232357
Fix lib names and links
Modified:
java-hamcrest/trunk/PKGBUILD
----------+
PKGBUILD | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2015-03-01 13:26:25 UTC (rev 232356)
+++ PKGBUILD 2015-03-01 13:51:54 UTC (rev 232357)
@@ -2,7 +2,7 @@
_libname=hamcrest
pkgname=java-${_libname}
pkgver=1.3
-pkgrel=2
+pkgrel=3
pkgdesc='Java matcher objects library'
arch=('any')
url='https://code.google.com/p/hamcrest'
@@ -28,9 +28,9 @@
install -dm755 ${pkgdir}/usr/share/java/${_libname}
for j in core library generator integration; do
- cp ${_libname}-${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}
- ln -s ${_libname}/${_libname}-${j}-${pkgver}.jar \
- ${pkgdir}/usr/share/java/${_libname}-${j}.jar
+ cp ${_libname}-${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}/${j}-${pkgver}.jar
+ ln -s ${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}/${j}.jar
+ ln -s ${_libname}/${j}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}-${j}.jar
done
install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
More information about the arch-commits
mailing list