summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorweearc2019-01-18 03:44:41 +0800
committerweearc2019-01-18 03:44:41 +0800
commitc59d6bda7cf4364a1e31d7ccee4cd7dfc364e064 (patch)
tree9db0bab51e2780e118e66ee259003afab593aad8
parentb3917363e2fad299514b9573a8a5ad20ca7e836e (diff)
downloadaur-c59d6bda7cf4364a1e31d7ccee4cd7dfc364e064.tar.gz
fix errors
-rw-r--r--PKGBUILD4
1 files changed, 2 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index fb34447f3ba..6e3c5b47a96 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 -Dm644 ${srcdir}/$_pkgname/build/256x256.png ${pkgdir}/usr/share/icons/$_pkgname.png
+ 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 Motrix.desktop ${pkgdir}/usr/share/applications
+ install -Dm 644 ${srcdir}/Motrix.desktop ${pkgdir}/usr/share/applications
}