diff options
author | weearc | 2020-01-07 23:32:59 +0800 |
---|---|---|
committer | weearc | 2020-01-07 23:32:59 +0800 |
commit | e4dc67d50d052729ba5d0919c67dd54c719bafaa (patch) | |
tree | d39a9a308675e701063baa0c31a633255bae93d2 | |
parent | f6151f1e286ab9973123bfbcab4d2d3aad8d6fb9 (diff) | |
download | aur-tencentvideo.tar.gz |
update src info
-rw-r--r-- | PKGBUILD | 27 |
1 files changed, 12 insertions, 15 deletions
@@ -35,18 +35,16 @@ validpgpkeys=() prepare() { cd ${srcdir}/ mv opt/$_pkgname opt/tencentvideo - echo " - [Desktop Entry] - Name=tencentvideo - Name[zh_CN]=$_pkgname - Exec=/usr/bin/tencentvideo %U - Terminal=false - Type=Application - Icon=TencentVideo - Comment= - Comment[zh_CN]=不负好时光 - Categories=AudioVideo; - " > usr/share/applications/TencentVideo.desktop + echo "[Desktop Entry] +Name=tencentvideo +Name[zh_CN]=$_pkgname +Exec=/usr/bin/tencentvideo %U +Terminal=false +Type=Application +Icon=TencentVideo +Comment= +Comment[zh_CN]=不负好时光 +Categories=AudioVideo;" > usr/share/applications/TencentVideo.desktop } @@ -57,9 +55,8 @@ package() { install -d ${pkgdir}/usr/share/applications install -d ${pkgdir}/usr/share/licenses - echo " - electron /opt/tencentvideo/app.asar \$@ - " > ${pkgdir}/usr/bin/tencentvideo && chmod a+x ${pkgdir}/usr/bin/tencentvideo + echo "#!/bin/bash +electron /opt/tencentvideo/app.asar \$@" > ${pkgdir}/usr/bin/tencentvideo && chmod a+x ${pkgdir}/usr/bin/tencentvideo mkdir ${pkgdir}/opt/tencentvideo install -Dm644 ${srcdir}/opt/tencentvideo/resources/app.asar ${pkgdir}/opt/tencentvideo/app.asar |