updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / perl-net-liblo / PKGBUILD
blob4beae76bb08f6f92a9add4d325ae614446385092
1 # Maintainer: masutu <masutu dot arch at googlemail dot com>
2 # Contributor: masutu <masutu dot arch at googlemail dot com>
3 pkgname=perl-net-liblo
4 pkgver=0.06
5 pkgrel=1
6 pkgdesc="Perl interface for liblo Lightweight OSC library"
7 arch=('i686')
8 url="http://search.cpan.org/~njh/Net-LibLO-0.06/"
9 license=('GPL' 'PerlArtistic')
10 depends=('perl>=5.10.0' 'liblo')
11 options=(!emptydirs)
12 source=('http://search.cpan.org/CPAN/authors/id/N/NJ/NJH/Net-LibLO-0.06.tar.gz')
13 md5sums=('851b50ff14b0afeb8c5c9f38289526ed')
15 build() {
16   cd "$srcdir/Net-LibLO-$pkgver"
17   PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
18   make || return 1
19   make install DESTDIR="$pkgdir/" || return 1
20   install -Dm 644 examples/liblo_send.pl $pkgdir/usr/share/$pkgname/examples/liblo_send.pl
21   install -Dm 644 examples/pingclient.pl $pkgdir/usr/share/$pkgname/examples/pingclient.pl
22   install -Dm 644 examples/pingserver.pl $pkgdir/usr/share/$pkgname/examples/pingserver.pl
25 # vim:set ts=2 sw=2 et: