[arch-commits] Commit in libdbi-drivers/repos/community-x86_64 (3 files)
Balló György
bgyorgy at archlinux.org
Fri Dec 21 21:27:43 UTC 2018
Date: Friday, December 21, 2018 @ 21:27:43
Author: bgyorgy
Revision: 417465
archrelease: copy trunk to community-x86_64
Added:
libdbi-drivers/repos/community-x86_64/PKGBUILD
(from rev 417464, libdbi-drivers/trunk/PKGBUILD)
Deleted:
libdbi-drivers/repos/community-x86_64/PKGBUILD
libdbi-drivers/repos/community-x86_64/libdbi-drivers.install
------------------------+
PKGBUILD | 67 ++++++++++++++++++++++-------------------------
libdbi-drivers.install | 19 -------------
2 files changed, 32 insertions(+), 54 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2018-12-21 21:27:38 UTC (rev 417464)
+++ PKGBUILD 2018-12-21 21:27:43 UTC (rev 417465)
@@ -1,35 +0,0 @@
-# Maintainer: 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=7
-pkgdesc="Database drivers for libdbi (MySQL, PostgreSQL, and SQLite)"
-url="http://libdbi-drivers.sourceforge.net/"
-license=('GPL')
-arch=('x86_64')
-depends=('libdbi')
-makedepends=('postgresql-libs' 'libmariadbclient' 'sqlite')
-optdepends=("postgresql-libs: To work with postgresql using libdbdpgsql "
- "sqlite3: To work with sqlite3 using libdbdsqlite3"
- "libmariadbclient: To work with mysql using libdbdmysql")
-install=libdbi-drivers.install
-source=("http://downloads.sourceforge.net/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz")
-sha1sums=('8472875d30c216540d48d591b442e40ba4f7df5d')
-
-build() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- ./configure --prefix=/usr \
- --disable-docs \
- --with-mysql \
- --with-pgsql \
- --with-sqlite3
- make
-}
-
-package() {
- cd "${srcdir}/${pkgname}-${pkgver}"
- make DESTDIR=${pkgdir} localstatedir=/var install
-}
-
Copied: libdbi-drivers/repos/community-x86_64/PKGBUILD (from rev 417464, libdbi-drivers/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2018-12-21 21:27:43 UTC (rev 417465)
@@ -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=8
+pkgdesc="Database drivers for libdbi (MySQL, PostgreSQL, and SQLite)"
+url="http://libdbi-drivers.sourceforge.net/"
+license=('LGPL')
+arch=('x86_64')
+depends=('libdbi')
+makedepends=('libmariadbclient' 'postgresql-libs' 'sqlite')
+optdepends=('libmariadbclient: 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
+}
Deleted: libdbi-drivers.install
===================================================================
--- libdbi-drivers.install 2018-12-21 21:27:38 UTC (rev 417464)
+++ libdbi-drivers.install 2018-12-21 21:27:43 UTC (rev 417465)
@@ -1,19 +0,0 @@
-# arg 1: the new package version
-post_install() {
- ldconfig
-}
-
-# arg 1: the new package version
-# arg 2: the old package version
-post_upgrade() {
- ldconfig
-}
-
-# arg 1: the old package version
-post_remove() {
- ldconfig
-}
-
-op=$1
-shift
-$op $*
More information about the arch-commits
mailing list