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

Felix Yan felixonmars at archlinux.org
Wed Jan 16 14:17:29 UTC 2019


    Date: Wednesday, January 16, 2019 @ 14:17:28
  Author: felixonmars
Revision: 423508

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 423507, libdbi-drivers/trunk/PKGBUILD)

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

Copied: libdbi-drivers/repos/community-staging-x86_64/PKGBUILD (from rev 423507, libdbi-drivers/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD	                        (rev 0)
+++ community-staging-x86_64/PKGBUILD	2019-01-16 14:17:28 UTC (rev 423508)
@@ -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=9
+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