Commit 037f8823 authored by Mika Havela's avatar Mika Havela Committed by Natanael Copa

testing/acf-provisioning-polycom4.0.3f: Removing duplicate 'package()' functions from APKBUILD.

parent eef72b99
......@@ -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
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment