[arch-commits] Commit in java-hamcrest/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Apr 17 11:27:59 UTC 2021
Date: Saturday, April 17, 2021 @ 11:27:59
Author: arojas
Revision: 412820
Quoting
Modified:
java-hamcrest/trunk/PKGBUILD
----------+
PKGBUILD | 10 ++++------
1 file changed, 4 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 11:27:13 UTC (rev 412819)
+++ PKGBUILD 2021-04-17 11:27:59 UTC (rev 412820)
@@ -25,14 +25,12 @@
'1cde867cab5c8e842929da5391cef98b4017314822270e934e8e2eef3767c666')
package() {
- cd "${srcdir}"
-
- install -dm755 ${pkgdir}/usr/share/java/${_libname}
+ 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}/${j}-${pkgver}.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
+ ln -s ${_libname}/${j}-${pkgver}.jar "${pkgdir}"/usr/share/java/${_libname}-${j}.jar
done
- install -Dm644 LICENSE.txt ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ install -Dm644 LICENSE.txt "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list