diff options
author | masutu | 2015-07-06 22:46:55 +0200 |
---|---|---|
committer | masutu | 2015-07-06 22:46:55 +0200 |
commit | ce26aa1f71f8a34440ae6349faa1fbbb4add42a9 (patch) | |
tree | c41a266203795944e2de30608741a2b5feb54ac0 | |
download | aur-perl-net-opensoundcontrol.tar.gz |
Initial import
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 25 |
2 files changed, 40 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..54bcaabd4166 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = perl-net-opensoundcontrol + pkgdesc = OpenSound Control client and server implementation in Perl + pkgver = 0.05 + pkgrel = 1 + url = http://search.cpan.org/~crenz/Net-OpenSoundControl-0.05/ + arch = any + license = GPL + license = PerlArtistic + depends = perl>=5.10.0 + options = !emptydirs + source = http://search.cpan.org/CPAN/authors/id/C/CR/CRENZ/Net-OpenSoundControl-0.05.tar.gz + md5sums = 0451efc9feee4d1a3dc04ea043a47af7 + +pkgname = perl-net-opensoundcontrol + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46e70c9ee951 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,25 @@ +# Maintainer: masutu <masutu dot arch at googlemail dot com> +# Contributor: masutu <masutu dot arch at googlemail dot com> +pkgname=perl-net-opensoundcontrol +pkgver=0.05 +pkgrel=1 +pkgdesc="OpenSound Control client and server implementation in Perl" +arch=('any') +url="http://search.cpan.org/~crenz/Net-OpenSoundControl-0.05/" +license=('GPL' 'PerlArtistic') +depends=('perl>=5.10.0') +options=(!emptydirs) +source=('http://search.cpan.org/CPAN/authors/id/C/CR/CRENZ/Net-OpenSoundControl-0.05.tar.gz') +md5sums=('0451efc9feee4d1a3dc04ea043a47af7') + +build() { + cd "$srcdir/Net-OpenSoundControl-$pkgver" + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1 + make || return 1 + make install DESTDIR="$pkgdir/" || return 1 + for _file in "makebundle.pl" "oscclient.pl" "oscserver.pl" "reaktor2.pl" "reaktor.pl" + do install -Dm 644 examples/$_file $pkgdir/usr/share/$pkgname/examples/$_file + done +} + +# vim:set ts=2 sw=2 et: |