[arch-commits] Commit in perl-dbd-sqlite/repos/extra-x86_64 (4 files)

Felix Yan felixonmars at gemini.archlinux.org
Thu Jul 22 15:10:10 UTC 2021


    Date: Thursday, July 22, 2021 @ 15:10:10
  Author: felixonmars
Revision: 420289

archrelease: copy trunk to extra-x86_64

Added:
  perl-dbd-sqlite/repos/extra-x86_64/PKGBUILD
    (from rev 420288, perl-dbd-sqlite/trunk/PKGBUILD)
  perl-dbd-sqlite/repos/extra-x86_64/libsqlite.patch
    (from rev 420288, perl-dbd-sqlite/trunk/libsqlite.patch)
Deleted:
  perl-dbd-sqlite/repos/extra-x86_64/PKGBUILD
  perl-dbd-sqlite/repos/extra-x86_64/libsqlite.patch

-----------------+
 PKGBUILD        |   88 +++++++++++++++++++++++++++---------------------------
 libsqlite.patch |   22 ++++++-------
 2 files changed, 55 insertions(+), 55 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2021-07-22 15:09:50 UTC (rev 420288)
+++ PKGBUILD	2021-07-22 15:10:10 UTC (rev 420289)
@@ -1,44 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-
-pkgname=perl-dbd-sqlite
-pkgver=1.66
-pkgrel=2
-pkgdesc="Self-contained RDBMS in a DBI driver"
-arch=('x86_64')
-url="https://search.cpan.org/dist/DBD-SQLite"
-license=('GPL' 'PerlArtistic')
-depends=('perl-dbi' 'sqlite')
-source=("https://www.cpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-$pkgver.tar.gz"
-        libsqlite.patch)
-sha512sums=('4d58003e69f29b18d01ed0b5853cdac40ec9ce5d4c75bc8a3743937897a38290a99be30b1b9fae593b0d8d51d05b7e2438d29f7a7c1c755b66de51826397aef9'
-            'cf492402f9127c40130c052a6b3f78e86abc0342385130be386aa12e23b1166f20deac50eee1dcc1e43598ba5785d0a218f2cb0a6bb7f5dd7f7c0fc3220bd2bb')
-
-prepare() {
-  cd DBD-SQLite-$pkgver
-
-  # Ensure that we can never ever build this. If the perl module links against
-  # the system lib this won't matter, if it does not, it will fail during
-  # make test.
-  rm sqlite3.c
-
-  # Makefile asks us to patch this to allow to link with system sqlite...
-  patch -i "$srcdir/libsqlite.patch"
-}
-
-build() {
-  cd DBD-SQLite-$pkgver
-
-  # USE_LOCAL_SQLITE=0 disables use of the bundled sqlite
-  perl Makefile.PL INSTALLDIRS=vendor USE_LOCAL_SQLITE=0
-  make
-}
-
-check() {
-  cd DBD-SQLite-$pkgver
-  make test
-}
-
-package() {
-  cd DBD-SQLite-$pkgver
-  make install DESTDIR="$pkgdir"
-}

Copied: perl-dbd-sqlite/repos/extra-x86_64/PKGBUILD (from rev 420288, perl-dbd-sqlite/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2021-07-22 15:10:10 UTC (rev 420289)
@@ -0,0 +1,44 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+
+pkgname=perl-dbd-sqlite
+pkgver=1.68
+pkgrel=1
+pkgdesc="Self-contained RDBMS in a DBI driver"
+arch=('x86_64')
+url="https://search.cpan.org/dist/DBD-SQLite"
+license=('GPL' 'PerlArtistic')
+depends=('perl-dbi' 'sqlite')
+source=("https://www.cpan.org/authors/id/I/IS/ISHIGAKI/DBD-SQLite-$pkgver.tar.gz"
+        libsqlite.patch)
+sha512sums=('83d7d19404949900bcc8464bf7786893bb53fdc04dbdee2f31f7bf4564dfc2bcf4218190460e34e5bf5633d1d958b729be7c7b5e6b539cdad6e732529d042372'
+            'cf492402f9127c40130c052a6b3f78e86abc0342385130be386aa12e23b1166f20deac50eee1dcc1e43598ba5785d0a218f2cb0a6bb7f5dd7f7c0fc3220bd2bb')
+
+prepare() {
+  cd DBD-SQLite-$pkgver
+
+  # Ensure that we can never ever build this. If the perl module links against
+  # the system lib this won't matter, if it does not, it will fail during
+  # make test.
+  rm sqlite3.c
+
+  # Makefile asks us to patch this to allow to link with system sqlite...
+  patch -i "$srcdir/libsqlite.patch"
+}
+
+build() {
+  cd DBD-SQLite-$pkgver
+
+  # USE_LOCAL_SQLITE=0 disables use of the bundled sqlite
+  perl Makefile.PL INSTALLDIRS=vendor USE_LOCAL_SQLITE=0
+  make
+}
+
+check() {
+  cd DBD-SQLite-$pkgver
+  make test
+}
+
+package() {
+  cd DBD-SQLite-$pkgver
+  make install DESTDIR="$pkgdir"
+}

Deleted: libsqlite.patch
===================================================================
--- libsqlite.patch	2021-07-22 15:09:50 UTC (rev 420288)
+++ libsqlite.patch	2021-07-22 15:10:10 UTC (rev 420289)
@@ -1,11 +0,0 @@
---- Makefile.PL.orig	2018-12-19 20:08:13.433144871 +0100
-+++ Makefile.PL	2018-12-19 20:07:37.546242667 +0100
-@@ -129,7 +129,7 @@
- # a system sqlite is also sophisticated enough to have a patching system
- # that can change the if ( 0 ) to if ( 1 )
- my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
--if ( 0 ) {
-+if ( 1 ) {
- 	require File::Spec;
- 	if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
- 		$sqlite_base =~ /=(.*)/;

Copied: perl-dbd-sqlite/repos/extra-x86_64/libsqlite.patch (from rev 420288, perl-dbd-sqlite/trunk/libsqlite.patch)
===================================================================
--- libsqlite.patch	                        (rev 0)
+++ libsqlite.patch	2021-07-22 15:10:10 UTC (rev 420289)
@@ -0,0 +1,11 @@
+--- Makefile.PL.orig	2018-12-19 20:08:13.433144871 +0100
++++ Makefile.PL	2018-12-19 20:07:37.546242667 +0100
+@@ -129,7 +129,7 @@
+ # a system sqlite is also sophisticated enough to have a patching system
+ # that can change the if ( 0 ) to if ( 1 )
+ my ($sqlite_local, $sqlite_base, $sqlite_lib, $sqlite_inc);
+-if ( 0 ) {
++if ( 1 ) {
+ 	require File::Spec;
+ 	if ( $sqlite_base = (grep(/SQLITE_LOCATION=.*/, @ARGV))[0] ) {
+ 		$sqlite_base =~ /=(.*)/;




More information about the arch-commits mailing list