updated on Sun Jan 15 20:01:04 UTC 2012
[aur-mirror.git] / zoiper / PKGBUILD
blob33e01ce67bd5c696b85de517a38d2bf1edc7d6c7
1 # Contributor: Aliaksandr Stelmachonak <mail.avatar@gmail.com>
3 pkgname=zoiper
4 pkgver=2.18
5 _minorver=18
6 pkgrel=1
7 pkgdesc="Zoiper is an IAX and SIP softphone"
8 arch=('i686' 'x86_64')
9 url="http://www.zoiper.com/"
10 license=('custom')
11 source=(http://www.zoiper.com/downloads/free/linux/zoiper2${_minorver}-linux.tar.gz 'LICENSE' 'zoiper.desktop' 
12 'zoiper.png')
13 depends=('gtk2' 'alsa-lib' 'libxdamage')
14 [ "$CARCH" = "x86_64" ] && depends=('lib32-gtk2' 'lib32-libxdamage' 'lib32-alsa-lib')
15 md5sums=('5c324167f562a46ec8eb04279add31b3'
16          'c3065ed7094166dac25cb810185385b5'
17          'c4fc2362dd013496935d46736c4fc192'
18          'c5c3ca425f90837d581996314821de80')
19                   
20 build() {
21         install -d ${pkgdir}/usr/bin \
22                 ${pkgdir}/usr/share/{applications,pixmaps} \
23                 ${pkgdir}/usr/share/licenses/${pkgname} || return 1
24         # installing binary, icon, desktop and license files
25         install -m644 ${srcdir}/${pkgname}.png ${pkgdir}/usr/share/pixmaps/${pkgname}.png
26         install -m644 ${srcdir}/${pkgname}.desktop ${pkgdir}/usr/share/applications/${pkgname}.desktop
27         install -D -m 644 ${srcdir}/LICENSE ${pkgdir}/usr/share/licenses/${pkgname}/LICENSE
28         install -m755 ${srcdir}/${pkgname} ${pkgdir}/usr/bin/${pkgname}