diff options
author | proninyaroslav | 2016-02-21 12:58:51 +0300 |
---|---|---|
committer | proninyaroslav | 2016-02-21 12:58:51 +0300 |
commit | 9e2cf87c7515b0919165fd3bcec96c5620f58507 (patch) | |
tree | 713023c0ed4df95e350a89979c197b09c995c614 | |
parent | e5140575701727e7dfae048c0b25b77cd09d3251 (diff) | |
download | aur-9e2cf87c7515b0919165fd3bcec96c5620f58507.tar.gz |
Code cleaning
-rw-r--r-- | PKGBUILD | 14 |
1 files changed, 7 insertions, 7 deletions
@@ -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}" } |