updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / umfg / PKGBUILD
blobd85318581e614dff04b0a62dfb7d40ccfb4df9c6
1 #Contributor:figo.zhang <figo1802@gmail.com>
3 pkgname=umfg
4 pkgver=1.0.1
5 pkgrel=1
6 pkgdesc="ipmsg in China"
7 arch=('i686')
8 url="http://www.ipmsg.org.cn/"
9 license=('custom')
10 makedepends=()
11 depends=('qt' 'libjpeg')
12 conflicts=()
13 provides=('')
15 source=(http://www.ipmsg.org.cn/linux/UMFG_Linux_NeedQT.tar.gz umfg.png)
16 md5sums=(2ee5d520969142027648b6a5a6981ff6
17          469671e977618b8598b05c2b07091661)
21 build() {
22         cd $srcdir
23         mkdir -p ${startdir}/pkg/opt/UMFG;
24         cp -R $srcdir/QIpmsg ${startdir}/pkg/opt/UMFG ;
26         mkdir -p $pkgdir/usr/share/umfg
27         install -m 644 $srcdir/umfg.png $pkgdir/usr/share/umfg/
29         chmod 777 -R ${startdir}/pkg/opt/UMFG/;
31         mkdir -p $pkgdir/usr/share/applications
32 echo "[Desktop Entry]
33 Type=Application
34 Version=1.0.1
35 Name=UM IpMSG
36 Name[zh_CN]=·É¸ë´«Êé
37 Comment=UM IpMSG
38 Icon=/usr/share/umfg/umfg.png
39 Exec=/opt/UMFG/QIpmsg
40 Categories=Application;Network;
41 Terminal=false
42 Path=/opt/QSheng-stock" > $pkgdir/usr/share/applications/UMFG_linux.desktop
43   chmod 755 $pkgdir/usr/share/applications/UMFG_linux.desktop
46