[arch-commits] Commit in libdbi-drivers/repos (2 files)

Felix Yan felixonmars at archlinux.org
Tue Jul 7 15:22:24 UTC 2020


    Date: Tuesday, July 7, 2020 @ 15:22:23
  Author: felixonmars
Revision: 658907

archrelease: copy trunk to community-staging-x86_64

Added:
  libdbi-drivers/repos/community-staging-x86_64/
  libdbi-drivers/repos/community-staging-x86_64/PKGBUILD
    (from rev 658906, libdbi-drivers/trunk/PKGBUILD)

----------+
 PKGBUILD |   32 ++++++++++++++++++++++++++++++++
 1 file changed, 32 insertions(+)

Copied: libdbi-drivers/repos/community-staging-x86_64/PKGBUILD (from rev 658906, libdbi-drivers/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2020-07-07 15:22:23 UTC (rev 658907)
@@ -0,0 +1,32 @@
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+# Contributor: Thorsten Töpper <atsutane-tu at freethoughts.de>
+# Contributor: Olivier Médoc <o_medoc at yahoo.fr>
+# Contributor: Ashok `ScriptDevil` Gautham <ScriptDevil.Arch at gmail.com>
+
+pkgname=libdbi-drivers
+pkgver=0.9.0
+pkgrel=10
+pkgdesc="Database drivers for libdbi (MySQL, PostgreSQL, and SQLite)"
+url="http://libdbi-drivers.sourceforge.net/"
+license=('LGPL')
+arch=('x86_64')
+depends=('libdbi')
+makedepends=('mariadb-libs' 'postgresql-libs' 'sqlite')
+optdepends=('mariadb-libs: To work with MariaDB using libdbdmysql'
+            'postgresql-libs: To work with PostgreSQL using libdbdpgsql'
+            'sqlite: To work with SQLite using libdbdsqlite3')
+source=("https://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz")
+sha1sums=('8472875d30c216540d48d591b442e40ba4f7df5d')
+
+build() {
+  cd $pkgname-$pkgver
+  ./configure --prefix=/usr --localstatedir=/var \
+              --with-mysql --with-pgsql --with-sqlite3
+  sed -i -e 's/ -shared / -Wl,-O1,--as-needed\0/g' libtool
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver
+  make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list