summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorfrederik2019-10-31 16:37:16 +0100
committerfrederik2019-10-31 16:37:16 +0100
commitc61d87f173c9e1e78d3d392a3ca1e17dfad4bf81 (patch)
tree4219e578930ab4eb19be6dbde05883d46842f5d1
parentb1cf696ad4dfdeeff2aa1e0488c7d32ba5abb0e6 (diff)
downloadaur-c61d87f173c9e1e78d3d392a3ca1e17dfad4bf81.tar.gz
jetbrains-toolbox: PKGBUILD review by svenstaro
-rwxr-xr-xPKGBUILD9
1 files changed, 4 insertions, 5 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 9ee36573109..6b4bb76b467 100755
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,10 +15,9 @@ sha512sums=('cf5dd392e38b6229924a03262c9aef4a4c8bb359ba8f2c073e00a47553a411d032d
'727b6378a8e3803c552ccae2c0d252eb8e79d213eabeecbd00bc25352cd0ffc6f53abaabf016688136822a65a76b2838f99e909931c21f49382934332446d1b4')
package() {
- install -d -m 755 "${pkgdir}/usr/bin/"
+ install -dm755 "${pkgdir}"/usr/bin/
+ install -Dm644 "${srcdir}"/${pkgname}.desktop "${pkgdir}"/usr/share/applications/${pkgname}.desktop
+ install -Dm755 "${srcdir}"/${pkgname}-${pkgver}/${pkgname} "${pkgdir}"/opt/${pkgname}/${pkgname}
- install -D -m 644 "${srcdir}/${pkgname}.desktop" "${pkgdir}/usr/share/applications/${pkgname}.desktop"
- install -D -m 755 "${srcdir}/${pkgname}-${pkgver}/${pkgname}" "${pkgdir}/opt/${pkgname}/${pkgname}"
-
- ln -s "/opt/${pkgname}/${pkgname}" "${pkgdir}/usr/bin/${pkgname}"
+ ln -s /opt/${pkgname}/${pkgname} "${pkgdir}"/usr/bin/${pkgname}
}