Date: Friday, June 2, 2017 @ 06:34:32 Author: felixonmars Revision: 232857
archrelease: copy trunk to community-staging-i686, community-staging-x86_64 Added: perl-net-dbus/repos/community-staging-i686/ perl-net-dbus/repos/community-staging-i686/PKGBUILD (from rev 232854, perl-net-dbus/trunk/PKGBUILD) perl-net-dbus/repos/community-staging-x86_64/ perl-net-dbus/repos/community-staging-x86_64/PKGBUILD (from rev 232855, perl-net-dbus/trunk/PKGBUILD) -----------------------------------+ community-staging-i686/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ community-staging-x86_64/PKGBUILD | 35 +++++++++++++++++++++++++++++++++++ 2 files changed, 70 insertions(+) Copied: perl-net-dbus/repos/community-staging-i686/PKGBUILD (from rev 232854, perl-net-dbus/trunk/PKGBUILD) =================================================================== --- community-staging-i686/PKGBUILD (rev 0) +++ community-staging-i686/PKGBUILD 2017-06-02 06:34:32 UTC (rev 232857) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Francois Charette <firmi...@gmx.net> + +pkgname=perl-net-dbus +pkgver=1.1.0 +pkgrel=4 +pkgdesc="Binding for DBus messaging protocol" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Net-DBus" +license=('GPL' 'PerlArtistic') +depends=('dbus' 'perl-xml-twig') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-${pkgver}.tar.gz") +md5sums=('da44a16f8abf1db76f5ccf50d9926944') + +build() { + cd Net-DBus-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd Net-DBus-${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-net-dbus/repos/community-staging-x86_64/PKGBUILD (from rev 232855, perl-net-dbus/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2017-06-02 06:34:32 UTC (rev 232857) @@ -0,0 +1,35 @@ +# $Id$ +# Maintainer: Sergej Pupykin <pupykin.s+a...@gmail.com> +# Contributor: Francois Charette <firmi...@gmx.net> + +pkgname=perl-net-dbus +pkgver=1.1.0 +pkgrel=4 +pkgdesc="Binding for DBus messaging protocol" +arch=('i686' 'x86_64') +url="http://search.cpan.org/dist/Net-DBus" +license=('GPL' 'PerlArtistic') +depends=('dbus' 'perl-xml-twig') +options=('!emptydirs') +source=("http://www.cpan.org/authors/id/D/DA/DANBERR/Net-DBus-${pkgver}.tar.gz") +md5sums=('da44a16f8abf1db76f5ccf50d9926944') + +build() { + cd Net-DBus-${pkgver} + PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor + make +} + +package() { + cd Net-DBus-${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; +}