updated on Wed Jan 25 20:08:56 UTC 2012
[aur-mirror.git] / asterisk-voicechanger / PKGBUILD
bloba2fd10e7227631345d4db3f66250dafd9653e702
1 # This is an example PKGBUILD file. Use this as a start to creating your own,
2 # and remove these comments. For more information, see 'man PKGBUILD'.
3 # NOTE: Please fill out the license field for your package! If it is unknown,
4 # then please put 'unknown'.
6 # Contributor: Your Name <youremail@domain.com>
7 pkgname=asterisk-voicechanger
8 _realname=voicechanger
9 pkgver=0.7
10 pkgrel=1
11 pkgdesc="A voice changer module for Asterisk"
12 arch=('i686' 'x86_64')
13 url="http://lobstertech.com/code/voicechanger/"
14 license=('other')
15 depends=('asterisk' 'soundtouch4c')
16 makedepends=()
17 source=(http://lobstertech.com/media/file/voicechanger/$_realname-$pkgver.tar.gz makefile.inc.patch)
19 md5sums=('96158291d876b01d25c5205832996115'
20          'cc5504b0fff08a464c23037f1e8efcdb')
23 build() {
24   cd "$srcdir/$_realname-$pkgver"
25   mkdir -p $pkgdir/usr/lib/asterisk/modules
26   cp $srcdir/makefile.inc.patch $srcdir/$_realname-$pkgver/makefile.inc.patch
27   patch Makefile.inc < makefile.inc.patch
28   make || return 1
29   make PREFIX="$pkgdir/usr" install