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
11 pkgdesc="A voice changer module for Asterisk"
12 arch=('i686' 'x86_64')
13 url="http://lobstertech.com/code/voicechanger/"
15 depends=('asterisk' 'soundtouch4c')
17 source=(http://lobstertech.com/media/file/voicechanger/$_realname-$pkgver.tar.gz makefile.inc.patch)
19 md5sums=('96158291d876b01d25c5205832996115'
20 'cc5504b0fff08a464c23037f1e8efcdb')
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
29 make PREFIX="$pkgdir/usr" install