summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorJack Chen2019-10-31 18:12:41 +0800
committerJack Chen2019-10-31 18:15:33 +0800
commitbfedb0d25a826097ccb8e335d3b99c4a891434a5 (patch)
tree8bce08d6402880451101f60e77ae69743d61b584
parent9372f26f38417afc245828d54092f4ccdeebf287 (diff)
downloadaur-bfedb0d25a826097ccb8e335d3b99c4a891434a5.tar.gz
update depends & script format
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD23
2 files changed, 11 insertions, 21 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 6a07d634b53..7dde5853213 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,16 +5,11 @@ pkgbase = mitalk
url = http://www.miliao.com/
arch = x86_64
license = custom
- depends = gconf
- depends = libnotify
- depends = libappindicator-gtk2
- depends = libappindicator-gtk3
- depends = libxtst
+ depends = gtk3
depends = nss
depends = libxss
- depends = xorg-xrandr
source = https://s1.zb.mi.com/miliao/apk/miliao/8.8/MiTalk_4.0.91.deb
- md5sums = b1fb4b9a758c5f1017405a859de9cefd
+ sha512sums = 2de3919d555cfdcd653e9ef4d54ec6ac5c484f2f4149b656f58e17168911ccd61f6d7098f20c8b3e71eecc619b518f855331c5cabf2310cafb77ddb4a3e0d84c
pkgname = mitalk
diff --git a/PKGBUILD b/PKGBUILD
index adf6f949a7e..4abc2d9f585 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,30 +4,25 @@
pkgname=mitalk
pkgver=4.0.91
pkgrel=2
-pkgdesc='MiTalk Messenger'
+pkgdesc="MiTalk Messenger"
arch=('x86_64')
-url='http://www.miliao.com/'
+url="http://www.miliao.com/"
license=('custom')
depends=(
- 'gconf'
- 'libnotify'
- 'libappindicator-gtk2'
- 'libappindicator-gtk3'
- 'libxtst'
+ 'gtk3'
'nss'
'libxss'
- 'xorg-xrandr'
)
source=(
- 'https://s1.zb.mi.com/miliao/apk/miliao/8.8/MiTalk_'${pkgver}'.deb'
+ "https://s1.zb.mi.com/miliao/apk/miliao/8.8/MiTalk_$pkgver.deb"
)
-md5sums=(
- 'b1fb4b9a758c5f1017405a859de9cefd'
+sha512sums=(
+ '2de3919d555cfdcd653e9ef4d54ec6ac5c484f2f4149b656f58e17168911ccd61f6d7098f20c8b3e71eecc619b518f855331c5cabf2310cafb77ddb4a3e0d84c'
)
package() {
- tar -xf ${srcdir}/data.tar.xz -C ${pkgdir}/
+ tar -xf "$srcdir/data.tar.xz" -C "$pkgdir/"
- mkdir -p ${pkgdir}/usr/bin
- ln -s /opt/MiTalk/mitalk ${pkgdir}/usr/bin/mitalk
+ mkdir -p "$pkgdir/usr/bin"
+ ln -s /opt/MiTalk/mitalk "$pkgdir/usr/bin/mitalk"
}