1 # Maintainer: d'Ronin <daronin@2600.com>
2 # Contributors: judfilm <jud@judfilm.net>
7 pkgdesc="Full-featured PBX web application for Asterisk"
8 url="http://www.freepbx.org/"
11 depends=('alsa-lib' 'speex' 'popt' 'zaptel' 'libvorbis'
12 'curl' 'mysql' 'asterisk' 'asterisk-addons' 'apache' 'php' 'perl')
13 makedepends=('postgresql' 'unixodbc' 'sqlite3')
14 install=($pkgname.install)
15 source=(http://mirror.freepbx.org/$pkgname-$pkgver.tar.gz
17 md5sums=('0602d0bec262d06c0cb85a19809352ae'
18 '9ea6c2b8b0e2513c1319c7ca31b49cdf')
21 cd $srcdir/$pkgname-$pkgver
22 install -D -d -m 755 $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel
24 cp -r docs $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
25 cp -r amp_conf $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
26 cp -r buildtools $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
27 cp -r SQL $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
28 cp -r upgrades $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
30 install -D -m644 LICENSE $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
31 install -D -m644 amportal.conf $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
32 install -D -m755 apply_conf.sh $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
33 install -D -m644 freepbx.pot $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
34 install -D -m755 $startdir/install_amp $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
35 install -D -m755 libfreepbx.install.php $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
36 install -D -m755 setup_svn.php $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/
37 install -D -m755 update_l10n.sh $pkgdir/usr/src/$pkgname-$pkgver-$pkgrel/