summaryrefslogtreecommitdiff
path: root/unmaintained/acf-provisioning-snom/APKBUILD
blob: 3548bdbe937aedb4403ea3f8382f827ee1f57423 (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
# Contributor: Ted Trask <ttrask01@yahoo.com>
# Maintainer: Ted Trask <ttrask01@yahoo.com>
pkgname=acf-provisioning-snom
pkgver=8.4.32
pkgrel=1
pkgdesc="Files for provisioning Snom IP phones"
url="http://snom.com/"
arch="noarch"
license="AS-IS"
depends=""
makedepends=""
source="http://downloads.snom.com/fw/snom300-$pkgver-SIP-f.bin
http://downloads.snom.com/fw/snom320-$pkgver-SIP-f.bin
http://downloads.snom.com/fw/snom360-$pkgver-SIP-f.bin
http://downloads.snom.com/fw/snom370-$pkgver-SIP-f.bin
http://fox.snom.com/config/snomlang-$pkgver.zip
snom300-firmware.htm
snom320-firmware.htm
snom360-firmware.htm
snom370-firmware.htm"
subpackages=""

prepare() {
	local i
	cd "$srcdir"
	for i in $source; do
		case $i in
		*.htm) sed -i "s/\$pkgver/$pkgver/" $i || return 1;;
		esac
	done
}

package() {
	cd "$srcdir"
	mkdir -p "$pkgdir"/var/www/provisioning/htdocs/snom
	cp *.htm *.bin *.xml "$pkgdir"/var/www/provisioning/htdocs/snom
}

sha512sums="a8d35c9b3ff14ba551d64a36b83d4123a71c68eea4b398887440576cebc08c24c3eb5033ea5e0c54ea62b23b05e57d88f65b13ddc3cc60fb7d7af1107dce15d3  snom300-8.4.32-SIP-f.bin
df29be63714ad69c57f3944a476809253c7026354a6f92f3d8e8cb8d5b414d6022d1cf08e36f80b40bcf830d90f3b7b33284145951a9de4910a1e16b9440cf6f  snom320-8.4.32-SIP-f.bin
785d72a851831a024d3b4b0fa4b18b739c5b4d7b806806619edededc46c8284b520ad669f06a358f55bd68d787de052ac96bd371fcc1c04777a188235c925bb5  snom360-8.4.32-SIP-f.bin
9ed903f988d7dbe1edbfe1d98ba697312577880d9d7eede4bdbaeb6ea988b7689e270ff3df0cabf8c3e20cf340a90f32ee309766ec11750a758165e6b3fc5d0a  snom370-8.4.32-SIP-f.bin
9291834857b58d6ca6c5b02fc765e415e1e90693aa349195f939ef1c70967d43cae9a27841f2660ade43b316aa137d8c2a97c60fb8a635a18fd263dc2e187490  snomlang-8.4.32.zip
6768b7efa3f2c4d71ebcd811986a29e9dc38e5e709650cff5f221187385810a432eaac2aa6ebaf0495ddcbbdc45244ee7e746fd02629973645236f9ae8083d6f  snom300-firmware.htm
994983b75f7f0a9eae8e628e6cd52d988d645a6beae53bf61ef597ae513da44c36b2670819a3351bee66c094efaa9aa94612b3a5609586b84f884e9e30fc6d05  snom320-firmware.htm
9b550e8403d6faa565b922b21fa9bb62eadfeb2fd1024d1df6b7fa3717dabfed52349668c9101a241bf0dcf4a6d61336ec402cc31e971c7d42dd4b0506770227  snom360-firmware.htm
a1a1606c1ea67a300825c0d03548b1a2bd6c225369d1b5a734b153967b9f1fff3eca9e48c5bfce7eebc5a36c2f3b2f7d1edf978d678abd71d22c32395bb75dcc  snom370-firmware.htm"