1 # Maintainer: Philipp Überbacher <murks@lavabit.com>
5 pkgdesc="Tk/CLI frontend for ecasound"
7 url="http://freeshell.de/~bolangi/cgi1/nama.cgi/00home.html"
8 license=('PerlArtistic' 'GPL')
9 depends=('perl>=5.10.0' 'ladspa' 'ecasound' 'perl-anyevent>=5'
10 'perl-event' 'perl-parse-recdescent' 'perl-data-section'
11 'perl-file-find-rule' 'perl-modern-perl' 'perl-term-readline-gnu'
12 'perl-file-homedir' 'perl-yaml-tiny' 'perl-file-slurp'
13 'perl-file-copy-link' 'perl-graph' 'perl-text-format'
14 'perl-params-util' 'perl-audio-ecasound' 'perl-tk'
15 'perl-text-template' 'perl-io-all')
16 provides=('perl-audio-nama' 'nama')
21 _gitroot="git://github.com/bolangi/nama.git"
27 msg "Connecting to GIT server...."
29 if [ -d ${_gitname} ] ; then
30 cd ${_gitname} && git pull origin
31 msg "The local files are updated."
33 git clone ${_gitroot} ${_gitname}
36 msg "GIT checkout done or server timeout"
37 msg "Starting make..."
39 rm -rf "${srcdir}/${_gitname}-build"
40 cp -r "${srcdir}/${_gitname}" "${srcdir}/${_gitname}-build"
42 cd "${srcdir}/${_gitname}-build"
43 # git checkout --track -b ${_gitbranch} origin/${_gitbranch}
47 # Setting these env variables overwrites any command-line-options we don't want...
49 export PERL_MM_USE_DEFAULT=1 PERL_AUTOINSTALL=--skipdeps \
50 PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \
51 PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \
52 MODULEBUILDRC=/dev/null
59 msg "Perl, make me a nama..."
62 # If using Makefile.PL
68 # remove perllocal.pod and .packlist
69 find "$pkgdir" -name .packlist -o -name perllocal.pod -delete