updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / ladspa-ringer / PKGBUILD
blob035ecc78fc3a8a0b48fe460925d3ae2a612d5d59
1 # Maintainer: Bernardo Barros <bernardobarros@gmail.com>
3 pkgname=ladspa-ringer
4 pkgver=20110215
5 pkgrel=1
6 pkgdesc="A LADSPA plugin that creates an effect similar to a ring modulator..."
7 arch=('i686' 'x86_64')
8 url="https://github.com/tgh/Revolution"
9 license=('GPL')
10 groups=('ladspa-plugins')
11 depends=('ladspa')
12 makedepends=('git')
14 _gitroot="git://github.com/tgh/Ringer.git"
15 _gitname="ringer"
17 build() {
18   cd "$srcdir"
19   msg "Connecting to GIT server...."
21   if [ -d $_gitname ] ; then
22     cd $_gitname && git pull origin
23     msg "The local files are updated."
24   else
25     git clone $_gitroot $_gitname
26   fi
28   msg "GIT checkout done or server timeout"
29   msg "Starting make..."
31   rm -rf "$srcdir/$_gitname-build"
32   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
33   cd "$srcdir/$_gitname-build"
35   make
38 package() {
39   mkdir -p $pkgdir/usr/lib/ladspa 
40   install -Dm755 $srcdir/$_gitname-build/*.so $pkgdir/usr/lib/ladspa
41