[arch-commits] Commit in perl-dbd-sqlite/repos/extra-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
fyan at archlinux.org
Thu Feb 11 05:42:33 UTC 2016
Date: Thursday, February 11, 2016 @ 06:42:33
Author: fyan
Revision: 259059
archrelease: copy trunk to extra-x86_64
Added:
perl-dbd-sqlite/repos/extra-x86_64/PKGBUILD
(from rev 259058, perl-dbd-sqlite/trunk/PKGBUILD)
Deleted:
perl-dbd-sqlite/repos/extra-x86_64/PKGBUILD
----------+
PKGBUILD | 76 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 39 insertions(+), 37 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2016-02-11 05:42:14 UTC (rev 259058)
+++ PKGBUILD 2016-02-11 05:42:33 UTC (rev 259059)
@@ -1,37 +0,0 @@
-# $Id$
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=perl-dbd-sqlite
-pkgver=1.48
-pkgrel=1
-pkgdesc="Self-contained RDBMS in a DBI driver"
-arch=('i686' 'x86_64')
-url="http://search.cpan.org/dist/DBD-SQLite"
-license=('GPL' 'PerlArtistic')
-depends=('perl-dbi' 'sqlite')
-options=('!emptydirs')
-source=(http://www.cpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${pkgver}.tar.gz)
-md5sums=('020c02ca595b2074a767a19af8506d2a')
-
-build() {
- cd DBD-SQLite-${pkgver}
- perl Makefile.PL INSTALLDIRS=vendor
- make
-}
-
-check() {
- cd DBD-SQLite-${pkgver}
- make test
-}
-
-package() {
- cd DBD-SQLite-${pkgver}
- make install DESTDIR="${pkgdir}"
-# 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-sqlite/repos/extra-x86_64/PKGBUILD (from rev 259058, perl-dbd-sqlite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2016-02-11 05:42:33 UTC (rev 259059)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-dbd-sqlite
+pkgver=1.50
+pkgrel=1
+pkgdesc="Self-contained RDBMS in a DBI driver"
+arch=('i686' 'x86_64')
+url="http://search.cpan.org/dist/DBD-SQLite"
+license=('GPL' 'PerlArtistic')
+depends=('perl-dbi' 'sqlite')
+source=(http://www.cpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-${pkgver}.tar.gz)
+md5sums=('d56eebfb5f2a14be9413b025e7dca9fe')
+
+build() {
+ cd DBD-SQLite-${pkgver}
+ perl Makefile.PL INSTALLDIRS=vendor
+ make
+}
+
+check() {
+ cd DBD-SQLite-${pkgver}
+ make test
+}
+
+package() {
+ cd DBD-SQLite-${pkgver}
+ make install DESTDIR="${pkgdir}"
+
+ rm -r "$pkgdir/usr/lib/perl5/core_perl"
+
+# 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