summaryrefslogtreecommitdiff
path: root/social/asterisk/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'social/asterisk/PKGBUILD')
-rw-r--r--social/asterisk/PKGBUILD10
1 files changed, 5 insertions, 5 deletions
diff --git a/social/asterisk/PKGBUILD b/social/asterisk/PKGBUILD
index 896d5bacf..fe8204d0a 100644
--- a/social/asterisk/PKGBUILD
+++ b/social/asterisk/PKGBUILD
@@ -1,7 +1,7 @@
# Contributor: Alessio Biancalana <dottorblaster@gmail.com>
pkgname=asterisk
-pkgver=10.9.0
+pkgver=11.0.1
pkgrel=1
pkgdesc="A complete PBX solution"
arch=('i686' 'x86_64')
@@ -15,20 +15,20 @@ source=(http://downloads.asterisk.org/pub/telephony/asterisk/releases/asterisk-$
asterisk \
asterisk.logrotated)
install=$pkgname.install
-md5sums=('2fb85dc753584ac13692c27f9749c6cb'
+md5sums=('3e80a5cef7b0f8808578efcc84c39fd7'
'59146273738605f1e011d8e7bed3561a'
'486e07a0a1405ea25ec5b1736034653e')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var
- make
+ make || return 1
}
package(){
cd ${srcdir}/${pkgname}-${pkgver}
- make DESTDIR=${pkgdir} install
- make DESTDIR=${pkgdir} samples
+ make DESTDIR=${pkgdir} install || return 1
+ make DESTDIR=${pkgdir} samples || return 1
(cd ${pkgdir}/etc/asterisk
# for i in `ls`; do [ $i = "asterisk.conf" ] || mv $i $i.default; done