summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweearc2019-01-18 03:51:37 +0800
committerweearc2019-01-18 03:51:37 +0800
commit8d7493b66bf6b0462cacea665f6c97f80bec75ef (patch)
tree5b7693fdb9870e98b9cf563fa14ddfc89863f735
parentc59d6bda7cf4364a1e31d7ccee4cd7dfc364e064 (diff)
downloadaur-8d7493b66bf6b0462cacea665f6c97f80bec75ef.tar.gz
fix errors
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 6e3c5b47a96..8bc5c22a3af 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -46,8 +46,8 @@ package() {
install -d ${pkgdir}/usr/share/icons
install -d ${pkgdir}/usr/share/applications
mv ${srcdir}/$_pkgname/release/linux-unpacked/ ${pkgdir}/opt/motrix
- install -m ${srcdir}/$_pkgname/build/256x256.png ${pkgdir}/usr/share/icons/$_pkgname.png
- echo -e "#!/bin/bash \n /opt/motrix/motrix" >> ${pkgdir}/usr/bin/motrix
+ install -Dm 644 ${srcdir}/$_pkgname/build/256x256.png ${pkgdir}/usr/share/icons/motrix.png
+ echo -e "#!/bin/bash \n /opt/motrix/motrix" > ${pkgdir}/usr/bin/motrix
chmod a+x ${pkgdir}/usr/bin/motrix
install -Dm 644 ${srcdir}/Motrix.desktop ${pkgdir}/usr/share/applications
}