[arch-commits] Commit in perl-gstreamer-interfaces/repos (6 files)
Florian Pritz
bluewind at archlinux.org
Fri May 27 08:01:05 UTC 2016
Date: Friday, May 27, 2016 @ 10:01:04
Author: bluewind
Revision: 177207
db-move: moved perl-gstreamer-interfaces from [community-staging] to [community-testing] (i686, x86_64)
Added:
perl-gstreamer-interfaces/repos/community-testing-i686/
perl-gstreamer-interfaces/repos/community-testing-i686/PKGBUILD
(from rev 177206, perl-gstreamer-interfaces/repos/community-staging-i686/PKGBUILD)
perl-gstreamer-interfaces/repos/community-testing-x86_64/
perl-gstreamer-interfaces/repos/community-testing-x86_64/PKGBUILD
(from rev 177206, perl-gstreamer-interfaces/repos/community-staging-x86_64/PKGBUILD)
Deleted:
perl-gstreamer-interfaces/repos/community-staging-i686/
perl-gstreamer-interfaces/repos/community-staging-x86_64/
-----------------------------------+
community-testing-i686/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
community-testing-x86_64/PKGBUILD | 39 ++++++++++++++++++++++++++++++++++++
2 files changed, 78 insertions(+)
Copied: perl-gstreamer-interfaces/repos/community-testing-i686/PKGBUILD (from rev 177206, perl-gstreamer-interfaces/repos/community-staging-i686/PKGBUILD)
===================================================================
--- community-testing-i686/PKGBUILD (rev 0)
+++ community-testing-i686/PKGBUILD 2016-05-27 08:01:04 UTC (rev 177207)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=perl-gstreamer-interfaces
+pkgver=0.06
+pkgrel=9
+pkgdesc="GStreamer::Interfaces"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/GStreamer-Interfaces"
+license=('GPL' 'PerlArtistic')
+depends=('glib-perl' 'gstreamer0.10-base' 'perl-extutils-pkgconfig' 'perl-gstreamer' 'perl-extutils-depends')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/T/TS/TSCH/GStreamer-Interfaces-${pkgver}.tar.gz")
+md5sums=('aa9583a484fa6829935b360887ecda45')
+
+build() {
+ cd GStreamer-Interfaces-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd GStreamer-Interfaces-${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-interfaces/repos/community-testing-x86_64/PKGBUILD (from rev 177206, perl-gstreamer-interfaces/repos/community-staging-x86_64/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2016-05-27 08:01:04 UTC (rev 177207)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Corrado Primier <bardo at aur.archlinux.org>
+
+pkgname=perl-gstreamer-interfaces
+pkgver=0.06
+pkgrel=9
+pkgdesc="GStreamer::Interfaces"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/GStreamer-Interfaces"
+license=('GPL' 'PerlArtistic')
+depends=('glib-perl' 'gstreamer0.10-base' 'perl-extutils-pkgconfig' 'perl-gstreamer' 'perl-extutils-depends')
+options=('!emptydirs')
+source=("http://www.cpan.org/authors/id/T/TS/TSCH/GStreamer-Interfaces-${pkgver}.tar.gz")
+md5sums=('aa9583a484fa6829935b360887ecda45')
+
+build() {
+ cd GStreamer-Interfaces-${pkgver}
+
+ PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+ make
+}
+
+package() {
+ cd GStreamer-Interfaces-${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;
+}
More information about the arch-commits
mailing list