PKGBUILDs/community/perl-gstreamer/PKGBUILD
2009-10-09 21:15:33 -05:00

23 lines
851 B
Bash

# This PKGBUILD was generated by cpan4pacman via CPANPLUS::Dist::Pacman
# Contributor: Corrado Primier <bardo@aur.archlinux.org>
pkgname=perl-gstreamer
pkgver=0.15
pkgrel=1
pkgdesc="Interface to the GStreamer library"
arch=('i686' 'x86_64')
url="http://search.cpan.org/dist/GStreamer"
license=('GPL' 'PerlArtistic')
depends=('glib-perl>=1.180' 'gstreamer0.10' 'perl-extutils-pkgconfig>=1.07' 'perl-extutils-depends>=0.205')
options=('!emptydirs')
source=(http://www.cpan.org/authors/id/T/TS/TSCH/GStreamer-$pkgver.tar.gz)
md5sums=('a01261f5a1012f4d6763e3721f1c9de7')
build() {
cd $startdir/src/GStreamer-$pkgver
PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor || return 1
make || return 1
make install DESTDIR=$startdir/pkg || return 1
find $startdir/pkg -name '.packlist' -delete
find $startdir/pkg -name '*.pod' -delete
}