blob: e986bfb2f60d0fcb8cfdd6606c8aae0e804014a2 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
|
# Maintainer: Amin Vakil <info AT aminvakil DOT com>
# Contributor: Chris Severance aur.severach aATt spamgourmet dott com
# Contributor: Xavion <Xavion (dot) 0 (at) Gmail (dot) com>
# Contributor: Aliaksandr Stelmachonak <mail.avatar@gmail.com>
set -u
pkgname='zoiper-bin'
_pkgname='zoiper'
pkgver='5.6.4'
pkgrel='1'
pkgdesc='a SIP and IAX2 VoIP softphone'
arch=('i686' 'x86_64')
url='https://www.zoiper.com/'
license=('custom')
depends=('gtk2' 'libnotify' 'libxss' 'v4l-utils')
options=('!strip')
provides=('zoiper')
conflicts=('zoiper')
_srcfil="${_pkgname^}${pkgver%%.*}_${pkgver}_${CARCH:-}.tar.xz"
_url='https://www.zoiper.com/en/voip-softphone/download/zoiper5/for/linux'
DLAGENTS=("https::/usr/bin/curl --header Cookie:\ PHPSESSID= -fLJ --retry 3 --retry-delay 3 -o %o %u")
source=(
"${_srcfil}"::"${_url}"
'LICENSE' "${_pkgname}.desktop" "${_pkgname}.png" "${_pkgname}-24.png" "${_pkgname}-48.png" "${_pkgname}-96.png"
)
source+=('zoipdl.sh')
noextract=("${_srcfil}")
md5sums=('e4308004f454e7d7947aa13b6c67b1e6'
'af44d50f7be21acccbb3f70e831b57b9'
'1c77ec64b25899d3b027153da9a0a598'
'c11462ef768e78964c9771ef8ba9490f'
'd2a00d37c81be11e43c273b5b18e1c09'
'a2b638b39dd25ae029ec80ade53cd48b'
'b03e6d65d8b5e22566c20b9a34eb5b95'
'5ab0d7bbefdfc83470dedff4f5c51182')
sha256sums=('6580b56def253aa4603498ff2bd57ac54b7b8056a242bfa33887eb396a1ed4f2'
'4ed406e6786163514ff0714af7417e680c56cbe1edcb297196d6dbee2ffa798b'
'8d449a3f15d0a1f6307106bcb5f62ec8f921ba2279d5d42042bd0d2beb08f103'
'b3dd0f8bb4314444177b122d032142459cba606b8f7812a8489d3cbbf83f2b3b'
'79bac289dba2ed8bc65886643ba6aaf1a5057ed1ff5605a0eac166d7f4afd0b8'
'5a795b8248a576a7166e7f4d773f83a41a640d698917a35eb8bfa7eef7c4bfcc'
'619466b96c560fbd2511c04120810f0cb30a58aa12d5bcca2af977bcd527fb41'
'68627904f73617d145a91439f267f5c43d95f9dac10a3d4a8069b5460ddb3c8c')
package() {
set -u
install -d "${pkgdir}/usr/lib"
pushd "${pkgdir}/usr/lib" > /dev/null
set +u; msg2 "Unpack ${_srcfil}"; set -u
bsdtar --no-same-owner -xf "${startdir}/${_srcfil}"
mv "Zoiper${pkgver%%.*}" "${_pkgname}"
pushd "${_pkgname}" > /dev/null
chmod 755 "${_pkgname}"
chmod 644 *.pak */*.pak *.bin *.dat
popd > /dev/null
popd > /dev/null
install -d "${pkgdir}/usr/bin"
ln -s "../lib/${_pkgname}/${_pkgname}" -t "${pkgdir}/usr/bin/"
install -Dpm644 "${_pkgname}.png" "${_pkgname}-24.png" "${_pkgname}-48.png" "${_pkgname}-96.png" -t "${pkgdir}/usr/share/pixmaps/"
install -Dpm644 "${_pkgname}.desktop" -t "${pkgdir}/usr/share/applications/"
install -Dpm644 'LICENSE' -t "${pkgdir}/usr/share/licenses/${_pkgname}/"
set +u
}
set +u
|