[arch-commits] Commit in perl-dbd-sqlite2/repos (4 files)

Sergej Pupykin spupykin at archlinux.org
Tue May 10 17:57:46 UTC 2016


    Date: Tuesday, May 10, 2016 @ 19:57:46
  Author: spupykin
Revision: 174605

archrelease: copy trunk to community-staging-i686, community-staging-x86_64

Added:
  perl-dbd-sqlite2/repos/community-staging-i686/
  perl-dbd-sqlite2/repos/community-staging-i686/PKGBUILD
    (from rev 174604, perl-dbd-sqlite2/trunk/PKGBUILD)
  perl-dbd-sqlite2/repos/community-staging-x86_64/
  perl-dbd-sqlite2/repos/community-staging-x86_64/PKGBUILD
    (from rev 174604, perl-dbd-sqlite2/trunk/PKGBUILD)

-----------------------------------+
 community-staging-i686/PKGBUILD   |   38 ++++++++++++++++++++++++++++++++++++
 community-staging-x86_64/PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++
 2 files changed, 76 insertions(+)

Copied: perl-dbd-sqlite2/repos/community-staging-i686/PKGBUILD (from rev 174604, perl-dbd-sqlite2/trunk/PKGBUILD)
===================================================================
--- community-staging-i686/PKGBUILD	                        (rev 0)
+++ community-staging-i686/PKGBUILD	2016-05-10 17:57:46 UTC (rev 174605)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-dbd-sqlite2
+pkgver=0.37
+pkgrel=2
+pkgdesc="Perl/CPAN Module DBD::SQLite2"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/DBD-SQLite2"
+license=("GPL" "PerlArtistic")
+depends=("perl-dbi")
+source=("http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/DBD-SQLite2-$pkgver.tar.gz")
+md5sums=('f05f60d8a54f0024abb3b3e39861ee3d')
+
+build() {
+  cd DBD-SQLite2-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd DBD-SQLite2-${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-dbd-sqlite2/repos/community-staging-x86_64/PKGBUILD (from rev 174604, perl-dbd-sqlite2/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2016-05-10 17:57:46 UTC (rev 174605)
@@ -0,0 +1,38 @@
+# $Id$
+# Maintainer: Sergej Pupykin <pupykin.s+arch at gmail.com>
+# Maintainer: Charles Mauch <cmauch at gmail.com>
+
+pkgname=perl-dbd-sqlite2
+pkgver=0.37
+pkgrel=2
+pkgdesc="Perl/CPAN Module DBD::SQLite2"
+arch=("i686" "x86_64")
+url="http://search.cpan.org/dist/DBD-SQLite2"
+license=("GPL" "PerlArtistic")
+depends=("perl-dbi")
+source=("http://search.cpan.org/CPAN/authors/id/R/RU/RURBAN/DBD-SQLite2-$pkgver.tar.gz")
+md5sums=('f05f60d8a54f0024abb3b3e39861ee3d')
+
+build() {
+  cd DBD-SQLite2-${pkgver}
+
+  PERL_MM_USE_DEFAULT=1 perl Makefile.PL INSTALLDIRS=vendor
+
+  make
+}
+
+package() {
+  cd DBD-SQLite2-${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