diff options
author | weearc | 2019-02-17 15:33:36 +0800 |
---|---|---|
committer | weearc | 2019-02-17 15:33:36 +0800 |
commit | 235ec4009ebdd44662571ecd92b96a6a3b97e73a (patch) | |
tree | 6dfb2a9852cbd62c7c6b6dda2fb059d62621c056 /PKGBUILD | |
parent | d3d05e8fc00ad7e4bc237636dee85ed17a210a8f (diff) | |
download | aur-235ec4009ebdd44662571ecd92b96a6a3b97e73a.tar.gz |
update exec file
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 9 |
1 files changed, 6 insertions, 3 deletions
@@ -25,10 +25,12 @@ install= changelog= source=("Motrix.desktop" "aria2.conf" + "motrix" "Motrix.tar.gz"::"https://github.com/agalwood/Motrix/archive/v$_pkgver.tar.gz") noextract=() md5sums=('SKIP' 'SKIP' + 'SKIP' 'SKIP') validpgpkeys=() @@ -61,10 +63,11 @@ package() { 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 - echo -e "#!/bin/bash \n /opt/motrix/motrix" >> ${pkgdir}/usr/bin/motrix - chmod a+x ${pkgdir}/usr/bin/motrix +# echo -e "#!/bin/bash \n /opt/motrix/motrix" >> ${pkgdir}/usr/bin/motrix + install -Dm 777 ${srcdir}/motrix ${pkgdir}/usr/bin +# 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 + rm ${pkgdir}/opt/motrix/resources/engine/aria2.conf install -Dm 644 ${srcdir}/aria2.conf ${pkgdir}/opt/motrix/resources/engine/aria2.conf # ln -s /usr/bin/aria2c ${pkgdir}/opt/motrix/reources/engine/aria2 rm -rf ${srcdir} |