diff options
author | John D Jones III | 2015-06-16 15:33:00 -0600 |
---|---|---|
committer | John D Jones III | 2015-06-16 15:33:00 -0600 |
commit | 8e941ffca21b6b562f3f9497dc3cb66ef3a1cc0e (patch) | |
tree | 36d41f8457410c34ce01f0a99127d59d8da6faa8 | |
download | aur-8e941ffca21b6b562f3f9497dc3cb66ef3a1cc0e.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 16 | ||||
-rw-r--r-- | PKGBUILD | 49 |
2 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..0728498c3128 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,16 @@ +pkgbase = perl-music-chord-positions + pkgdesc = generate various chord inversions and voicings + pkgver = 0.63 + pkgrel = 1 + url = http://search.mcpan.org/dist/Music-Chord-Positions + arch = any + license = PerlArtistic + license = GPL + depends = perl-music-chord-note + depends = perl + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/J/JM/JMATES/Music-Chord-Positions-0.63.tar.gz + md5sums = a9d604256f7cf08d2785ddd4684f82b6 + +pkgname = perl-music-chord-positions + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..96030636f9aa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,49 @@ +# Contributor: John D Jones III <jnbek1972 -_AT_- g m a i l -_Dot_- com> +# Generator : CPANPLUS::Dist::Arch 1.27 + +pkgname='perl-music-chord-positions' +pkgver='0.63' +pkgrel='1' +pkgdesc="generate various chord inversions and voicings" +arch=('any') +license=('PerlArtistic' 'GPL') +options=('!emptydirs') +depends=('perl-music-chord-note' 'perl') +makedepends=() +url='http://search.mcpan.org/dist/Music-Chord-Positions' +source=('http://search.cpan.org/CPAN/authors/id/J/JM/JMATES/Music-Chord-Positions-0.63.tar.gz') +md5sums=('a9d604256f7cf08d2785ddd4684f82b6') +_distdir="Music-Chord-Positions-0.63" + +build() { + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" \ + PERL_AUTOINSTALL=--skipdeps \ + PERL_MM_OPT="INSTALLDIRS=vendor DESTDIR='$pkgdir'" \ + PERL_MB_OPT="--installdirs vendor --destdir '$pkgdir'" \ + MODULEBUILDRC=/dev/null + + cd "$srcdir/$_distdir" + /usr/bin/perl Makefile.PL + make + ) +} + +check() { + cd "$srcdir/$_distdir" + ( export PERL_MM_USE_DEFAULT=1 PERL5LIB="" + make test + ) +} + +package() { + cd "$srcdir/$_distdir" + make install + + find "$pkgdir" -name .packlist -o -name perllocal.pod -delete +} + +# Local Variables: +# mode: shell-script +# sh-basic-offset: 2 +# End: +# vim:set ts=2 sw=2 et: |