1 # Maintainer: dieyushi <zzscu@live.com>
6 pkgdesc="Instant messaging software from Tencent Inc based on Adobe Air."
8 url="http://im.qq.com/webqq/"
10 if [ "$CARCH" == "x86_64" ]; then
11 depends=('bin32-adobe-air' 'lib32-nss')
16 source=(http://dl_dir.qq.com/qqfile/web/webqq/WebQQ.air webqq webqq.desktop)
17 md5sums=('7aeeeefbcc2f3b4b1895b41bdbf9f4ae'
18 '4eb475ae39d2a585218142d52406ef3f'
19 'e4bb6a6a15d83021013b43bd6d7707e6')
24 install -d ${pkgdir}/{usr/{bin,share/{applications,icons/${pkgname}}},opt/${pkgname}}
26 install -Dm644 res/webqq/128.png ${pkgdir}/usr/share/icons/${pkgname}/
27 install -Dm644 WebQQ.air ${pkgdir}/opt/${pkgname}/
29 install -Dm644 ${pkgname}.desktop ${pkgdir}/usr/share/applications/
30 install -Dm755 ${pkgname} ${pkgdir}/usr/bin/${pkgname}