summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweearc2019-01-20 01:55:38 +0800
committerweearc2019-01-20 01:55:38 +0800
commit5de78572951a80a3cf477f3f60d88ed9dc055069 (patch)
tree32d41a0fbfa0dcf13385b3cbf67aeefa34e73639
parent2cc50eb87f605aaeb365ed8ffb28ca4b2ffab7ff (diff)
downloadaur-5de78572951a80a3cf477f3f60d88ed9dc055069.tar.gz
Revert "fix errors"
This reverts commit 8d7493b66bf6b0462cacea665f6c97f80bec75ef.
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index d75a2cdf07c..489016a5eda 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -51,8 +51,8 @@ package() {
install -d ${pkgdir}/usr/share/icons
install -d ${pkgdir}/usr/share/applications
mv ${srcdir}/$_pkgname/release/linux-unpacked/ ${pkgdir}/opt/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
+ 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
chmod a+x ${pkgdir}/usr/bin/motrix
install -Dm 644 ${srcdir}/Motrix.desktop ${pkgdir}/usr/share/applications
# rm ${pkgdir}/opt/motrix/resources/engine/aria2.conf