[arch-commits] Commit in java-jdepend/trunk (PKGBUILD)
Antonio Rojas
arojas at archlinux.org
Sat Apr 17 11:31:03 UTC 2021
Date: Saturday, April 17, 2021 @ 11:31:02
Author: arojas
Revision: 412822
Quoting
Modified:
java-jdepend/trunk/PKGBUILD
----------+
PKGBUILD | 12 ++++++------
1 file changed, 6 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-04-17 11:29:54 UTC (rev 412821)
+++ PKGBUILD 2021-04-17 11:31:02 UTC (rev 412822)
@@ -14,18 +14,18 @@
sha512sums=('05dd4451c3da38469ef65051862d3299a6beac373605b7a65300e3322d32907702c2925bf7225716e6ce8b56b55c159fd673632f47961b0e2e13a2788b5b2d17')
build() {
- cd "${srcdir}/${_libname}-${pkgver}"
+ cd ${_libname}-${pkgver}
ant jar
}
check() {
- cd "${srcdir}/${_libname}-${pkgver}"
+ cd ${_libname}-${pkgver}
ant test
}
package() {
- cd "${srcdir}/${_libname}-${pkgver}"
- install -Dm644 dist/${_libname}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}-${pkgver}.jar
- ln -s ${_libname}-${pkgver}.jar ${pkgdir}/usr/share/java/${_libname}.jar
- install -Dm644 LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
+ cd ${_libname}-${pkgver}
+ install -Dm644 dist/${_libname}-${pkgver}.jar "${pkgdir}"/usr/share/java/${_libname}-${pkgver}.jar
+ ln -s ${_libname}-${pkgver}.jar "${pkgdir}"/usr/share/java/${_libname}.jar
+ install -Dm644 LICENSE "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE
}
More information about the arch-commits
mailing list