mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
extra/libgda: fix
This commit is contained in:
parent
ff5ec880ac
commit
671ccfb87b
1 changed files with 6 additions and 12 deletions
|
@ -3,8 +3,9 @@
|
|||
|
||||
# ALARM: Kevin Mihelich <kevin@archlinuxarm.org>
|
||||
# - export java library path
|
||||
# - remove firebird package, makedepends on libfbclient
|
||||
|
||||
pkgname=(libgda libgda-{firebird,jdbc,mysql,postgres})
|
||||
pkgname=(libgda libgda-{jdbc,mysql,postgres})
|
||||
pkgver=5.2.9
|
||||
pkgrel=3
|
||||
pkgdesc="Database access library"
|
||||
|
@ -12,7 +13,7 @@ url="https://www.gnome-db.org/"
|
|||
arch=(x86_64)
|
||||
license=(GPL)
|
||||
depends=(gtksourceview3 libxslt python2 libsecret graphviz goocanvas iso-codes libgee openssl)
|
||||
makedepends=(glade mariadb-libs postgresql-libs libfbclient jdk8-openjdk intltool
|
||||
makedepends=(glade mariadb-libs postgresql-libs jdk8-openjdk intltool
|
||||
gobject-introspection gtk-doc vala itstool gnome-common git)
|
||||
_commit=295fa78d29eee6dbbc5d07fd6884cb95f48d92e0 # tags/LIBGDA_5_2_9^0
|
||||
source=("git+https://gitlab.gnome.org/GNOME/libgda.git#commit=$_commit"
|
||||
|
@ -50,8 +51,7 @@ build() {
|
|||
}
|
||||
|
||||
package_libgda() {
|
||||
optdepends=('libgda-firebird: provider for Firebird'
|
||||
'libgda-jdbc: provider for JDBC'
|
||||
optdepends=('libgda-jdbc: provider for JDBC'
|
||||
'libgda-mysql: provider for MySQL'
|
||||
'libgda-postgres: provider for PostgreSQL')
|
||||
options+=(emptydirs)
|
||||
|
@ -61,8 +61,8 @@ package_libgda() {
|
|||
|
||||
mkdir -p providers
|
||||
local provider
|
||||
for provider in firebird jdbc mysql postgres; do
|
||||
mv "$pkgdir"/usr/lib/libgda-$_apiver/providers/libgda-$provider[-.]*so \
|
||||
for provider in jdbc mysql postgres; do
|
||||
mv -f "$pkgdir"/usr/lib/libgda-$_apiver/providers/libgda-$provider[-.]*so \
|
||||
"$pkgdir"/usr/lib/pkgconfig/libgda-$provider-$_apiver.pc \
|
||||
"$pkgdir"/usr/share/libgda-$_apiver/${provider}_specs_*.xml \
|
||||
"$srcdir/providers"
|
||||
|
@ -81,12 +81,6 @@ _packageprovider() {
|
|||
mv providers/${1}_specs_*.xml "$pkgdir/usr/share/libgda-$_apiver"
|
||||
}
|
||||
|
||||
package_libgda-firebird() {
|
||||
pkgdesc="libgda provider for Firebird"
|
||||
depends=(libgda libfbclient)
|
||||
_packageprovider firebird
|
||||
}
|
||||
|
||||
package_libgda-jdbc() {
|
||||
pkgdesc="libgda provider for JDBC"
|
||||
depends=(libgda java-environment)
|
||||
|
|
Loading…
Reference in a new issue