summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: adf6f949a7e20306d53f36396b27b608d2d9ade3 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
# Maintainer: Jack Chen <redchenjs@live.com>
# Maintainer: Leihu Xi <leihuxi@gmail.com>

pkgname=mitalk
pkgver=4.0.91
pkgrel=2
pkgdesc='MiTalk Messenger'
arch=('x86_64')
url='http://www.miliao.com/'
license=('custom')
depends=(
    'gconf'
    'libnotify'
    'libappindicator-gtk2'
    'libappindicator-gtk3'
    'libxtst'
    'nss'
    'libxss'
    'xorg-xrandr'
)
source=(
    'https://s1.zb.mi.com/miliao/apk/miliao/8.8/MiTalk_'${pkgver}'.deb'
)
md5sums=(
    'b1fb4b9a758c5f1017405a859de9cefd'
)

package() {
    tar -xf ${srcdir}/data.tar.xz -C ${pkgdir}/

    mkdir -p ${pkgdir}/usr/bin
    ln -s /opt/MiTalk/mitalk ${pkgdir}/usr/bin/mitalk
}