1 # Contributor: Aliaksandr Stelmachonak <mail.avatar@gmail.com>
7 pkgdesc="Zoiper is an IAX and SIP softphone"
9 url="http://www.zoiper.com/"
11 source=(http://www.zoiper.com/downloads/free/linux/zoiper2${_minorver}-linux.tar.gz 'LICENSE' 'zoiper.desktop'
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')
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}