summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorGoliathLabs2020-04-26 13:59:44 +0200
committerGoliathLabs2020-04-26 13:59:44 +0200
commite4ca9f4a44021d070ff150ccd554fd35191ed022 (patch)
treef361e0e7a229266f91ecc37d8df61bd78786437d /PKGBUILD
parentbfcc997cfbdc56db965228e8b42806dfab4ec4b6 (diff)
downloadaur-e4ca9f4a44021d070ff150ccd554fd35191ed022.tar.gz
Updated: PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD5
1 files changed, 3 insertions, 2 deletions
diff --git a/PKGBUILD b/PKGBUILD
index da1e4708dc34..d9cabc33e47f 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,8 +5,9 @@
# Contributor: Maik Broemme <mbroemme@libmpq.org>
pkgname=asterisk-cisco
+_pkgname=asterisk
pkgver=16.9.0
-pkgrel=2
+pkgrel=3
pkgdesc="A complete PBX solution. Includes the Cisco Presence patch for use with Cisco IP Phones"
provides=('asterisk')
conflicts=('asterisk')
@@ -82,7 +83,7 @@ package(){
make DESTDIR="$pkgdir" samples
# Note you must build the package before you can update meta data!
- backup+=($(cd "$pkgdir" && echo "etc/$pkgname/"*))
+ backup+=($(cd "$pkgdir" && echo "etc/$_pkgname/"*))
sed -i -e 's,/var/run,/run,' "$pkgdir/etc/asterisk/asterisk.conf"
install -Dm644 -t "$pkgdir/usr/share/doc/$pkgname/examples" "$pkgdir/etc/asterisk/"*