summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorredchenjs2019-07-05 10:30:01 +0800
committerredchenjs2019-07-05 10:30:01 +0800
commitdc2e8f6a365fa470ff301bf88c90ffff1505dc2f (patch)
treed40108f5c4026ced49f11032023ae69862ed1912
parent6d2408d4d08f6571cb78e8c5a4e8d8c7123dd046 (diff)
downloadaur-dc2e8f6a365fa470ff301bf88c90ffff1505dc2f.tar.gz
update to 4.0.31
-rw-r--r--.SRCINFO15
-rw-r--r--PKGBUILD30
2 files changed, 21 insertions, 24 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 51ae6740f7d..761d3a3d628 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,15 +1,20 @@
pkgbase = mitalk
pkgdesc = MiTalk Messenger
- pkgver = 4.0.21
+ pkgver = 4.0.31
pkgrel = 1
url = http://www.miliao.com/
arch = x86_64
license = custom
- makedepends = p7zip
- makedepends = sed
+ depends = gconf
+ depends = libnotify
+ depends = libappindicator-gtk2
+ depends = libappindicator-gtk3
+ depends = libxtst
+ depends = nss
+ depends = libxss
depends = xorg-xrandr
- source = https://s1.zb.mi.com/miliao/apk/miliao/7.4/MiTalk_4.0.21.AppImage
- md5sums = 20f61c47978d7ac0bb8f833244c96be6
+ source = https://s1.zb.mi.com/miliao/apk/miliao/7.4/MiTalk_4.0.31.deb
+ md5sums = 52ef5805448d581b048c8bbb5e896218
pkgname = mitalk
diff --git a/PKGBUILD b/PKGBUILD
index 98a0ac19c4c..5289ad03125 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,37 +1,29 @@
# Maintainer: Jack Chen <redchenjs@live.com>
pkgname=mitalk
-pkgver=4.0.21
+pkgver=4.0.31
pkgrel=1
pkgdesc="MiTalk Messenger"
arch=('x86_64')
url="http://www.miliao.com/"
license=('custom')
-makedepends=(
- 'p7zip'
- 'sed'
-)
depends=(
+ 'gconf'
+ 'libnotify'
+ 'libappindicator-gtk2'
+ 'libappindicator-gtk3'
+ 'libxtst'
+ 'nss'
+ 'libxss'
'xorg-xrandr'
)
source=(
- 'https://s1.zb.mi.com/miliao/apk/miliao/7.4/MiTalk_'${pkgver}'.AppImage'
+ 'https://s1.zb.mi.com/miliao/apk/miliao/7.4/MiTalk_'${pkgver}'.deb'
)
md5sums=(
- '20f61c47978d7ac0bb8f833244c96be6'
+ '52ef5805448d581b048c8bbb5e896218'
)
package() {
- 7z x MiTalk_"${pkgver}".AppImage -o"${pkgdir}"/opt/mitalk/
-
- chmod -R 755 "${pkgdir}"/opt/
-
- mkdir -p "${pkgdir}"/usr/
- mv "${pkgdir}"/opt/mitalk/usr/share/ "${pkgdir}"/usr/
-
- sed -i "s/Exec=AppRun/Exec=\/opt\/mitalk\/AppRun/g" "${pkgdir}"/opt/mitalk/mitalk.desktop
- install -Dm644 "${pkgdir}"/opt/mitalk/mitalk.desktop "${pkgdir}"/usr/share/applications/mitalk.desktop
-
- rm "${pkgdir}"/opt/mitalk/mitalk.png
- rm "${pkgdir}"/opt/mitalk/mitalk.desktop
+ tar -xf "${srcdir}"/data.tar.xz -C "${pkgdir}"/
}