updated on Wed Jan 11 08:01:35 UTC 2012
[aur-mirror.git] / webqq / PKGBUILD
blob756412a57bf8644c6903d1c89d2fddb63b78261c
1 # Maintainer: dieyushi <zzscu@live.com>
2 pkgname=webqq
3 pkgver=1.1.30
4 _pkgver=20110906
5 pkgrel=1
6 pkgdesc="Instant messaging software from Tencent Inc based on Adobe Air."
7 arch=('i686' 'x86_64')
8 url="http://im.qq.com/webqq/"
9 license=('unknown')
10 if [ "$CARCH" == "x86_64" ]; then
11     depends=('bin32-adobe-air' 'lib32-nss')
12 else
13     depends=('adobe-air')
15 makedepends=('unzip')
16 source=(http://dl_dir.qq.com/qqfile/web/webqq/WebQQ.air webqq webqq.desktop)
17 md5sums=('7aeeeefbcc2f3b4b1895b41bdbf9f4ae'
18          '4eb475ae39d2a585218142d52406ef3f'
19          'e4bb6a6a15d83021013b43bd6d7707e6')
21 package()
23         cd ${srcdir}
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}