summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorproninyaroslav2016-02-21 12:58:51 +0300
committerproninyaroslav2016-02-21 12:58:51 +0300
commit9e2cf87c7515b0919165fd3bcec96c5620f58507 (patch)
tree713023c0ed4df95e350a89979c197b09c995c614
parente5140575701727e7dfae048c0b25b77cd09d3251 (diff)
downloadaur-9e2cf87c7515b0919165fd3bcec96c5620f58507.tar.gz
Code cleaning
-rw-r--r--PKGBUILD14
1 files changed, 7 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 65309c55771..e6b34bacda1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -14,14 +14,14 @@ source=("${pkgname}"::"git://github.com/nviennot/jd-core-java.git")
sha256sums=('SKIP')
build() {
-cd "${srcdir}/${pkgname}"
-./gradlew build
+ cd "${srcdir}/${pkgname}"
+ ./gradlew build
}
package() {
-cd "${srcdir}/${pkgname}/build/libs"
-install -Dm644 "${pkgname}-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
-install -d "${pkgdir}/usr/bin"
-echo -e "#!/bin/sh\nexec java -jar /usr/share/java/${pkgname}/${pkgname}.jar" '"$@"' > "${pkgdir}/usr/bin/${pkgname}"
-chmod 755 "${pkgdir}/usr/bin/${pkgname}"
+ cd "${srcdir}/${pkgname}/build/libs"
+ install -Dm644 "${pkgname}-${pkgver}.jar" "${pkgdir}/usr/share/java/${pkgname}/${pkgname}.jar"
+ install -d "${pkgdir}/usr/bin"
+ echo -e "#!/bin/sh\nexec java -jar /usr/share/java/${pkgname}/${pkgname}.jar" '"$@"' > "${pkgdir}/usr/bin/${pkgname}"
+ chmod 755 "${pkgdir}/usr/bin/${pkgname}"
}