aboutsummaryrefslogtreecommitdiffstats
path: root/testing/acf-provisioning-polycom4.0.3f
diff options
context:
space:
mode:
authorMika Havela <mika.havela@gmail.com>2013-11-18 10:29:09 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2013-11-18 10:35:17 +0000
commit037f8823d74ad9e5b59cf68302cebdd51d89148f (patch)
treebef901696fec955a56fce75dbe853320ff36d987 /testing/acf-provisioning-polycom4.0.3f
parenteef72b99953b0001f7f841462d69c141441d5b31 (diff)
downloadaports-037f8823d74ad9e5b59cf68302cebdd51d89148f.tar.bz2
aports-037f8823d74ad9e5b59cf68302cebdd51d89148f.tar.xz
testing/acf-provisioning-polycom4.0.3f: Removing duplicate 'package()' functions from APKBUILD.
Diffstat (limited to 'testing/acf-provisioning-polycom4.0.3f')
-rw-r--r--testing/acf-provisioning-polycom4.0.3f/APKBUILD10
1 files changed, 2 insertions, 8 deletions
diff --git a/testing/acf-provisioning-polycom4.0.3f/APKBUILD b/testing/acf-provisioning-polycom4.0.3f/APKBUILD
index 7ed0895e57..dfe0f3375f 100644
--- a/testing/acf-provisioning-polycom4.0.3f/APKBUILD
+++ b/testing/acf-provisioning-polycom4.0.3f/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: Mika Havela <mika.havela@gmail.com>
pkgname=acf-provisioning-polycom4.0.3f
pkgver=0
-pkgrel=1
+pkgrel=2
pkgdesc="Files for provisioning Polycom IP phones"
url="http://www.polycom.com/products/voice/index.html"
arch="noarch"
@@ -55,19 +55,13 @@ prepare() {
done
}
-package() {
- cd "$_builddir"
- link_dupes "$_builddir"
- mkdir -p "$pkgdir"/var/www/provisioning/htdocs
- cp -r *.ld "$pkgdir"/var/www/provisioning/htdocs
- echo "$pkgname-$pkgver-r$pkgrel" > "$pkgdir"/var/www/provisioning/htdocs/version
-}
package() {
cd "$_builddir"
link_dupes "$_builddir" || return 1
mkdir -p "$pkgdir"/var/www/provisioning/htdocs/Polycom
mkdir -p "$pkgdir"/var/www/provisioning/htdocs/log
+ echo "$pkgname-$pkgver-r$pkgrel" > "$pkgdir"/var/www/provisioning/htdocs/Polycom/package-version
cp -r *.ld *.wav SoundPointIPLocalization 000000000000.cfg "$pkgdir"/var/www/provisioning/htdocs
cp 000000000000-directory.xml 000000000000-phone.cfg 000000000000-web.cfg "$pkgdir"/var/www/provisioning/htdocs/Polycom
}