# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor : sebikul <sebikul@gmail.com>
# Generated by the 'gambas-package-config' tool on Fri, 24 Jan 2025 08:10:25 GMT


# Fix for error: bsdtar: Failed to set default locale
#                perl: warning: Setting locale failed.
# LANG=en_US.UTF-8 # not available, use C or POSIX
LANG=C
LC_ALL=${LANG}

pkgbase=gambas3
pkgname=('gambas3' 'gambas3-dev-tools' 'gambas3-gb-args' 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-clipper' 'gambas3-gb-clipper2' 'gambas3-gb-complex' 'gambas3-gb-compress' 'gambas3-gb-compress-bzlib2' 'gambas3-gb-compress-zlib' 'gambas3-gb-compress-zstd' 'gambas3-gb-crypt' 'gambas3-gb-data' 'gambas3-gb-db' 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite3' 'gambas3-gb-db2' 'gambas3-gb-db2-form' 'gambas3-gb-db2-mysql' 'gambas3-gb-db2-odbc' 'gambas3-gb-db2-postgresql' 'gambas3-gb-db2-sqlite3' 'gambas3-gb-dbus' 'gambas3-gb-dbus-trayicon' 'gambas3-gb-desktop' 'gambas3-gb-desktop-gnome-keyring' 'gambas3-gb-desktop-x11' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-editor' 'gambas3-gb-form-htmlview' 'gambas3-gb-form-mdi' 'gambas3-gb-form-print' 'gambas3-gb-form-stock' 'gambas3-gb-form-terminal' 'gambas3-gb-gmp' 'gambas3-gb-gsl' 'gambas3-gb-gtk3' 'gambas3-gb-gtk3-opengl' 'gambas3-gb-gtk3-webview' 'gambas3-gb-highlight' 'gambas3-gb-httpd' 'gambas3-gb-image' 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-inotify' 'gambas3-gb-libxml' 'gambas3-gb-logging' 'gambas3-gb-map' 'gambas3-gb-markdown' 'gambas3-gb-media' 'gambas3-gb-media-form' 'gambas3-gb-memcached' 'gambas3-gb-mime' 'gambas3-gb-mongodb' 'gambas3-gb-mysql' 'gambas3-gb-ncurses' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' 'gambas3-gb-net-smtp' 'gambas3-gb-openal' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glsl' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-sge' 'gambas3-gb-openssl' 'gambas3-gb-option' 'gambas3-gb-pcre' 'gambas3-gb-poppler' 'gambas3-gb-qt5' 'gambas3-gb-qt5-ext' 'gambas3-gb-qt5-opengl' 'gambas3-gb-qt5-webview' 'gambas3-gb-qt6' 'gambas3-gb-qt6-ext' 'gambas3-gb-qt6-opengl' 'gambas3-gb-qt6-webview' 'gambas3-gb-report' 'gambas3-gb-report2' 'gambas3-gb-scanner' 'gambas3-gb-sdl2' 'gambas3-gb-sdl2-audio' 'gambas3-gb-settings' 'gambas3-gb-signal' 'gambas3-gb-term' 'gambas3-gb-term-form' 'gambas3-gb-util' 'gambas3-gb-util-web' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-web' 'gambas3-gb-web-feed' 'gambas3-gb-web-form' 'gambas3-gb-web-gui' 'gambas3-gb-xml' 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-ide' 'gambas3-runtime' 'gambas3-scripter')
pkgver=3.20.1
pkgrel=1
pkgdesc="A free development environment based on a Basic interpreter."
arch=('x86_64')
url="https://gambas.sourceforge.net"
license=('GPL-2.0-or-later')
groups=('gambas3')
makedepends=('intltool' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils'
         'zlib' 'mesa' 'glew' 'xdg-utils' 'imlib2' 'gdk-pixbuf2' 'gtk3' 'webkit2gtk'
         'postgresql-libs' 'mariadb-libs' 'unixodbc' 'sqlite' 'librsvg'
         'curl' 'poppler-glib' 'sdl2' 'sdl2_mixer' 'sdl2_image' 'sdl2_ttf' 'libxtst'
         'pcre2' 'libx11' 'qt5-webengine' 'qt5-x11extras' 'qt5-svg' 'libxcursor' 'libsm' 'dbus' 'libxml2'
         'libxslt' 'libgnome-keyring' 'gsl' 'gst-plugins-base-libs' 'alure' 'ncurses'
         'gmime3' 'libxcrypt' 'qt6-svg' 'qt6-webengine' 'mongo-c-driver' 'git' 'bubblewrap' 'cblas')
options=('!emptydirs' 'libtool')
source=("gambas-${pkgver}.tar.gz")
noextract=("gambas-${pkgver}.tar.gz")
sha512sums=('SKIP')

prepare() {
  cd ${srcdir}
  # use tar, because with bsdtar (and obs_scm) we get:
  #    bsdtar: Pathname can't be converted from UTF-8 to current locale.
  tar xf gambas-${pkgver}.tar.gz

  cd gambas-${pkgver}

  ./reconf-all
}

build() {
  cd ${srcdir}/gambas-${pkgver}

  CXXFLAGS+=" -std=gnu++20" \
  GAMBAS_CONFIG_FAILURE=1 ./configure --prefix=/usr \
    --disable-sqlite2 \
    --disable-qt4  \
    --disable-gtk \
    --disable-pdf \
    --disable-sdl \
    --disable-sdlsound \
    --disable-qt5webkit

  make bindir=${pkgdir}/usr/bin

  mkdir -p ${srcdir}/fakeinstall
  make -j1 XDG_UTILS='' DESTDIR=${srcdir}/fakeinstall install
}

_install() {
  local src f dir
  for src; do
    f="${src#fakeinstall/}"
    dir="${pkgdir}/${f%/*}"
    install -m755 -d "${dir}"
    mv -v "${src}" "${dir}/"
  done
}

package_gambas3() {
  depends=('gambas3-dev-tools' 'gambas3-gb-args' 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-clipper' 'gambas3-gb-clipper2' 'gambas3-gb-complex' 'gambas3-gb-compress' 'gambas3-gb-compress-bzlib2' 'gambas3-gb-compress-zlib' 'gambas3-gb-compress-zstd' 'gambas3-gb-crypt' 'gambas3-gb-data' 'gambas3-gb-db' 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite3' 'gambas3-gb-db2' 'gambas3-gb-db2-form' 'gambas3-gb-db2-mysql' 'gambas3-gb-db2-odbc' 'gambas3-gb-db2-postgresql' 'gambas3-gb-db2-sqlite3' 'gambas3-gb-dbus' 'gambas3-gb-dbus-trayicon' 'gambas3-gb-desktop' 'gambas3-gb-desktop-gnome-keyring' 'gambas3-gb-desktop-x11' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-editor' 'gambas3-gb-form-htmlview' 'gambas3-gb-form-mdi' 'gambas3-gb-form-print' 'gambas3-gb-form-stock' 'gambas3-gb-form-terminal' 'gambas3-gb-gmp' 'gambas3-gb-gsl' 'gambas3-gb-gtk3' 'gambas3-gb-gtk3-opengl' 'gambas3-gb-gtk3-webview' 'gambas3-gb-highlight' 'gambas3-gb-httpd' 'gambas3-gb-image' 'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-inotify' 'gambas3-gb-libxml' 'gambas3-gb-logging' 'gambas3-gb-map' 'gambas3-gb-markdown' 'gambas3-gb-media' 'gambas3-gb-media-form' 'gambas3-gb-memcached' 'gambas3-gb-mime' 'gambas3-gb-mongodb' 'gambas3-gb-mysql' 'gambas3-gb-ncurses' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' 'gambas3-gb-net-smtp' 'gambas3-gb-openal' 'gambas3-gb-opengl' 'gambas3-gb-opengl-glsl' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-sge' 'gambas3-gb-openssl' 'gambas3-gb-option' 'gambas3-gb-pcre' 'gambas3-gb-poppler' 'gambas3-gb-qt5' 'gambas3-gb-qt5-ext' 'gambas3-gb-qt5-opengl' 'gambas3-gb-qt5-webview' 'gambas3-gb-qt6' 'gambas3-gb-qt6-ext' 'gambas3-gb-qt6-opengl' 'gambas3-gb-qt6-webview' 'gambas3-gb-report' 'gambas3-gb-report2' 'gambas3-gb-scanner' 'gambas3-gb-sdl2' 'gambas3-gb-sdl2-audio' 'gambas3-gb-settings' 'gambas3-gb-signal' 'gambas3-gb-term' 'gambas3-gb-term-form' 'gambas3-gb-util' 'gambas3-gb-util-web' 'gambas3-gb-v4l' 'gambas3-gb-vb' 'gambas3-gb-web' 'gambas3-gb-web-feed' 'gambas3-gb-web-form' 'gambas3-gb-web-gui' 'gambas3-gb-xml' 'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-ide' 'gambas3-runtime' 'gambas3-scripter')
  pkgdesc="Complete visual development environment for Gambas"

  cp -pv ${srcdir}/gambas-${pkgver}/README.md ${srcdir}/fakeinstall/usr/share/gambas3/

  _install fakeinstall/usr/share/gambas3/README.md
}

package_gambas3-gb-cairo() {
  pkgdesc="Gambas bindings for cairo"
  depends=('cairo' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.cairo.component
  _install fakeinstall/usr/lib/gambas3/gb.cairo.la
  _install fakeinstall/usr/lib/gambas3/gb.cairo.so
  _install fakeinstall/usr/lib/gambas3/gb.cairo.so.0
  _install fakeinstall/usr/lib/gambas3/gb.cairo.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.cairo.info
  _install fakeinstall/usr/share/gambas3/info/gb.cairo.list
}

package_gambas3-gb-compress-bzlib2() {
  pkgdesc="Gambas bzlib2 component"
  depends=('bzip2' 'gambas3-runtime' 'gambas3-gb-compress')
  _install fakeinstall/usr/lib/gambas3/gb.compress.bzlib2.component
  _install fakeinstall/usr/lib/gambas3/gb.compress.bzlib2.la
  _install fakeinstall/usr/lib/gambas3/gb.compress.bzlib2.so
  _install fakeinstall/usr/lib/gambas3/gb.compress.bzlib2.so.0
  _install fakeinstall/usr/lib/gambas3/gb.compress.bzlib2.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.compress.bzlib2.info
  _install fakeinstall/usr/share/gambas3/info/gb.compress.bzlib2.list
}

package_gambas3-gb-compress-zlib() {
  pkgdesc="Gambas zlib compression component"
  depends=('zlib' 'gambas3-runtime' 'gambas3-gb-compress')
  _install fakeinstall/usr/lib/gambas3/gb.compress.zlib.component
  _install fakeinstall/usr/lib/gambas3/gb.compress.zlib.la
  _install fakeinstall/usr/lib/gambas3/gb.compress.zlib.so
  _install fakeinstall/usr/lib/gambas3/gb.compress.zlib.so.0
  _install fakeinstall/usr/lib/gambas3/gb.compress.zlib.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.compress.zlib.info
  _install fakeinstall/usr/share/gambas3/info/gb.compress.zlib.list
}

package_gambas3-gb-compress-zstd() {
  pkgdesc="Gambas zstd component"
  depends=('zstd' 'gambas3-runtime' 'gambas3-gb-compress')
  _install fakeinstall/usr/lib/gambas3/gb.compress.zstd.component
  _install fakeinstall/usr/lib/gambas3/gb.compress.zstd.la
  _install fakeinstall/usr/lib/gambas3/gb.compress.zstd.so
  _install fakeinstall/usr/lib/gambas3/gb.compress.zstd.so.0
  _install fakeinstall/usr/lib/gambas3/gb.compress.zstd.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.compress.zstd.info
  _install fakeinstall/usr/share/gambas3/info/gb.compress.zstd.list
}

package_gambas3-gb-crypt() {
  pkgdesc="Gambas crypt encryption component"
  depends=('libxcrypt' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.crypt.component
  _install fakeinstall/usr/lib/gambas3/gb.crypt.la
  _install fakeinstall/usr/lib/gambas3/gb.crypt.so
  _install fakeinstall/usr/lib/gambas3/gb.crypt.so.0
  _install fakeinstall/usr/lib/gambas3/gb.crypt.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.crypt.info
  _install fakeinstall/usr/share/gambas3/info/gb.crypt.list
}

package_gambas3-gb-db-mysql() {
  pkgdesc="MySQL driver for the Gambas database (deprecated version)"
  depends=('mariadb-libs' 'gambas3-runtime' 'gambas3-gb-db')
  _install fakeinstall/usr/lib/gambas3/gb.db.mysql.component
  _install fakeinstall/usr/lib/gambas3/gb.db.mysql.la
  _install fakeinstall/usr/lib/gambas3/gb.db.mysql.so
  _install fakeinstall/usr/lib/gambas3/gb.db.mysql.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db.mysql.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db.mysql.info
  _install fakeinstall/usr/share/gambas3/info/gb.db.mysql.list
}

package_gambas3-gb-db-odbc() {
  pkgdesc="ODBC driver for the Gambas database (deprecated version)"
  depends=('unixodbc' 'gambas3-runtime' 'gambas3-gb-db')
  _install fakeinstall/usr/lib/gambas3/gb.db.odbc.component
  _install fakeinstall/usr/lib/gambas3/gb.db.odbc.la
  _install fakeinstall/usr/lib/gambas3/gb.db.odbc.so
  _install fakeinstall/usr/lib/gambas3/gb.db.odbc.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db.odbc.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db.odbc.info
  _install fakeinstall/usr/share/gambas3/info/gb.db.odbc.list
}

package_gambas3-gb-db-postgresql() {
  pkgdesc="PostgreSQL driver for the Gambas database (deprecated version)"
  depends=('postgresql-libs' 'gambas3-runtime' 'gambas3-gb-db')
  _install fakeinstall/usr/lib/gambas3/gb.db.postgresql.component
  _install fakeinstall/usr/lib/gambas3/gb.db.postgresql.la
  _install fakeinstall/usr/lib/gambas3/gb.db.postgresql.so
  _install fakeinstall/usr/lib/gambas3/gb.db.postgresql.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db.postgresql.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db.postgresql.info
  _install fakeinstall/usr/share/gambas3/info/gb.db.postgresql.list
}

package_gambas3-gb-db-sqlite3() {
  pkgdesc="Gambas sqlite3 driver database (deprecated version)"
  depends=('sqlite' 'gcc-libs' 'gambas3-runtime' 'gambas3-gb-db')
  _install fakeinstall/usr/lib/gambas3/gb.db.sqlite3.component
  _install fakeinstall/usr/lib/gambas3/gb.db.sqlite3.la
  _install fakeinstall/usr/lib/gambas3/gb.db.sqlite3.so
  _install fakeinstall/usr/lib/gambas3/gb.db.sqlite3.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db.sqlite3.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db.sqlite3.info
  _install fakeinstall/usr/share/gambas3/info/gb.db.sqlite3.list
}

package_gambas3-gb-dbus() {
  pkgdesc="Gambas bindings for DBUS"
  depends=('dbus' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.dbus.component
  _install fakeinstall/usr/lib/gambas3/gb.dbus.gambas
  _install fakeinstall/usr/lib/gambas3/gb.dbus.la
  _install fakeinstall/usr/lib/gambas3/gb.dbus.so
  _install fakeinstall/usr/lib/gambas3/gb.dbus.so.0
  _install fakeinstall/usr/lib/gambas3/gb.dbus.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.dbus.info
  _install fakeinstall/usr/share/gambas3/info/gb.dbus.list
}

package_gambas3-gb-desktop() {
  pkgdesc="Gambas desktop compatibility component"
  depends=('xdg-utils' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.desktop.component
  _install fakeinstall/usr/lib/gambas3/gb.desktop.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.desktop
  _install fakeinstall/usr/share/gambas3/info/gb.desktop.info
  _install fakeinstall/usr/share/gambas3/info/gb.desktop.list
}

package_gambas3-gb-desktop-gnome-keyring() {
  pkgdesc="Desktop component driver for Gnome keyring (deprecated)"
  depends=('libgnome-keyring' 'gambas3-runtime' 'gambas3-gb-desktop')
  _install fakeinstall/usr/lib/gambas3/gb.desktop.gnome.keyring.component
  _install fakeinstall/usr/lib/gambas3/gb.desktop.gnome.keyring.la
  _install fakeinstall/usr/lib/gambas3/gb.desktop.gnome.keyring.so
  _install fakeinstall/usr/lib/gambas3/gb.desktop.gnome.keyring.so.0
  _install fakeinstall/usr/lib/gambas3/gb.desktop.gnome.keyring.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.desktop.gnome.keyring.info
  _install fakeinstall/usr/share/gambas3/info/gb.desktop.gnome.keyring.list
}

package_gambas3-gb-desktop-x11() {
  pkgdesc="X11 support for the desktop compatibility component"
  depends=('libsm' 'libxtst' 'gambas3-runtime' 'gambas3-gb-desktop' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.component
  _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.gambas
  _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.la
  _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.so
  _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.so.0
  _install fakeinstall/usr/lib/gambas3/gb.desktop.x11.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.desktop.x11.info
  _install fakeinstall/usr/share/gambas3/info/gb.desktop.x11.list
}

package_gambas3-gb-gmp() {
  pkgdesc="Gambas GMP component"
  depends=('gmp' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.gmp.component
  _install fakeinstall/usr/lib/gambas3/gb.gmp.la
  _install fakeinstall/usr/lib/gambas3/gb.gmp.so
  _install fakeinstall/usr/lib/gambas3/gb.gmp.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gmp.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gmp.info
  _install fakeinstall/usr/share/gambas3/info/gb.gmp.list
}

package_gambas3-gb-gsl() {
  pkgdesc="Gambas GNU Scientific Library component"
  depends=('gsl' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.gsl.component
  _install fakeinstall/usr/lib/gambas3/gb.gsl.la
  _install fakeinstall/usr/lib/gambas3/gb.gsl.so
  _install fakeinstall/usr/lib/gambas3/gb.gsl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gsl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gsl.info
  _install fakeinstall/usr/share/gambas3/info/gb.gsl.list
}

package_gambas3-gb-gtk() {
  pkgdesc="Gambas GTK+ component"
provides=('gambas3-gui')
  depends=('gtk' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.gtk.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gtk.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk.list
}

package_gambas3-gb-gtk-opengl() {
  pkgdesc="Gambas GTK+ OpenGL component"
provides=('gambas3-gui-opengl')
  depends=('gambas3-runtime' 'gambas3-gb-gtk' 'gambas3-gb-opengl')
  _install fakeinstall/usr/lib/gambas3/gb.gtk.opengl.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk.opengl.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk.opengl.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk.opengl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk.opengl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gtk.opengl.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk.opengl.list
}

package_gambas3-gb-gtk3() {
  pkgdesc="Gambas GTK+3 component"
provides=('gambas3-gui')
  depends=('gtk3' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.so.0.0.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.wayland.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.wayland.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.wayland.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.wayland.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.wayland.so.0.0.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.x11.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.x11.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.x11.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.x11.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.x11.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.list
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.wayland.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.wayland.list
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.x11.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.x11.list
}

package_gambas3-gb-gtk3-opengl() {
  pkgdesc="Gambas GTK+3 OpenGL component"
provides=('gambas3-gui-opengl')
  depends=('gambas3-runtime' 'gambas3-gb-gtk3' 'gambas3-gb-opengl')
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.opengl.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.opengl.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.opengl.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.opengl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.opengl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.opengl.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.opengl.list
}

package_gambas3-gb-gtk3-webview() {
  pkgdesc="Gambas GTK+3 web browser component"
provides=('gambas3-gui-webview')
  depends=('webkit2gtk' 'gambas3-runtime' 'gambas3-gb-gtk3')
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.webview.component
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.webview.la
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.webview.so
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.webview.so.0
  _install fakeinstall/usr/lib/gambas3/gb.gtk3.webview.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.webview.info
  _install fakeinstall/usr/share/gambas3/info/gb.gtk3.webview.list
}

package_gambas3-gb-httpd() {
  pkgdesc="Gambas embedded HTTP server"
  depends=('libxcrypt' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.httpd.component
  _install fakeinstall/usr/lib/gambas3/gb.httpd.la
  _install fakeinstall/usr/lib/gambas3/gb.httpd.so
  _install fakeinstall/usr/lib/gambas3/gb.httpd.so.0
  _install fakeinstall/usr/lib/gambas3/gb.httpd.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.httpd.info
  _install fakeinstall/usr/share/gambas3/info/gb.httpd.list
}

package_gambas3-gb-image-effect() {
  pkgdesc="More image effects routines for Gambas"
  depends=('gcc-libs' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.image.effect.component
  _install fakeinstall/usr/lib/gambas3/gb.image.effect.la
  _install fakeinstall/usr/lib/gambas3/gb.image.effect.so
  _install fakeinstall/usr/lib/gambas3/gb.image.effect.so.0
  _install fakeinstall/usr/lib/gambas3/gb.image.effect.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.image.effect.info
  _install fakeinstall/usr/share/gambas3/info/gb.image.effect.list
}

package_gambas3-gb-image-imlib() {
  pkgdesc="Gambas bindings for the Imlib2 image library (deprecated)"
  depends=('imlib2' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.image.imlib.component
  _install fakeinstall/usr/lib/gambas3/gb.image.imlib.la
  _install fakeinstall/usr/lib/gambas3/gb.image.imlib.so
  _install fakeinstall/usr/lib/gambas3/gb.image.imlib.so.0
  _install fakeinstall/usr/lib/gambas3/gb.image.imlib.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.image.imlib.info
  _install fakeinstall/usr/share/gambas3/info/gb.image.imlib.list
}

package_gambas3-gb-image-io() {
  pkgdesc="Gambas image loading and saving routines"
  depends=('gdk-pixbuf2' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.image.io.component
  _install fakeinstall/usr/lib/gambas3/gb.image.io.la
  _install fakeinstall/usr/lib/gambas3/gb.image.io.so
  _install fakeinstall/usr/lib/gambas3/gb.image.io.so.0
  _install fakeinstall/usr/lib/gambas3/gb.image.io.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.image.io.info
  _install fakeinstall/usr/share/gambas3/info/gb.image.io.list
}

package_gambas3-gb-libxml() {
  pkgdesc="Gambas libxml component"
  depends=('libxml2' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.libxml.component
  _install fakeinstall/usr/lib/gambas3/gb.libxml.la
  _install fakeinstall/usr/lib/gambas3/gb.libxml.so
  _install fakeinstall/usr/lib/gambas3/gb.libxml.so.0
  _install fakeinstall/usr/lib/gambas3/gb.libxml.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.libxml.info
  _install fakeinstall/usr/share/gambas3/info/gb.libxml.list
}

package_gambas3-gb-media() {
  pkgdesc="Gambas media component"
  depends=('gst-plugins-base-libs' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.media.component
  _install fakeinstall/usr/lib/gambas3/gb.media.la
  _install fakeinstall/usr/lib/gambas3/gb.media.so
  _install fakeinstall/usr/lib/gambas3/gb.media.so.0
  _install fakeinstall/usr/lib/gambas3/gb.media.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.media.info
  _install fakeinstall/usr/share/gambas3/info/gb.media.list
}

package_gambas3-gb-mime() {
  pkgdesc="Gambas MIME message management"
  depends=('gmime3' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.mime.component
  _install fakeinstall/usr/lib/gambas3/gb.mime.la
  _install fakeinstall/usr/lib/gambas3/gb.mime.so
  _install fakeinstall/usr/lib/gambas3/gb.mime.so.0
  _install fakeinstall/usr/lib/gambas3/gb.mime.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.mime.info
  _install fakeinstall/usr/share/gambas3/info/gb.mime.list
}

package_gambas3-gb-ncurses() {
  pkgdesc="Gambas NCurses component"
  depends=('ncurses' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.ncurses.component
  _install fakeinstall/usr/lib/gambas3/gb.ncurses.la
  _install fakeinstall/usr/lib/gambas3/gb.ncurses.so
  _install fakeinstall/usr/lib/gambas3/gb.ncurses.so.0
  _install fakeinstall/usr/lib/gambas3/gb.ncurses.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.ncurses.info
  _install fakeinstall/usr/share/gambas3/info/gb.ncurses.list
}

package_gambas3-gb-net-curl() {
  pkgdesc="Gambas advanced networking component"
  depends=('curl' 'gambas3-runtime' 'gambas3-gb-net')
  _install fakeinstall/usr/lib/gambas3/gb.net.curl.component
  _install fakeinstall/usr/lib/gambas3/gb.net.curl.gambas
  _install fakeinstall/usr/lib/gambas3/gb.net.curl.la
  _install fakeinstall/usr/lib/gambas3/gb.net.curl.so
  _install fakeinstall/usr/lib/gambas3/gb.net.curl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.net.curl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/control/gb.net.curl
  _install fakeinstall/usr/share/gambas3/info/gb.net.curl.info
  _install fakeinstall/usr/share/gambas3/info/gb.net.curl.list
}

package_gambas3-gb-openal() {
  pkgdesc="Gambas OpenAL component"
  depends=('alure' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.openal.component
  _install fakeinstall/usr/lib/gambas3/gb.openal.la
  _install fakeinstall/usr/lib/gambas3/gb.openal.so
  _install fakeinstall/usr/lib/gambas3/gb.openal.so.0
  _install fakeinstall/usr/lib/gambas3/gb.openal.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.openal.info
  _install fakeinstall/usr/share/gambas3/info/gb.openal.list
}

package_gambas3-gb-opengl() {
  pkgdesc="Gambas OpenGL component"
  depends=('glew' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.opengl.component
  _install fakeinstall/usr/lib/gambas3/gb.opengl.la
  _install fakeinstall/usr/lib/gambas3/gb.opengl.so
  _install fakeinstall/usr/lib/gambas3/gb.opengl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.opengl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.info
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.list
}

package_gambas3-gb-openssl() {
  pkgdesc="Gambas OpenSSL component"
  depends=('openssl' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.openssl.component
  _install fakeinstall/usr/lib/gambas3/gb.openssl.la
  _install fakeinstall/usr/lib/gambas3/gb.openssl.so
  _install fakeinstall/usr/lib/gambas3/gb.openssl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.openssl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.openssl.info
  _install fakeinstall/usr/share/gambas3/info/gb.openssl.list
}

package_gambas3-gb-pcre() {
  pkgdesc="Gambas regular expressions component"
  depends=('pcre2' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.pcre.component
  _install fakeinstall/usr/lib/gambas3/gb.pcre.la
  _install fakeinstall/usr/lib/gambas3/gb.pcre.so
  _install fakeinstall/usr/lib/gambas3/gb.pcre.so.0
  _install fakeinstall/usr/lib/gambas3/gb.pcre.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.pcre.info
  _install fakeinstall/usr/share/gambas3/info/gb.pcre.list
}

package_gambas3-gb-poppler() {
  pkgdesc="Gambas Poppler component"
replaces=('gambas3-gb-pdf')
  depends=('poppler-glib' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.poppler.component
  _install fakeinstall/usr/lib/gambas3/gb.poppler.la
  _install fakeinstall/usr/lib/gambas3/gb.poppler.so
  _install fakeinstall/usr/lib/gambas3/gb.poppler.so.0
  _install fakeinstall/usr/lib/gambas3/gb.poppler.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.poppler.info
  _install fakeinstall/usr/share/gambas3/info/gb.poppler.list
}

package_gambas3-gb-qt5() {
  pkgdesc="Gambas Qt5 GUI component"
provides=('gambas3-gui')
  depends=('qt5-base' 'qt5-svg' 'qt5-x11extras' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.qt5.component
  _install fakeinstall/usr/lib/gambas3/gb.qt5.la
  _install fakeinstall/usr/lib/gambas3/gb.qt5.so
  _install fakeinstall/usr/lib/gambas3/gb.qt5.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.so.0.0.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.wayland.component
  _install fakeinstall/usr/lib/gambas3/gb.qt5.wayland.la
  _install fakeinstall/usr/lib/gambas3/gb.qt5.wayland.so
  _install fakeinstall/usr/lib/gambas3/gb.qt5.wayland.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.wayland.so.0.0.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.x11.component
  _install fakeinstall/usr/lib/gambas3/gb.qt5.x11.la
  _install fakeinstall/usr/lib/gambas3/gb.qt5.x11.so
  _install fakeinstall/usr/lib/gambas3/gb.qt5.x11.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.x11.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.list
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.wayland.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.wayland.list
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.x11.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.x11.list
}

package_gambas3-gb-qt5-opengl() {
  pkgdesc="Gambas OpenGL component with QT5 toolkit"
provides=('gambas3-gui-opengl')
  depends=('gambas3-runtime' 'gambas3-gb-opengl' 'gambas3-gb-qt5')
  _install fakeinstall/usr/lib/gambas3/gb.qt5.opengl.component
  _install fakeinstall/usr/lib/gambas3/gb.qt5.opengl.la
  _install fakeinstall/usr/lib/gambas3/gb.qt5.opengl.so
  _install fakeinstall/usr/lib/gambas3/gb.qt5.opengl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.opengl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.opengl.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.opengl.list
}

package_gambas3-gb-qt5-webview() {
  pkgdesc="Gambas QT5 web browser component"
provides=('gambas3-gui-webview')
  depends=('qt5-webengine' 'gambas3-runtime' 'gambas3-gb-qt5')
  _install fakeinstall/usr/lib/gambas3/gb.qt5.webview.component
  _install fakeinstall/usr/lib/gambas3/gb.qt5.webview.la
  _install fakeinstall/usr/lib/gambas3/gb.qt5.webview.so
  _install fakeinstall/usr/lib/gambas3/gb.qt5.webview.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.webview.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.webview.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.webview.list
}

package_gambas3-gb-qt6() {
  pkgdesc="Gambas Qt6 GUI component"
provides=('gambas3-gui')
  depends=('qt6-base' 'qt6-svg' 'libx11' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.qt6.component
  _install fakeinstall/usr/lib/gambas3/gb.qt6.la
  _install fakeinstall/usr/lib/gambas3/gb.qt6.so
  _install fakeinstall/usr/lib/gambas3/gb.qt6.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.so.0.0.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.wayland.component
  _install fakeinstall/usr/lib/gambas3/gb.qt6.wayland.la
  _install fakeinstall/usr/lib/gambas3/gb.qt6.wayland.so
  _install fakeinstall/usr/lib/gambas3/gb.qt6.wayland.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.wayland.so.0.0.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.x11.component
  _install fakeinstall/usr/lib/gambas3/gb.qt6.x11.la
  _install fakeinstall/usr/lib/gambas3/gb.qt6.x11.so
  _install fakeinstall/usr/lib/gambas3/gb.qt6.x11.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.x11.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.list
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.wayland.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.wayland.list
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.x11.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.x11.list
}

package_gambas3-gb-qt6-opengl() {
  pkgdesc="Gambas OpenGL component with QT6 toolkit"
provides=('gambas3-gui-opengl')
  depends=('gambas3-runtime' 'gambas3-gb-opengl' 'gambas3-gb-qt6')
  _install fakeinstall/usr/lib/gambas3/gb.qt6.opengl.component
  _install fakeinstall/usr/lib/gambas3/gb.qt6.opengl.la
  _install fakeinstall/usr/lib/gambas3/gb.qt6.opengl.so
  _install fakeinstall/usr/lib/gambas3/gb.qt6.opengl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.opengl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.opengl.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.opengl.list
}

package_gambas3-gb-qt6-webview() {
  pkgdesc="Gambas QT6 web browser component"
provides=('gambas3-gui-webview')
  depends=('qt6-webengine' 'gambas3-runtime' 'gambas3-gb-qt6')
  _install fakeinstall/usr/lib/gambas3/gb.qt6.webview.component
  _install fakeinstall/usr/lib/gambas3/gb.qt6.webview.la
  _install fakeinstall/usr/lib/gambas3/gb.qt6.webview.so
  _install fakeinstall/usr/lib/gambas3/gb.qt6.webview.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.webview.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.webview.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.webview.list
}

package_gambas3-gb-scanner() {
  pkgdesc="Gambas frontend to scanimage provided by the SANE toolkit"
  depends=('sane' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.scanner.component
  _install fakeinstall/usr/lib/gambas3/gb.scanner.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.scanner.info
  _install fakeinstall/usr/share/gambas3/info/gb.scanner.list
}

package_gambas3-gb-sdl2-audio() {
  pkgdesc="Gambas SDL2 audio component"
  depends=('sdl2_mixer' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.audio.component
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.audio.la
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.audio.so
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.audio.so.0
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.audio.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.sdl2.audio.info
  _install fakeinstall/usr/share/gambas3/info/gb.sdl2.audio.list
}

package_gambas3-gb-sdl2() {
  pkgdesc="Gambas SDL2 component (deprecated)"
  depends=('sdl2_ttf' 'sdl2_image' 'glew' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.component
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.la
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.so
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.so.0
  _install fakeinstall/usr/lib/gambas3/gb.sdl2.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.sdl2.info
  _install fakeinstall/usr/share/gambas3/info/gb.sdl2.list
}

package_gambas3-gb-v4l() {
  pkgdesc="Gambas video for Linux component (deprecated)"
  depends=('v4l-utils' 'libjpeg-turbo' 'libpng' 'gambas3-runtime' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.v4l.component
  _install fakeinstall/usr/lib/gambas3/gb.v4l.la
  _install fakeinstall/usr/lib/gambas3/gb.v4l.so
  _install fakeinstall/usr/lib/gambas3/gb.v4l.so.0
  _install fakeinstall/usr/lib/gambas3/gb.v4l.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.v4l.info
  _install fakeinstall/usr/share/gambas3/info/gb.v4l.list
}

package_gambas3-gb-xml-xslt() {
  pkgdesc="Gambas XSLT component"
  depends=('libxslt' 'gambas3-runtime' 'gambas3-gb-xml')
  _install fakeinstall/usr/lib/gambas3/gb.xml.xslt.component
  _install fakeinstall/usr/lib/gambas3/gb.xml.xslt.la
  _install fakeinstall/usr/lib/gambas3/gb.xml.xslt.so
  _install fakeinstall/usr/lib/gambas3/gb.xml.xslt.so.0
  _install fakeinstall/usr/lib/gambas3/gb.xml.xslt.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.xml.xslt.info
  _install fakeinstall/usr/share/gambas3/info/gb.xml.xslt.list
}

package_gambas3-gb-xml() {
  pkgdesc="Gambas XML component"
  depends=('gcc-libs' 'gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.xml.component
  _install fakeinstall/usr/lib/gambas3/gb.xml.gambas
  _install fakeinstall/usr/lib/gambas3/gb.xml.la
  _install fakeinstall/usr/lib/gambas3/gb.xml.so
  _install fakeinstall/usr/lib/gambas3/gb.xml.so.0
  _install fakeinstall/usr/lib/gambas3/gb.xml.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.xml.info
  _install fakeinstall/usr/share/gambas3/info/gb.xml.list
}

package_gambas3-runtime() {
  depends=('libffi' 'xdg-utils')
  optdepends=('gcc: The JIT compiler needs it' 'clang: The JIT compiler can use either clang or gcc')
  pkgdesc="Gambas runtime interpreter"
  provides=('gambas3-gb-jit')
  conflicts=('gambas3-gb-hash')
  replaces=('gambas3-gb-hash')

  _install fakeinstall/usr/bin/gb{r,x}3
  _install fakeinstall/usr/lib/gambas3/*
  _install fakeinstall/usr/share/gambas3/info/*
  _install fakeinstall/usr/share/man/man1/gb{r,x}3*

  install -dm755 ${pkgdir}/usr/share/gambas3/{mime,icons}

  install -m644 ${srcdir}/gambas-${pkgver}/main/mime/* ${pkgdir}/usr/share/gambas3/mime/
  install -m644 ${pkgdir}/usr/share/gambas3/mime/application-x-gambas3.png ${pkgdir}/usr/share/gambas3/icons/
}

package_gambas3-dev-tools() {
  depends=('gambas3-runtime')
  pkgdesc="Gambas compilation tools"
  conflicts=('gambas3-devel')
  replaces=('gambas3-devel')

  _install fakeinstall/usr/bin/gb{a,c,i,h}3*
  _install fakeinstall/usr/share/man/man1/gb{a,c,i,h}3*
}

package_gambas3-ide() {
  depends=('gettext' 'gambas3-runtime' 'gambas3-dev-tools' 'gambas3-gui-webview' 'gambas3-gb-clipper' 'gambas3-gb-db2' 'gambas3-gb-db2-form' 'gambas3-gb-desktop' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-editor' 'gambas3-gb-form-htmlview' 'gambas3-gb-form-mdi' 'gambas3-gb-form-print' 'gambas3-gb-form-stock' 'gambas3-gb-form-terminal' 'gambas3-gb-highlight' 'gambas3-gb-image' 'gambas3-gb-markdown' 'gambas3-gb-net' 'gambas3-gb-net-curl' 'gambas3-gb-pcre' 'gambas3-gb-settings' 'gambas3-gb-signal' 'gambas3-gb-term' 'gambas3-gb-util' 'gambas3-gb-util-web')
  optdepends=('pngquant: Optimize the PNG files edited by the IDE' 'translate-shell: Automatic translation')
  pkgdesc="Visual development environment for the Gambas programming language"
  conflicts=('gambas3-examples')
  replaces=('gambas3-examples')

  _install fakeinstall/usr/bin/gambas3*
  _install fakeinstall/usr/share/appdata
  _install fakeinstall/usr/share/metainfo
  _install fakeinstall/usr/share/gambas3/template
  _install fakeinstall/usr/share/man/man1/gambas3.1

  install -dm755 ${pkgdir}/usr/share/applications
  install -dm755 ${pkgdir}/usr/share/pixmaps

  install -m644 ${srcdir}/gambas-${pkgver}/app/desktop/gambas3.desktop ${pkgdir}/usr/share/applications/
  install -m644 ${srcdir}/gambas-${pkgver}/app/desktop/gambas3.png ${pkgdir}/usr/share/pixmaps/
  mv "$pkgdir"/usr/share/{appdata,metainfo}
}

package_gambas3-scripter() {
  depends=('gambas3-dev-tools')
  provides=('gambas3-script')
  pkgdesc="Gambas scripter"

  _install fakeinstall/usr/bin/gb{s,w}3*
  _install fakeinstall/usr/share/man/man1/gb{s,w}3*

  install -dm755 ${pkgdir}/usr/share/pixmaps
  install -dm755 ${pkgdir}/usr/share/mime/packages

  install -m644 ${srcdir}/gambas-${pkgver}/app/mime/*.png ${pkgdir}/usr/share/pixmaps
  install -m644 ${srcdir}/gambas-${pkgver}/app/mime/*.xml ${pkgdir}/usr/share/mime/packages
}

package_gambas3-gb-args() {
  pkgdesc="Gambas arguments parser"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.args.component
  _install fakeinstall/usr/lib/gambas3/gb.args.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.args.info
  _install fakeinstall/usr/share/gambas3/info/gb.args.list
}

package_gambas3-gb-chart() {
  pkgdesc="Gambas charting component"
  depends=('gambas3-runtime' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.chart.component
  _install fakeinstall/usr/lib/gambas3/gb.chart.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.chart.info
  _install fakeinstall/usr/share/gambas3/info/gb.chart.list
}

package_gambas3-gb-clipper() {
  pkgdesc="Gambas Clipper component (deprecated)"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.clipper.component
  _install fakeinstall/usr/lib/gambas3/gb.clipper.la
  _install fakeinstall/usr/lib/gambas3/gb.clipper.so
  _install fakeinstall/usr/lib/gambas3/gb.clipper.so.0
  _install fakeinstall/usr/lib/gambas3/gb.clipper.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.clipper.info
  _install fakeinstall/usr/share/gambas3/info/gb.clipper.list
}

package_gambas3-gb-clipper2() {
  pkgdesc="Gambas Clipper2 component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.clipper2.component
  _install fakeinstall/usr/lib/gambas3/gb.clipper2.la
  _install fakeinstall/usr/lib/gambas3/gb.clipper2.so
  _install fakeinstall/usr/lib/gambas3/gb.clipper2.so.0
  _install fakeinstall/usr/lib/gambas3/gb.clipper2.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.clipper2.info
  _install fakeinstall/usr/share/gambas3/info/gb.clipper2.list
}

package_gambas3-gb-complex() {
  pkgdesc="Gambas Complex component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.complex.component
  _install fakeinstall/usr/lib/gambas3/gb.complex.la
  _install fakeinstall/usr/lib/gambas3/gb.complex.so
  _install fakeinstall/usr/lib/gambas3/gb.complex.so.0
  _install fakeinstall/usr/lib/gambas3/gb.complex.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.complex.info
  _install fakeinstall/usr/share/gambas3/info/gb.complex.list
}

package_gambas3-gb-compress() {
  pkgdesc="Gambas compression component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.compress.component
  _install fakeinstall/usr/lib/gambas3/gb.compress.la
  _install fakeinstall/usr/lib/gambas3/gb.compress.so
  _install fakeinstall/usr/lib/gambas3/gb.compress.so.0
  _install fakeinstall/usr/lib/gambas3/gb.compress.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.compress.info
  _install fakeinstall/usr/share/gambas3/info/gb.compress.list
}

package_gambas3-gb-data() {
  pkgdesc="Gambas abstract datatypes component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.data.component
  _install fakeinstall/usr/lib/gambas3/gb.data.gambas
  _install fakeinstall/usr/lib/gambas3/gb.data.la
  _install fakeinstall/usr/lib/gambas3/gb.data.so
  _install fakeinstall/usr/lib/gambas3/gb.data.so.0
  _install fakeinstall/usr/lib/gambas3/gb.data.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.data.info
  _install fakeinstall/usr/share/gambas3/info/gb.data.list
}

package_gambas3-gb-db() {
  pkgdesc="Gambas database access common libraries (deprecated version)"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.db.component
  _install fakeinstall/usr/lib/gambas3/gb.db.gambas
  _install fakeinstall/usr/lib/gambas3/gb.db.la
  _install fakeinstall/usr/lib/gambas3/gb.db.so
  _install fakeinstall/usr/lib/gambas3/gb.db.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db.info
  _install fakeinstall/usr/share/gambas3/info/gb.db.list
}

package_gambas3-gb-db-form() {
  pkgdesc="Gambas database bound controls (deprecated version)"
  depends=('gambas3-runtime' 'gambas3-gb-db' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.db.form.component
  _install fakeinstall/usr/lib/gambas3/gb.db.form.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.db.form
  _install fakeinstall/usr/share/gambas3/info/gb.db.form.info
  _install fakeinstall/usr/share/gambas3/info/gb.db.form.list
}

package_gambas3-gb-db2() {
  pkgdesc="Gambas database access common libraries"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.db2.component
  _install fakeinstall/usr/lib/gambas3/gb.db2.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.db2.info
  _install fakeinstall/usr/share/gambas3/info/gb.db2.list
}

package_gambas3-gb-db2-form() {
  pkgdesc="Gambas database bound controls"
  depends=('gambas3-runtime' 'gambas3-gb-db2' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.db2.form.component
  _install fakeinstall/usr/lib/gambas3/gb.db2.form.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.db2.form
  _install fakeinstall/usr/share/gambas3/info/gb.db2.form.info
  _install fakeinstall/usr/share/gambas3/info/gb.db2.form.list
}

package_gambas3-gb-db2-mysql() {
  pkgdesc="MySQL driver for the Gambas database"
  depends=('gambas3-runtime' 'gambas3-gb-db2')
  _install fakeinstall/usr/lib/gambas3/gb.db2.mysql.component
  _install fakeinstall/usr/lib/gambas3/gb.db2.mysql.gambas
  _install fakeinstall/usr/lib/gambas3/gb.db2.mysql.la
  _install fakeinstall/usr/lib/gambas3/gb.db2.mysql.so
  _install fakeinstall/usr/lib/gambas3/gb.db2.mysql.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db2.mysql.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db2.mysql.info
  _install fakeinstall/usr/share/gambas3/info/gb.db2.mysql.list
}

package_gambas3-gb-db2-odbc() {
  pkgdesc="ODBC driver for the Gambas database"
  depends=('gambas3-runtime' 'gambas3-gb-db2')
  _install fakeinstall/usr/lib/gambas3/gb.db2.odbc.component
  _install fakeinstall/usr/lib/gambas3/gb.db2.odbc.gambas
  _install fakeinstall/usr/lib/gambas3/gb.db2.odbc.la
  _install fakeinstall/usr/lib/gambas3/gb.db2.odbc.so
  _install fakeinstall/usr/lib/gambas3/gb.db2.odbc.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db2.odbc.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db2.odbc.info
  _install fakeinstall/usr/share/gambas3/info/gb.db2.odbc.list
}

package_gambas3-gb-db2-postgresql() {
  pkgdesc="PostgreSQL driver for the Gambas database"
  depends=('gambas3-runtime' 'gambas3-gb-db2')
  _install fakeinstall/usr/lib/gambas3/gb.db2.postgresql.component
  _install fakeinstall/usr/lib/gambas3/gb.db2.postgresql.gambas
  _install fakeinstall/usr/lib/gambas3/gb.db2.postgresql.la
  _install fakeinstall/usr/lib/gambas3/gb.db2.postgresql.so
  _install fakeinstall/usr/lib/gambas3/gb.db2.postgresql.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db2.postgresql.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db2.postgresql.info
  _install fakeinstall/usr/share/gambas3/info/gb.db2.postgresql.list
}

package_gambas3-gb-db2-sqlite3() {
  pkgdesc="Gambas sqlite3 driver database"
  depends=('gambas3-runtime' 'gambas3-gb-db2')
  _install fakeinstall/usr/lib/gambas3/gb.db2.sqlite3.component
  _install fakeinstall/usr/lib/gambas3/gb.db2.sqlite3.gambas
  _install fakeinstall/usr/lib/gambas3/gb.db2.sqlite3.la
  _install fakeinstall/usr/lib/gambas3/gb.db2.sqlite3.so
  _install fakeinstall/usr/lib/gambas3/gb.db2.sqlite3.so.0
  _install fakeinstall/usr/lib/gambas3/gb.db2.sqlite3.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.db2.sqlite3.info
  _install fakeinstall/usr/share/gambas3/info/gb.db2.sqlite3.list
}

package_gambas3-gb-dbus-trayicon() {
  pkgdesc="Gambas support for KDE & Unity tray icon DBus protocols"
  depends=('gambas3-runtime' 'gambas3-gb-dbus' 'gambas3-gb-image')
  _install fakeinstall/usr/lib/gambas3/gb.dbus.trayicon.component
  _install fakeinstall/usr/lib/gambas3/gb.dbus.trayicon.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.dbus.trayicon.info
  _install fakeinstall/usr/share/gambas3/info/gb.dbus.trayicon.list
}

package_gambas3-gb-eval-highlight() {
  pkgdesc="Gambas syntax highlighting component (deprecated)"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.eval.highlight.component
  _install fakeinstall/usr/lib/gambas3/gb.eval.highlight.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.eval.highlight.info
  _install fakeinstall/usr/share/gambas3/info/gb.eval.highlight.list
}

package_gambas3-gb-form() {
  pkgdesc="Gambas GUI controls component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.form.component
  _install fakeinstall/usr/lib/gambas3/gb.form.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.form
  _install fakeinstall/usr/share/gambas3/info/gb.form.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.list
}

package_gambas3-gb-form-dialog() {
  pkgdesc="Gambas enhanced standard dialogs component"
  depends=('gambas3-runtime' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.form.dialog.component
  _install fakeinstall/usr/lib/gambas3/gb.form.dialog.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.form.dialog.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.dialog.list
}

package_gambas3-gb-form-editor() {
  pkgdesc="Gambas Text Editor component"
  depends=('gambas3-runtime' 'gambas3-gb-form' 'gambas3-gb-highlight' 'gambas3-gb-util')
  _install fakeinstall/usr/lib/gambas3/gb.form.editor.component
  _install fakeinstall/usr/lib/gambas3/gb.form.editor.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.form.editor
  _install fakeinstall/usr/share/gambas3/info/gb.form.editor.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.editor.list
}

package_gambas3-gb-form-htmlview() {
  pkgdesc="HTML viewer based on the litehtml library"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.form.htmlview.component
  _install fakeinstall/usr/lib/gambas3/gb.form.htmlview.gambas
  _install fakeinstall/usr/lib/gambas3/gb.form.htmlview.la
  _install fakeinstall/usr/lib/gambas3/gb.form.htmlview.so
  _install fakeinstall/usr/lib/gambas3/gb.form.htmlview.so.0
  _install fakeinstall/usr/lib/gambas3/gb.form.htmlview.so.0.0.0
  _install fakeinstall/usr/share/gambas3/control/gb.form.htmlview
  _install fakeinstall/usr/share/gambas3/info/gb.form.htmlview.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.htmlview.list
}

package_gambas3-gb-form-mdi() {
  pkgdesc="Gambas multiple document interface management component"
  depends=('gambas3-runtime' 'gambas3-gb-form' 'gambas3-gb-settings')
  _install fakeinstall/usr/lib/gambas3/gb.form.mdi.component
  _install fakeinstall/usr/lib/gambas3/gb.form.mdi.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.form.mdi
  _install fakeinstall/usr/share/gambas3/info/gb.form.mdi.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.mdi.list
}

package_gambas3-gb-form-print() {
  pkgdesc="Gambas generic preview and printing"
  depends=('gambas3-runtime' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.form.print.component
  _install fakeinstall/usr/lib/gambas3/gb.form.print.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.form.print.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.print.list
}

package_gambas3-gb-form-stock() {
  pkgdesc="Gambas form stock and flag icons"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.form.stock.component
  _install fakeinstall/usr/lib/gambas3/gb.form.stock.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.form.stock.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.stock.list
}

package_gambas3-gb-form-terminal() {
  pkgdesc="Gambas terminal emulator"
  depends=('gambas3-runtime' 'gambas3-gb-term')
  _install fakeinstall/usr/lib/gambas3/gb.form.terminal.component
  _install fakeinstall/usr/lib/gambas3/gb.form.terminal.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.form.terminal
  _install fakeinstall/usr/share/gambas3/info/gb.form.terminal.info
  _install fakeinstall/usr/share/gambas3/info/gb.form.terminal.list
}

package_gambas3-gb-highlight() {
  pkgdesc="Gambas syntax highlighting component"
  depends=('gambas3-runtime' 'gambas3-gb-image' 'gambas3-gb-pcre')
  _install fakeinstall/usr/lib/gambas3/gb.highlight.component
  _install fakeinstall/usr/lib/gambas3/gb.highlight.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.highlight.info
  _install fakeinstall/usr/share/gambas3/info/gb.highlight.list
}

package_gambas3-gb-image() {
  pkgdesc="Gambas image and color management"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.image.component
  _install fakeinstall/usr/lib/gambas3/gb.image.la
  _install fakeinstall/usr/lib/gambas3/gb.image.so
  _install fakeinstall/usr/lib/gambas3/gb.image.so.0
  _install fakeinstall/usr/lib/gambas3/gb.image.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.image.info
  _install fakeinstall/usr/share/gambas3/info/gb.image.list
}

package_gambas3-gb-inotify() {
  pkgdesc="Gambas inotify component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.inotify.component
  _install fakeinstall/usr/lib/gambas3/gb.inotify.la
  _install fakeinstall/usr/lib/gambas3/gb.inotify.so
  _install fakeinstall/usr/lib/gambas3/gb.inotify.so.0
  _install fakeinstall/usr/lib/gambas3/gb.inotify.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.inotify.info
  _install fakeinstall/usr/share/gambas3/info/gb.inotify.list
}

package_gambas3-gb-logging() {
  pkgdesc="Gambas logging system component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.logging.component
  _install fakeinstall/usr/lib/gambas3/gb.logging.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.logging.info
  _install fakeinstall/usr/share/gambas3/info/gb.logging.list
}

package_gambas3-gb-map() {
  pkgdesc="Gambas online map viewer"
  depends=('gambas3-runtime' 'gambas3-gb-net' 'gambas3-gb-net-curl')
  _install fakeinstall/usr/lib/gambas3/gb.map.component
  _install fakeinstall/usr/lib/gambas3/gb.map.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.map
  _install fakeinstall/usr/share/gambas3/info/gb.map.info
  _install fakeinstall/usr/share/gambas3/info/gb.map.list
}

package_gambas3-gb-markdown() {
  pkgdesc="Gambas markup syntax"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.markdown.component
  _install fakeinstall/usr/lib/gambas3/gb.markdown.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.markdown.info
  _install fakeinstall/usr/share/gambas3/info/gb.markdown.list
}

package_gambas3-gb-media-form() {
  pkgdesc="Gambas media player component"
  depends=('gambas3-runtime' 'gambas3-gb-media')
  _install fakeinstall/usr/lib/gambas3/gb.media.form.component
  _install fakeinstall/usr/lib/gambas3/gb.media.form.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.media.form
  _install fakeinstall/usr/share/gambas3/info/gb.media.form.info
  _install fakeinstall/usr/share/gambas3/info/gb.media.form.list
}

package_gambas3-gb-memcached() {
  pkgdesc="Gambas memcached client"
  depends=('gambas3-runtime' 'gambas3-gb-net')
  _install fakeinstall/usr/lib/gambas3/gb.memcached.component
  _install fakeinstall/usr/lib/gambas3/gb.memcached.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.memcached.info
  _install fakeinstall/usr/share/gambas3/info/gb.memcached.list
}

package_gambas3-gb-mongodb() {
  pkgdesc="Gambas MongoDB component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.mongodb.component
  _install fakeinstall/usr/lib/gambas3/gb.mongodb.gambas
  _install fakeinstall/usr/lib/gambas3/gb.mongodb.la
  _install fakeinstall/usr/lib/gambas3/gb.mongodb.so
  _install fakeinstall/usr/lib/gambas3/gb.mongodb.so.0
  _install fakeinstall/usr/lib/gambas3/gb.mongodb.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.mongodb.info
  _install fakeinstall/usr/share/gambas3/info/gb.mongodb.list
}

package_gambas3-gb-mysql() {
  pkgdesc="Gambas MySQL component"
  depends=('gambas3-runtime' 'gambas3-gb-db' 'gambas3-gb-db-mysql')
  _install fakeinstall/usr/lib/gambas3/gb.mysql.component
  _install fakeinstall/usr/lib/gambas3/gb.mysql.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.mysql.info
  _install fakeinstall/usr/share/gambas3/info/gb.mysql.list
}

package_gambas3-gb-net() {
  pkgdesc="Gambas networking component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.net.component
  _install fakeinstall/usr/lib/gambas3/gb.net.la
  _install fakeinstall/usr/lib/gambas3/gb.net.so
  _install fakeinstall/usr/lib/gambas3/gb.net.so.0
  _install fakeinstall/usr/lib/gambas3/gb.net.so.0.0.0
  _install fakeinstall/usr/share/gambas3/control/gb.net
  _install fakeinstall/usr/share/gambas3/info/gb.net.info
  _install fakeinstall/usr/share/gambas3/info/gb.net.list
}

package_gambas3-gb-net-pop3() {
  pkgdesc="Gambas POP3 client implementation"
  depends=('gambas3-runtime' 'gambas3-gb-mime' 'gambas3-gb-net')
  _install fakeinstall/usr/lib/gambas3/gb.net.pop3.component
  _install fakeinstall/usr/lib/gambas3/gb.net.pop3.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.net.pop3
  _install fakeinstall/usr/share/gambas3/info/gb.net.pop3.info
  _install fakeinstall/usr/share/gambas3/info/gb.net.pop3.list
}

package_gambas3-gb-net-smtp() {
  pkgdesc="Gambas smtp protocol component"
  depends=('gambas3-runtime' 'gambas3-gb-net')
  _install fakeinstall/usr/lib/gambas3/gb.net.smtp.component
  _install fakeinstall/usr/lib/gambas3/gb.net.smtp.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.net.smtp
  _install fakeinstall/usr/share/gambas3/info/gb.net.smtp.info
  _install fakeinstall/usr/share/gambas3/info/gb.net.smtp.list
}

package_gambas3-gb-opengl-glsl() {
  pkgdesc="Gambas OpenGL shaders management"
  depends=('gambas3-runtime' 'gambas3-gb-opengl')
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glsl.component
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glsl.la
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glsl.so
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glsl.so.0
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glsl.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.glsl.info
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.glsl.list
}

package_gambas3-gb-opengl-glu() {
  pkgdesc="Gambas OpenGL utility routines"
  depends=('gambas3-runtime' 'gambas3-gb-opengl')
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glu.component
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glu.la
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glu.so
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glu.so.0
  _install fakeinstall/usr/lib/gambas3/gb.opengl.glu.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.glu.info
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.glu.list
}

package_gambas3-gb-opengl-sge() {
  pkgdesc="Gambas simple OpenGL game engine based on MD2 format"
  depends=('gambas3-runtime' 'gambas3-gb-opengl')
  _install fakeinstall/usr/lib/gambas3/gb.opengl.sge.component
  _install fakeinstall/usr/lib/gambas3/gb.opengl.sge.la
  _install fakeinstall/usr/lib/gambas3/gb.opengl.sge.so
  _install fakeinstall/usr/lib/gambas3/gb.opengl.sge.so.0
  _install fakeinstall/usr/lib/gambas3/gb.opengl.sge.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.sge.info
  _install fakeinstall/usr/share/gambas3/info/gb.opengl.sge.list
}

package_gambas3-gb-option() {
  pkgdesc="Gambas option parser component (deprecated)"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.option.component
  _install fakeinstall/usr/lib/gambas3/gb.option.la
  _install fakeinstall/usr/lib/gambas3/gb.option.so
  _install fakeinstall/usr/lib/gambas3/gb.option.so.0
  _install fakeinstall/usr/lib/gambas3/gb.option.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.option.info
  _install fakeinstall/usr/share/gambas3/info/gb.option.list
}

package_gambas3-gb-qt5-ext() {
  pkgdesc="Gambas QT5 toolkit extensions"
  depends=('gambas3-runtime' 'gambas3-gb-qt5')
  _install fakeinstall/usr/lib/gambas3/gb.qt5.ext.component
  _install fakeinstall/usr/lib/gambas3/gb.qt5.ext.la
  _install fakeinstall/usr/lib/gambas3/gb.qt5.ext.so
  _install fakeinstall/usr/lib/gambas3/gb.qt5.ext.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt5.ext.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.ext.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt5.ext.list
}

package_gambas3-gb-qt6-ext() {
  pkgdesc="Gambas QT6 toolkit extensions"
  depends=('gambas3-runtime' 'gambas3-gb-qt6')
  _install fakeinstall/usr/lib/gambas3/gb.qt6.ext.component
  _install fakeinstall/usr/lib/gambas3/gb.qt6.ext.la
  _install fakeinstall/usr/lib/gambas3/gb.qt6.ext.so
  _install fakeinstall/usr/lib/gambas3/gb.qt6.ext.so.0
  _install fakeinstall/usr/lib/gambas3/gb.qt6.ext.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.ext.info
  _install fakeinstall/usr/share/gambas3/info/gb.qt6.ext.list
}

package_gambas3-gb-report() {
  pkgdesc="Gambas report component (deprecated)"
  depends=('gambas3-runtime' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.report.component
  _install fakeinstall/usr/lib/gambas3/gb.report.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.report
  _install fakeinstall/usr/share/gambas3/info/gb.report.info
  _install fakeinstall/usr/share/gambas3/info/gb.report.list
}

package_gambas3-gb-report2() {
  pkgdesc="Gambas report component"
  depends=('gambas3-runtime' 'gambas3-gb-form')
  _install fakeinstall/usr/lib/gambas3/gb.report2.component
  _install fakeinstall/usr/lib/gambas3/gb.report2.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.report2
  _install fakeinstall/usr/share/gambas3/info/gb.report2.info
  _install fakeinstall/usr/share/gambas3/info/gb.report2.list
}

package_gambas3-gb-settings() {
  pkgdesc="Gambas application settings management"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.settings.component
  _install fakeinstall/usr/lib/gambas3/gb.settings.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.settings.info
  _install fakeinstall/usr/share/gambas3/info/gb.settings.list
}

package_gambas3-gb-signal() {
  pkgdesc="Gambas Unix signals management library"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.signal.component
  _install fakeinstall/usr/lib/gambas3/gb.signal.la
  _install fakeinstall/usr/lib/gambas3/gb.signal.so
  _install fakeinstall/usr/lib/gambas3/gb.signal.so.0
  _install fakeinstall/usr/lib/gambas3/gb.signal.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.signal.info
  _install fakeinstall/usr/share/gambas3/info/gb.signal.list
}

package_gambas3-gb-term() {
  pkgdesc="Gambas terminal management"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.term.component
  _install fakeinstall/usr/lib/gambas3/gb.term.la
  _install fakeinstall/usr/lib/gambas3/gb.term.so
  _install fakeinstall/usr/lib/gambas3/gb.term.so.0
  _install fakeinstall/usr/lib/gambas3/gb.term.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.term.info
  _install fakeinstall/usr/share/gambas3/info/gb.term.list
}

package_gambas3-gb-term-form() {
  pkgdesc="Gambas GUI terminal applications component"
  depends=('gambas3-runtime' 'gambas3-gb-term')
  _install fakeinstall/usr/lib/gambas3/gb.term.form.component
  _install fakeinstall/usr/lib/gambas3/gb.term.form.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.term.form
  _install fakeinstall/usr/share/gambas3/info/gb.term.form.info
  _install fakeinstall/usr/share/gambas3/info/gb.term.form.list
}

package_gambas3-gb-util() {
  pkgdesc="Gambas interpreter utility routines component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.util.component
  _install fakeinstall/usr/lib/gambas3/gb.util.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.util.info
  _install fakeinstall/usr/share/gambas3/info/gb.util.list
}

package_gambas3-gb-util-web() {
  pkgdesc="Gambas web utility routines component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.util.web.component
  _install fakeinstall/usr/lib/gambas3/gb.util.web.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.util.web
  _install fakeinstall/usr/share/gambas3/info/gb.util.web.info
  _install fakeinstall/usr/share/gambas3/info/gb.util.web.list
}

package_gambas3-gb-vb() {
  pkgdesc="Gambas Visual Basic(tm) compatibility component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.vb.component
  _install fakeinstall/usr/lib/gambas3/gb.vb.la
  _install fakeinstall/usr/lib/gambas3/gb.vb.so
  _install fakeinstall/usr/lib/gambas3/gb.vb.so.0
  _install fakeinstall/usr/lib/gambas3/gb.vb.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.vb.info
  _install fakeinstall/usr/share/gambas3/info/gb.vb.list
}

package_gambas3-gb-web() {
  pkgdesc="Gambas CGI for web applications"
  depends=('gambas3-runtime' 'gambas3-gb-util-web')
  _install fakeinstall/usr/lib/gambas3/gb.web.component
  _install fakeinstall/usr/lib/gambas3/gb.web.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.web.info
  _install fakeinstall/usr/share/gambas3/info/gb.web.list
}

package_gambas3-gb-web-feed() {
  pkgdesc="Gambas web feed parser and generator"
  depends=('gambas3-runtime' 'gambas3-gb-util' 'gambas3-gb-xml')
  _install fakeinstall/usr/lib/gambas3/gb.web.feed.component
  _install fakeinstall/usr/lib/gambas3/gb.web.feed.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.web.feed.info
  _install fakeinstall/usr/share/gambas3/info/gb.web.feed.list
}

package_gambas3-gb-web-form() {
  pkgdesc="Gambas web applications GUI component (deprecated)"
  depends=('gambas3-runtime' 'gambas3-gb-util' 'gambas3-gb-util-web' 'gambas3-gb-web')
  _install fakeinstall/usr/lib/gambas3/gb.web.form.component
  _install fakeinstall/usr/lib/gambas3/gb.web.form.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.web.form
  _install fakeinstall/usr/share/gambas3/info/gb.web.form.info
  _install fakeinstall/usr/share/gambas3/info/gb.web.form.list
}

package_gambas3-gb-web-gui() {
  pkgdesc="Gambas web applications GUI component"
  depends=('gambas3-runtime' 'gambas3-gb-signal' 'gambas3-gb-util' 'gambas3-gb-util-web' 'gambas3-gb-web')
  _install fakeinstall/usr/lib/gambas3/gb.web.gui.component
  _install fakeinstall/usr/lib/gambas3/gb.web.gui.gambas
  _install fakeinstall/usr/share/gambas3/control/gb.web.gui
  _install fakeinstall/usr/share/gambas3/info/gb.web.gui.info
  _install fakeinstall/usr/share/gambas3/info/gb.web.gui.list
}

package_gambas3-gb-xml-html() {
  pkgdesc="Gambas HTML generator component"
  depends=('gambas3-runtime' 'gambas3-gb-xml')
  _install fakeinstall/usr/lib/gambas3/gb.xml.html.component
  _install fakeinstall/usr/lib/gambas3/gb.xml.html.la
  _install fakeinstall/usr/lib/gambas3/gb.xml.html.so
  _install fakeinstall/usr/lib/gambas3/gb.xml.html.so.0
  _install fakeinstall/usr/lib/gambas3/gb.xml.html.so.0.0.0
  _install fakeinstall/usr/share/gambas3/info/gb.xml.html.info
  _install fakeinstall/usr/share/gambas3/info/gb.xml.html.list
}

package_gambas3-gb-xml-rpc() {
  pkgdesc="Gambas XML-RPC component"
  depends=('gambas3-runtime')
  _install fakeinstall/usr/lib/gambas3/gb.xml.rpc.component
  _install fakeinstall/usr/lib/gambas3/gb.xml.rpc.gambas
  _install fakeinstall/usr/share/gambas3/info/gb.xml.rpc.info
  _install fakeinstall/usr/share/gambas3/info/gb.xml.rpc.list
}

