Created
November 1, 2022 09:34
-
-
Save underdoeg/db2b2e6d357e3cb7fdd94ae526fab6b9 to your computer and use it in GitHub Desktop.
libgda6 arch build script
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
# Maintainer: Philip Whitfield <[email protected]> | |
pkgname=(libgda6) | |
pkgver=6.0.0 | |
pkgrel=1 | |
pkgdesc="Database access library" | |
url="https://www.gnome-db.org/" | |
arch=(x86_64) | |
license=(GPL) | |
depends=(gtksourceview3 libxslt python libsecret graphviz goocanvas iso-codes libgee openssl) | |
makedepends=(glade mariadb-libs postgresql-libs libfbclient jdk8-openjdk intltool | |
gobject-introspection gtk-doc vala itstool gnome-common git) | |
_commit=5d23892e1c8abd931ad2a7bd24cd543b93ccb04c # tags/LIBGDA_6_0_0 | |
source=("git+https://gitlab.gnome.org/GNOME/libgda.git#commit=$_commit") | |
sha256sums=('SKIP') | |
_apiver=6.0 | |
pkgver() { | |
cd libgda | |
git describe --tags | sed 's/^LIBGDA_//;s/_/./g;s/-/+/g' | |
} | |
prepare() { | |
cd libgda | |
meson --prefix=/usr --sysconfdir=/etc builddir | |
} | |
build() { | |
cd libgda | |
meson compile -C builddir | |
} | |
package_libgda6() { | |
cd libgda | |
DESTDIR="$pkgdir" meson install -C builddir | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment