summaryrefslogtreecommitdiff
path: root/community/perl-gstreamer/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/perl-gstreamer/PKGBUILD')
-rw-r--r--community/perl-gstreamer/PKGBUILD28
1 files changed, 28 insertions, 0 deletions
diff --git a/community/perl-gstreamer/PKGBUILD b/community/perl-gstreamer/PKGBUILD
new file mode 100644
index 000000000..99d656129
--- /dev/null
+++ b/community/perl-gstreamer/PKGBUILD
@@ -0,0 +1,28 @@
+# $Id: PKGBUILD 91674 2013-05-26 09:25:14Z bluewind $
+# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
+# Contributor: Corrado Primier <bardo@aur.archlinux.org>
+
+pkgname=perl-gstreamer
+pkgver=0.18
+pkgrel=2
+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://search.cpan.org/CPAN/authors/id/X/XA/XAOC/GStreamer-$pkgver.tar.gz)
+md5sums=('7ac748677f00d1fd966b09e10448cff6')
+
+build() {
+ cd GStreamer-${pkgver}
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+package() {
+ cd GStreamer-${pkgver}
+ make install DESTDIR=${pkgdir}
+ find ${pkgdir} -name '.packlist' -delete
+ find ${pkgdir} -name '*.pod' -delete
+}