updated on Sat Jan 21 08:01:15 UTC 2012
[aur-mirror.git] / jacksms / PKGBUILD
blob637abe66cb87e1f5be17b38fd6b143ab798c1fc3
1 pkgname=jacksms
2 _corever=1.14
3 _ticppver=2.5.3
4 pkgver=1.2
5 pkgrel=2
6 pkgdesc="JackSMS is a software that sends SMS and MMS through internet"
7 url="http://jacksms.it/"
8 license=('other')
9 arch=('i686' 'x86_64')
10 depends=('qt' 'curl' 'p7zip' 'gtk2')
11 _arch=i386
12 [ "$CARCH" = "x86_64" ] && _arch=amd64
14 source=(http://download.opensuse.org/repositories/home:/grisson/xUbuntu_10.04/${_arch}/${pkgname}_${pkgver}_${_arch}.deb
15 http://download.opensuse.org/repositories/home:/grisson/xUbuntu_10.04/${_arch}/jacksmscore_${_corever}_${_arch}.deb
16 http://download.opensuse.org/repositories/home:/grisson/xUbuntu_10.04/${_arch}/libticpp-dev_${_ticppver}_${_arch}.deb)
19 md5sums=('c42a42f57957ec0e4cfffff8307120bd'
20          '1aa82913c826df8f913ea9d7b4bb65d7'
21          '72d8d584a184f23c8b8c79ed951bedb4')
24 [ "$CARCH" = "x86_64" ] && md5sums=('9794e431b4dc742aeab501e59d48a8bc' '9f1ea0bab2c2b1db4e6d38d2090c8c29' 
25 '86e3cb821830c8694c651ec8d61b269a')
27 build() {
28     ar vx  ${pkgname}_${pkgver}_${_arch}.deb
29     tar xvzf data.tar.gz
30     rm data.tar.gz 
31     rm control.tar.gz
33     ar vx  jacksmscore_${_corever}_${_arch}.deb
34     tar xvzf data.tar.gz
35     rm data.tar.gz 
36     rm control.tar.gz
38     ar vx  libticpp-dev_${_ticppver}_${_arch}.deb
39     tar xvzf data.tar.gz
40     rm data.tar.gz 
41     rm control.tar.gz
43     install -Dm 755 $srcdir/usr/bin/JackSms $pkgdir/usr/bin/JackSms
44     install -Dm 755 $srcdir/usr/bin/QtJackSMS $pkgdir/usr/bin/QtJackSMS
46     install -Dm 755 $srcdir/usr/lib/libticpp.a $pkgdir/usr/lib/libticpp.a
47     
48     install -Dm 755 $srcdir/usr/share/applications/jacksms.desktop \
49         $pkgdir/usr/share/applications/jacksms.desktop
50     install -Dm 755 $srcdir/usr/share/pixmaps/jacksms.png \
51         $pkgdir/usr/share/pixmaps/jacksms.png