Date: Friday, May 27, 2016 @ 10:00:56 Author: bluewind Revision: 177206
db-move: moved perl-gstreamer from [community-staging] to [community-testing] (i686, x86_64) Added: perl-gstreamer/repos/community-testing-i686/ perl-gstreamer/repos/community-testing-i686/PKGBUILD (from rev 177205, perl-gstreamer/repos/community-staging-i686/PKGBUILD) perl-gstreamer/repos/community-testing-x86_64/ perl-gstreamer/repos/community-testing-x86_64/PKGBUILD (from rev 177205, perl-gstreamer/repos/community-staging-x86_64/PKGBUILD) Deleted: perl-gstreamer/repos/community-staging-i686/ perl-gstreamer/repos/community-staging-x86_64/ -----------------------------------+ community-testing-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-testing-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: perl-gstreamer/repos/community-testing-i686/PKGBUILD (from rev 177205, perl-gstreamer/repos/community-staging-i686/PKGBUILD) =================================================================== --- community-testing-i686/PKGBUILD (rev 0) +++ community-testing-i686/PKGBUILD 2016-05-27 08:00:56 UTC (rev 177206) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Corrado Primier <ba...@aur.archlinux.org> + +pkgname=perl-gstreamer +pkgver=0.20 +pkgrel=3 +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=('c848ea3dca4017953755f787dc8add8f') + +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 +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +} Copied: perl-gstreamer/repos/community-testing-x86_64/PKGBUILD (from rev 177205, perl-gstreamer/repos/community-staging-x86_64/PKGBUILD) =================================================================== --- community-testing-x86_64/PKGBUILD (rev 0) +++ community-testing-x86_64/PKGBUILD 2016-05-27 08:00:56 UTC (rev 177206) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Corrado Primier <ba...@aur.archlinux.org> + +pkgname=perl-gstreamer +pkgver=0.20 +pkgrel=3 +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=('c848ea3dca4017953755f787dc8add8f') + +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 +# template start; name=perl-binary-module-dependency; version=1; +if [[ $(find "$pkgdir/usr/lib/perl5/" -name "*.so") ]]; then + _perlver_min=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]);') + _perlver_max=$(perl -e '$v = $^V->{version}; print $v->[0].".".($v->[1]+1);') + depends+=("perl>=$_perlver_min" "perl<$_perlver_max") +fi +# template end; +}