summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredchenjs2019-06-22 00:58:22 +0800
committerredchenjs2019-06-22 00:58:22 +0800
commit926d3b00c7d9cd1b0d798f978e9d1ec1be0f6263 (patch)
tree328cf40d5d9c8e171eaaac0f60935a68a5d942b1
parent17ce8ee8cb3bfe85b55d7833321c025a9461258c (diff)
downloadaur-926d3b00c7d9cd1b0d798f978e9d1ec1be0f6263.tar.gz
minor fixes
-rw-r--r--PKGBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/PKGBUILD b/PKGBUILD
index aabaad9be33..8fe29384aa3 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -22,9 +22,11 @@ md5sums=(
package() {
7z x mitalk.appimage -o"${pkgdir}"/opt/mitalk/
+ chmod 755 "${pkgdir}"/opt/mitalk/米聊
+ chmod 755 "${pkgdir}"/opt/mitalk/AppRun
+
chmod 755 "${pkgdir}"/opt/
chmod 755 "${pkgdir}"/opt/mitalk/
- chmod 755 "${pkgdir}"/opt/mitalk/米聊
chmod 755 "${pkgdir}"/opt/mitalk/lib/
chmod 755 "${pkgdir}"/opt/mitalk/usr/
chmod 755 "${pkgdir}"/opt/mitalk/usr/lib/
@@ -39,15 +41,13 @@ package() {
"${pkgdir}"/usr/share/icons/hicolor/$i/apps/mitalk.png
done
- mv "${pkgdir}"/opt/mitalk/米聊 "${pkgdir}"/opt/mitalk/mitalk
-
sed -i "s/Icon=米聊/Icon=mitalk/" "${pkgdir}"/opt/mitalk/米聊.desktop
- sed -i "s/Exec=AppRun/Exec=\/opt\/mitalk\/mitalk/" "${pkgdir}"/opt/mitalk/米聊.desktop
+ sed -i "s/Exec=AppRun/Exec=\/opt\/mitalk\/AppRun/" "${pkgdir}"/opt/mitalk/米聊.desktop
install -Dm644 "${pkgdir}"/opt/mitalk/米聊.desktop "${pkgdir}"/usr/share/applications/mitalk.desktop
- rm "${pkgdir}"/opt/mitalk/米聊.*
- rm "${pkgdir}"/opt/mitalk/AppRun
+ rm "${pkgdir}"/opt/mitalk/米聊.png
+ rm "${pkgdir}"/opt/mitalk/米聊.desktop
rm -r "${pkgdir}"/opt/mitalk/usr/share/
rm -r "${pkgdir}"/opt/mitalk/resources/app.asar.unpacked/