You are not logged in.

#1 2015-08-28 11:02:59

jerik
Member
Registered: 2009-03-02
Posts: 197

My PKGBUILD-files makes pacman complain about conflicting dependencies

Hi!

I have modified LordHeavy's PKGBUILD script for Gambas3 to make svn-binaries. When I have created the packages and run ´pacman -U *.xz´, pacman complains:

(** Translated from Norwegian **)

error: unsolvable package conflicts detected
error: could not prepare transaction (conflicting dependencies)
:: conflict between gambas3-devel and gambas3-gb

I do not understand what is making a conflict...

Here's the PKGBULID file:

# $Id: PKGBUILD 134268 2015-05-28 11:31:51Z andyrtr $
# Maintainer: Laurent Carlier <lordheavym@gmail.com>
# Contributor : sebikul <sebikul@gmail.com>

pkgbase=gambas3
pkgname=('gambas3-gb-args' 'gambas3-gb-cairo' 'gambas3-gb-chart' 'gambas3-gb-clipper' 'gambas3-gb-complex'
         'gambas3-gb-compress-bzlib2' 'gambas3-gb-compress-zlib' 'gambas3-gb-compress' 'gambas3-gb-crypt'
         
         'gambas3-gb-data' 'gambas3-gb-db-form' 'gambas3-gb-db-mysql' 'gambas3-gb-db-odbc' 'gambas3-gb-db-postgresql' 'gambas3-gb-db-sqlite2' 'gambas3-gb-db-sqlite3' 'gambas3-gb-db' 
         'gambas3-gb-dbus-trayicon' 'gambas3-gb-dbus' 'gambas3-gb-desktop-gnome-keyring' 'gambas3-gb-desktop-gnome' 'gambas3-gb-desktop-x11' 'gambas3-gb-desktop' 
         
         'gambas3-gb-eval-highlight'
         
         'gambas3-gb-form-dialog' 'gambas3-gb-form-editor' 'gambas3-gb-form-mdi' 'gambas3-gb-form-stock' 'gambas3-gb-form'
         
         'gambas3-gb-gmp' 'gambas3-gb-gsl' 'gambas3-gb-gtk3' 'gambas3-gb-gtk-opengl' 'gambas3-gb-gtk'
         
         'gambas3-gb-httpd'
         
         'gambas3-gb-image-effect' 'gambas3-gb-image-imlib' 'gambas3-gb-image-io' 'gambas3-gb-image' 'gambas3-gb-inotify'
         
         'gambas3-gb-jit'
         
         'gambas3-gb-libxml' 'gambas3-gb-logging'
         
         'gambas3-gb-map' 'gambas3-gb-markdown' 'gambas3-gb-media-form' 'gambas3-gb-media' 'gambas3-gb-memcached' 'gambas3-gb-mime' 'gambas3-gb-mysql'

         'gambas3-gb-ncurses' 'gambas3-gb-net-curl' 'gambas3-gb-net-pop3' 'gambas3-gb-net-smtp' 'gambas3-gb-net'
         
         'gambas3-gb-openal' 'gambas3-gb-opengl-glsl' 'gambas3-gb-opengl-glu' 'gambas3-gb-opengl-sge' 'gambas3-gb-opengl' 'gambas3-gb-option' 'gambas3-gb-openssl'
         
         'gambas3-gb-pcre' 'gambas3-gb-pdf'
         
         'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-opengl' 'gambas3-gb-qt4-webkit' 'gambas3-gb-qt4' 'gambas3-gb-qt5-opengl' 'gambas3-gb-qt5-webkit' 'gambas3-gb-qt5'
         
         'gambas3-gb-report2' 'gambas3-gb-report'
         
         'gambas3-gb-scanner' 'gambas3-gb-sdl2-audio' 'gambas3-gb-sdl2' 'gambas3-gb-sdl-sound' 'gambas3-gb-sdl' 'gambas3-gb-settings' 'gambas3-gb-signal'
         
         'gambas3-gb-util-web' 'gambas3-gb-util'
         
         'gambas3-gb-v4l' 'gambas3-gb-vb'
         
         'gambas3-gb-web'
         
         'gambas3-gb-xml-html' 'gambas3-gb-xml-rpc' 'gambas3-gb-xml-xslt' 'gambas3-gb-xml'
         
         'gambas3-runtime' 'gambas3-devel' 'gambas3-ide' 'gambas3-scripter'
         
         'gambas3-gb')
pkgver=3.8.90
pkgrel=1
pkgdesc="GAMBAS Almost means BASIC - A free development environment based on a Basic interpreter."
arch=('i686' 'x86_64')
url="http://gambas.sourceforge.net/"
license=('GPL2')
groups=('gambas3')
makedepends=('intltool' 'mariadb' 'postgresql' 'libffi' 'bzip2' 'glib2' 'v4l-utils'
         'zlib' 'mesa' 'glew' 'xdg-utils' 'gtk2' 'imlib2' 'gdk-pixbuf2'
         'postgresql-libs' 'libmariadbclient' 'unixodbc' 'sqlite2' 'sqlite' 'librsvg'
         'curl' 'poppler-glib' 'sdl_mixer' 'sdl_ttf' 'libxtst' 'pcre' 'qtwebkit'
         'libxcursor' 'libsm' 'dbus' 'libxml2' 'libxslt' 'libgnome-keyring'
	 'gsl' 'gst-plugins-base-libs' 'alure' 'gtkglext' 'ncurses'
	 'gmime' 'llvm35' 'dumb' 'fluidsynth')
options=('!emptydirs' 'libtool')
#source=("http://downloads.sourceforge.net/gambas/${pkgbase}-${pkgver}.tar.bz2")
#md5sums=('4ad89b7a16c90117a540f6d7ba0d2369')

source=("svn://svn.code.sf.net/p/gambas/code/gambas/trunk")
md5sums=('SKIP')
_svnmod='gambas3'
conflicts=('gambas3')
provides=('gambas3')


create_dirs() {
  install -dm755 ${pkgdir}/usr/lib/gambas3
  install -dm755 ${pkgdir}/usr/share/gambas3/info/control
}

prepare() {
  cd ${srcdir}/trunk

  #./reconf-all
}

build() {
  cd ${srcdir}/trunk

  #./configure --prefix=/usr

  #make bindir=${pkgdir}/usr/bin
  
  mkdir -p ${srcdir}/fakeinstall
  make -j1 XDG_UTILS='' DESTDIR=${srcdir}/fakeinstall install
}

package_gambas3-gb-args() {
  depends=('gambas3-runtime')
  pkgdesc="Command-line options analyzer component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.args.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.args.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-cairo() {
  depends=('gambas3-runtime' 'gambas3-gb-image' 'cairo')
  pkgdesc="Cairo component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.cairo.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.cairo.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-chart() {
  depends=('gambas3-gb-form')
  pkgdesc="Chart component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.chart.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.chart.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-clipper() {
  depends=('gambas3-runtime')
  pkgdesc="Polygon clipping component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.clipper.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.clipper.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-complex() {
  depends=('gambas3-runtime')
  pkgdesc="Complex numbers component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.complex.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.complex.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-compress-bzlib2() {
  depends=('gambas3-gb-compress' 'bzip2')
  pkgdesc="Compression support component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.compress.bzlib2.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.compress.bzlib2.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-compress-zlib() {
  depends=('gambas3-gb-compress' 'zlib')
  pkgdesc="Compression support component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.compress.zlib.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.compress.zlib.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-compress() {
  depends=('gambas3-runtime' )
  pkgdesc="Compression support component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.compress.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.compress.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-crypt() {
  depends=('gambas3-runtime')
  pkgdesc="MD5/DES crypting component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.crypt.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.crypt.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-data() {
  depends=('gambas3-runtime')
  pkgdesc="Data containers component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.data.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.data.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-db-form() {
  depends=('gambas3-gb-db' 'gambas3-gb-form')
  pkgdesc="Database form component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.db.form
  
  mv -v usr/lib/gambas3/gb.db.form.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.form.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.db.form/* ${pkgdir}/usr/share/gambas3/control/gb.db.form
}

package_gambas3-gb-db-mysql() {
  depends=('gambas3-gb-db' 'libmariadbclient')
  pkgdesc="MySQL database access component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.db.mysql.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.mysql.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-db-odbc() {
  depends=('gambas3-gb-db' 'unixodbc')
  pkgdesc="ODBC database access component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.db.odbc.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.odbc.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-db-postgresql() {
  depends=('gambas3-gb-db' 'postgresql-libs')
  pkgdesc="PostgreSQL database access component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.db.postgresql.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.postgresql.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-db-sqlite2() {
  depends=('gambas3-gb-db' 'sqlite2' 'gcc-libs')
  pkgdesc="Sqlite2 database access component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.db.sqlite2.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.sqlite2.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-db-sqlite3() {
  depends=('gambas3-gb-db' 'sqlite' 'gcc-libs')
  pkgdesc="Sqlite3 database access component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.db.sqlite3.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.sqlite3.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-db() {
  depends=('gambas3-runtime')
  pkgdesc="Database access component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.db.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.db.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-dbus-trayicon() {
  depends=('gambas3-gb-dbus' 'gambas3-gb-image')
  pkgdesc="DBUS TrayIcon component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.dbus.trayicon.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.dbus.trayicon.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-dbus() {
  depends=('gambas3-runtime' 'dbus')
  pkgdesc="DBUS component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.dbus.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.dbus.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-desktop-gnome-keyring() {
  depends=('gambas3-gb-desktop' 'libgnome-keyring')
  pkgdesc="Keyring component for Gnome Desktop"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.desktop.gnome.keyring.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.desktop.gnome.keyring.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-desktop-gnome() {
  depends=('gambas3-gb-desktop')
  pkgdesc="Desktop component for Gnome"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  #mv -v usr/lib/gambas3/gb.desktop.gnome.* ${pkgdir}/usr/lib/gambas3/
  #mv -v usr/share/gambas3/info/gb.desktop.gnome.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-desktop-x11() {
  depends=('gambas3-gb-image' 'libsm' 'libxtst')
  pkgdesc="X-Window library support component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.desktop.x11.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.desktop.x11.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-desktop() {
  depends=('gambas3-gb-image' 'gambas3-gb-desktop-x11')
  pkgdesc="Desktop component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.desktop
  
  mv -v usr/lib/gambas3/gb.desktop.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.desktop.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.desktop/* ${pkgdir}/usr/share/gambas3/control/gb.desktop
}

package_gambas3-gb-eval-highlight() {
  depends=('gambas3-gb-eval')
  pkgdesc="Expression evaluator highlight component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.eval.highlight.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.eval.highlight.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-form-dialog() {
  depends=('gambas3-gb-form')
  pkgdesc="Form dialog component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.form.dialog.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.form.dialog.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-form-editor() {
  depends=('gambas3-gb-eval-highlight')
  pkgdesc="Form editor component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.form.editor
  
  mv -v usr/lib/gambas3/gb.form.editor.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.form.editor.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.form.editor/* ${pkgdir}/usr/share/gambas3/control/gb.form.editor
}

package_gambas3-gb-form-mdi() {
  depends=('gambas3-gb-form' 'gambas3-gb-settings')
  pkgdesc="Form MDI component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.form.midi
  
  mv -v usr/lib/gambas3/gb.form.mdi.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.form.mdi.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.form.mdi/* ${pkgdir}/usr/share/gambas3/control/gb.form.midi
}

package_gambas3-gb-form-stock() {
  depends=('gambas3-runtime')
  pkgdesc="Default stock icons component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.form.stock.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.form.stock.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-form() {
  depends=('gambas3-runtime')
  pkgdesc="Form component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.form
  
  mv -v usr/lib/gambas3/gb.form.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.form.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.form/* ${pkgdir}/usr/share/gambas3/control/gb.form
}

package_gambas3-gb-gmp() {
  depends=('gambas3-runtime' 'gmp')
  pkgdesc="Arbitrary precision arithmetic component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.gmp.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.gmp.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-gsl() {
  depends=('gambas3-runtime' 'gsl')
  pkgdesc="The GNU Scientific Library component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.gsl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.gsl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-gtk-opengl() {
  depends=('gambas3-gb-gtk' 'gambas3-gb-opengl' 'gtkglext')
  pkgdesc="GTK+ toolkit OpenGL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.gtk.opengl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.gtk.opengl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-gtk() {
  depends=('gambas3-gb-image' 'gtk2' 'librsvg')
  pkgdesc="GTK+ toolkit component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.gtk.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.gtk.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-gtk3() {
  depends=('gambas3-gb-image' 'gtk3' 'librsvg')
  pkgdesc="GTK+ toolkit component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.gtk3.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.gtk3.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-httpd() {
  depends=('gambas3-runtime')
  pkgdesc="Embedded HTTP server for the interpreter"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.httpd.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.httpd.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-image-effect() {
  depends=('gambas3-gb-image' 'gcc-libs')
  pkgdesc="Image effect component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.image.effect.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.image.effect.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-image-imlib() {
  depends=('gambas3-gb-image' 'imlib2')
  pkgdesc="Imlib component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.image.imlib.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.image.imlib.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-image-io() {
  depends=('gambas3-gb-image' 'gdk-pixbuf2')
  pkgdesc="Input/Output image component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.image.io.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.image.io.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-image() {
  depends=('gambas3-runtime')
  pkgdesc="Image component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.image.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.image.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-inotify() {
  depends=('gambas3-runtime')
  pkgdesc="Filesystem events monitoring component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.inotify.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.inotify.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-jit() {
  depends=('gambas3-runtime' 'llvm35-libs')
  pkgdesc="Just-in-time compiler component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.jit.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.jit.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-libxml() {
  depends=('gambas3-runtime' 'libxml2')
  pkgdesc="libxml2 component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.libxml.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.libxml.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-logging() {
  depends=('gambas3-runtime')
  pkgdesc="Flexible log message handling component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.logging.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.logging.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-map() {
  depends=('gambas3-gb-net' 'gambas3-gb-net-curl')
  pkgdesc="Display maps component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.map
  
  mv -v usr/lib/gambas3/gb.map.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.map.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.map/* ${pkgdir}/usr/share/gambas3/control/gb.map
}

package_gambas3-gb-markdown() {
  depends=('gambas3-runtime')
  pkgdesc="Convert the Gambas markdown syntax to HTML"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.markdown.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.markdown.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-media-form() {
  depends=('gambas3-gb-media')
  pkgdesc="Media player control component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.media.form
  
  mv -v usr/lib/gambas3/gb.media.form* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.media.form* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.media.form/* ${pkgdir}/usr/share/gambas3/control/gb.media.form
}

package_gambas3-gb-media() {
  depends=('gambas3-gb-image' 'gst-plugins-base-libs')
  pkgdesc="Simplified interface to the GStreamer library component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.media.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.media.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-memcached() {
  depends=('gambas3-gb-net')
  pkgdesc="Memcached client component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.memcached.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.memcached.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-mime() {
  depends=('gambas3-runtime' 'gmime')
  pkgdesc="MIME message component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.mime.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.mime.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-mysql() {
  depends=('gambas3-runtime' 'gambas3-gb-db' 'gambas3-gb-db-mysql')
  pkgdesc="Mysql extra component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.mysql.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.mysql.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-ncurses() {
  depends=('gambas3-runtime' 'ncurses')
  pkgdesc="Ncurses component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.ncurses.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.ncurses.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-net-curl() {
  depends=('gambas3-gb-net' 'curl')
  pkgdesc="Curl component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.net.curl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.net.curl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-net-pop3() {
  depends=('gambas3-gb-net' 'gambas3-gb-mime')
  pkgdesc="POP3 component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.net.pop3
  
  mv -v usr/lib/gambas3/gb.net.pop3.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.net.pop3.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.net.pop3/* ${pkgdir}/usr/share/gambas3/control/gb.net.pop3
}

package_gambas3-gb-net-smtp() {
  depends=('gambas3-gb-net' 'glib2')
  pkgdesc="SMTP component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.net.smtp
  
  mv -v usr/lib/gambas3/gb.net.smtp.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.net.smtp.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.net.smtp/* ${pkgdir}/usr/share/gambas3/control/gb.net.smtp
}

package_gambas3-gb-net() {
  depends=('gambas3-runtime')
  pkgdesc="Network component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.net.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.net.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-openal() {
  depends=('gambas3-runtime' 'alure')
  pkgdesc="OpenAL 3D audio component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.openal.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.openal.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-opengl-glu() {
  depends=('gambas3-gb-opengl')
  pkgdesc="GL Utility component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.opengl.glu.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.opengl.glu.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-opengl-glsl() {
  depends=('gambas3-gb-opengl')
  pkgdesc="GLSL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.opengl.glsl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.opengl.glsl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-opengl-sge() {
  depends=('gambas3-gb-opengl')
  pkgdesc="Simple OpenGL game engine component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.opengl.sge* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.opengl.sge* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-opengl() {
  depends=('gambas3-gb-image' 'glew')
  pkgdesc="OpenGL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.opengl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.opengl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-openssl() {
  depends=('gambas3-runtime' 'openssl')
  pkgdesc="Openssl component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.openssl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.openssl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-option() {
  depends=('gambas3-runtime')
  pkgdesc="Getopt component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.option.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.option.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-pcre() {
  depends=('gambas3-runtime' 'pcre')
  pkgdesc="PCRE component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.pcre.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.pcre.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-pdf() {
  depends=('gambas3-gb-image' 'poppler')
  pkgdesc="PDF component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.pdf.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.pdf.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-qt4-ext() {
  depends=('gambas3-gb-qt4')
  pkgdesc="Qt4 toolkit extended component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.qt4.ext.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt4.ext.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-qt4-opengl() {
  depends=('gambas3-gb-qt4' 'gambas3-gb-opengl')
  pkgdesc="Qt4 toolkit OpenGL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.qt4.opengl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt4.opengl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-qt4-webkit() {
  depends=('gambas3-gb-qt4' 'qtwebkit')
  pkgdesc="Qt4 toolkit webkit component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.qt4.webkit
  
  mv -v usr/lib/gambas3/gb.qt4.webkit.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt4.webkit.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.qt4.webkit/* ${pkgdir}/usr/share/gambas3/control/gb.qt4.webkit
}

package_gambas3-gb-qt4() {
  depends=('gambas3-gb-image' 'qt4')
  pkgdesc="Qt4 toolkit component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.qt4.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt4.* ${pkgdir}/usr/share/gambas3/info/
}


package_gambas3-gb-qt5-opengl() {
  depends=('gambas3-gb-qt5' 'gambas3-gb-opengl')
  pkgdesc="Qt5 toolkit OpenGL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.qt5.opengl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt5.opengl.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-qt5-webkit() {
  depends=('gambas3-gb-qt5' 'qtwebkit')
  pkgdesc="Qt5 toolkit webkit component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.qt5.webkit
  
  mv -v usr/lib/gambas3/gb.qt5.webkit.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt5.webkit.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.qt5.webkit/* ${pkgdir}/usr/share/gambas3/control/gb.qt5.webkit
}

package_gambas3-gb-qt5() {
  depends=('gambas3-gb-image' 'qt5-base')
  pkgdesc="Qt5 toolkit component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.qt5.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.qt5.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-report() {
  depends=('gambas3-gb-form' 'gambas3-gb-image-io')
  pkgdesc="Report component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.report
  
  mv -v usr/lib/gambas3/gb.report.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.report.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.report/* ${pkgdir}/usr/share/gambas3/control/gb.report
}

package_gambas3-gb-report2() {
  depends=('gambas3-gb-form' 'gambas3-gb-image-io')
  pkgdesc="Report2 component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.report2
  
  mv -v usr/lib/gambas3/gb.report2.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.report2.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.report2/* ${pkgdir}/usr/share/gambas3/control/gb.report2
}

package_gambas3-gb-scanner() {
  depends=('gambas3-runtime' 'libksane')
  pkgdesc="Scanner component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.scanner.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.scanner.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-sdl-sound() {
  depends=('gambas3-runtime' 'sdl_mixer')
  pkgdesc="SDL sound component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.sdl.sound.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.sdl.sound.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-sdl() {
  depends=('gambas3-gb-image-io' 'sdl_ttf' 'libxcursor' 'glew')
  pkgdesc="SDL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.sdl.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.sdl.* ${pkgdir}/usr/share/gambas3/info/
}


package_gambas3-gb-sdl2-audio() {
  depends=('gambas3-runtime' 'sdl2_mixer')
  pkgdesc="SDL2 audio component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  #mv -v usr/lib/gambas3/gb.sdl2.audio.* ${pkgdir}/usr/lib/gambas3/
  #mv -v usr/share/gambas3/info/gb.sdl2.audio.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-sdl2() {
  depends=('gambas3-gb-image' 'sdl2_ttf' 'libxcursor' 'glew')
  pkgdesc="SDL component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.sdl2.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.sdl2.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-settings() {
  depends=('gambas3-runtime')
  pkgdesc="Setting component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.settings.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.settings.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-signal() {
  depends=('gambas3-runtime')
  pkgdesc="POSIX Signals component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.signal.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.signal.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-util-web() {
  depends=('gambas3-runtime')
  pkgdesc="Web utillity component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  install -dm755 ${pkgdir}/usr/share/gambas3/control/gb.util.web
  
  mv -v usr/lib/gambas3/gb.util.web.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.util.web.* ${pkgdir}/usr/share/gambas3/info/
  mv -v usr/share/gambas3/control/gb.util.web/* ${pkgdir}/usr/share/gambas3/control/gb.util.web
}

package_gambas3-gb-util() {
  depends=('gambas3-runtime')
  pkgdesc="Utillity component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.util.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.util.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-v4l() {
  depends=('gambas3-gb-image' 'v4l-utils' 'libjpeg' 'libpng')
  pkgdesc="Video4linux component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.v4l.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.v4l.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-vb() {
  depends=('gambas3-runtime')
  pkgdesc="Visual Basic transitional component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.vb.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.vb.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-web() {
  depends=('gambas3-runtime')
  pkgdesc="CGI component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.web.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.web.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-xml-html() {
  depends=('gambas3-gb-xml')
  pkgdesc="HTML generator component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.xml.html.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.xml.html.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-xml-rpc() {
  depends=('gambas3-gb-xml' 'gambas3-gb-net-curl')
  pkgdesc="XML-RPC component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.xml.rpc.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.xml.rpc.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-xml-xslt() {
  depends=('gambas3-gb-xml' 'libxslt')
  pkgdesc="XML-XSLT component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.xml.xslt.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.xml.xslt.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-gb-xml() {
  depends=('gambas3-runtime' 'gcc-libs')
  pkgdesc="XML component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.xml.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.xml.* ${pkgdir}/usr/share/gambas3/info/
}

package_gambas3-runtime() {
  depends=('libffi' 'xdg-utils')
  pkgdesc="Runtime environment"
  conflicts=('gambas3-gb-gui')
  replaces=('gambas3-gb-gui')
  provides=("gambas3-gb-gui=${pkgver}")
  install=gambas3-runtime.install
  
  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  install -dm755 ${pkgdir}/usr/bin
  install -dm755 ${pkgdir}/usr/share/gambas3/{icons,mime}
   
  mv -v usr/bin/gb{r,x}3 ${pkgdir}/usr/bin
  mv -v usr/lib/gambas3/gb.{debug,eval,geom,draw,gui}.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.{debug,eval,gui}.* ${pkgdir}/usr/share/gambas3/info/
  install -m644 ${srcdir}/trunk/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-devel() {
  depends=('gambas3-runtime')
  pkgdesc="Development environment"

  cd ${srcdir}/fakeinstall

  install -dm755 ${pkgdir}/usr/bin

  mv -v usr/bin/gb{a,c,i}3 ${pkgdir}/usr/bin
}

package_gambas3-ide() {
  depends=('gambas3-runtime' 'gambas3-devel' 'gambas3-gb-clipper' 'gambas3-gb-db' 'gambas3-gb-db-form' 'gambas3-gb-desktop' 'gambas3-gb-desktop-x11' 'gambas3-gb-eval-highlight' 'gambas3-gb-form' 'gambas3-gb-form-dialog' 'gambas3-gb-form-mdi' 'gambas3-gb-form-stock' 'gambas3-gb-image' 'gambas3-gb-markdown' 'gambas3-gb-qt4' 'gambas3-gb-qt4-ext' 'gambas3-gb-qt4-webkit' 'gambas3-gb-settings')
  pkgdesc="Integrated Development Environment"
  conflicts=('gambas3-examples')
  replaces=('gambas3-examples')

  cd ${srcdir}/fakeinstall

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

  mv -v usr/bin/gambas3* ${pkgdir}/usr/bin/
  
  install -m644 ${srcdir}/trunk/app/desktop/gambas3.desktop ${pkgdir}/usr/share/applications/
  install -m644 ${srcdir}/trunk/app/desktop/gambas3.png ${pkgdir}/usr/share/pixmaps/
}

package_gambas3-scripter() {
  depends=('gambas3-devel')
  pkgdesc="Scripter and server programs support"
  install=gambas3-scripter.install

  cd ${srcdir}/fakeinstall

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

  mv -v usr/bin/gb{s,w}3* ${pkgdir}/usr/bin/
  install -m644 ${srcdir}/trunk/app/mime/* ${pkgdir}/usr/share/gambas3/mime/
}


package_gambas3-gb() {
  depends=('gambas3-runtime')
  pkgdesc="GB component"

  cd ${srcdir}/fakeinstall
  
  create_dirs
  
  mv -v usr/lib/gambas3/gb.* ${pkgdir}/usr/lib/gambas3/
  mv -v usr/share/gambas3/info/gb.* ${pkgdir}/usr/share/gambas3/info/
}

Last edited by jerik (2015-08-28 11:04:02)

Offline

#2 2015-08-28 11:11:21

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

What is 'gambas3-gb'?

Offline

#3 2015-08-28 11:13:43

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

I have no idea, but the Wiki says to make it. I tried to follow the instructions there...

Offline

#4 2015-08-28 11:28:52

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

Trying to not make the gambas3-gb (just putting it in the runtime as it originally was), gambas3-devel now conflicts gambas3-args...

Offline

#5 2015-08-28 11:29:03

Lone_Wolf
Administrator
From: Netherlands, Europe
Registered: 2005-10-04
Posts: 12,899

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

The gambas3 package in repos doesn't appear to have a gambas3-gb  package , try commenting it out.

Try installing the packages 1 by 1 , that may help to figure out where the conflict originates.

Last edited by Lone_Wolf (2015-08-28 11:30:58)


Disliking systemd intensely, but not satisfied with alternatives so focusing on taming systemd.

clean chroot building not flexible enough ?
Try clean chroot manager by graysky

Offline

#6 2015-08-28 11:36:31

karol
Archivist
Registered: 2009-05-06
Posts: 25,440

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

What can you tell us about gambas3-args? What does it provide and conflict with?

Offline

#7 2015-08-28 11:37:56

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

You can't / shouldn't name an aur package the same as a main repo package.  gambas3-runtime is in [community], but yet you build a new gambas3-runtime with this PKGBUILD.  Many of the other packages built depend on 'gambas3-runtime' but now that is an ambiguous dependency and somewhere along the installation chain it is switched from the community version to your new version.  I don't know exactly how this causes the error you provided, but it doesn't surprise me at all that it fails.

Rename your gambas3-runtime package and disambiguate the dependencies: do they need [community]/gambas3-runtime, or your gambas3-runtime-svn.

Further all these package names should have -svn appended.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#8 2015-08-28 11:39:32

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

I tried now to install
runtime - OK
scripter - OK
ide - FAILED - conflicts the ide package....

Offline

#9 2015-08-28 11:43:51

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

Post the actual error messages - you've been here long enough to know that.  Then read my previous post.  Your gambas3-ide required several other packages as dependencies, including the ambiguous gambas3-runtime.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#10 2015-08-28 11:51:12

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

The error messages is the same as in the initial post. Just the package name that changed as indicated in the last post.

But I will try to modify package names as you suggested. So I add -svn to all packagenames, and perhaps provides('package-name-without-svn')?

Offline

#11 2015-08-28 12:01:06

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

If only we had some resource where such information could be found.  I guess were all doomed to a life a help vampirism and hand holding.

I was about to move this to the newbie corner.  I'm still undecided.  This is an elaborate PKGBUILD, and there may be real issues to deal with in it (i.e. the name ambiguity might not be the true cause of this issue, but until that obvious problem is eliminated there's no point in speculating about more complex issues).  But at the moment all the issues are newbie corner fodder.  You haven't read the documentation or provided full error messages.  Again, you've been around here long enough to know better.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#12 2015-08-28 15:59:11

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

Trilby! Sorry for the inconvinience. I am pretty much a newbie in making PKGBUILDs, but I thought this was the place to ask about them, no matter experience level. Feel free to move this post sir smile
Anyways! Your suggestion was the solution. They were conflicting the packages in the pacman repos. Thanks to regex and back referencing, I could alter the PKGBUILD rather quickly to match the suggestions you gave, and now it woks perfectly.

Regards!

Offline

#13 2015-08-28 16:31:54

Trilby
Inspector Parrot
Registered: 2011-11-29
Posts: 30,330
Website

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

I'm glad that worked.  And I'm also glad that my snarky feedback was graciously accepted as constructive criticism.  But please keep in mind that the archwiki has a lot of information and is always a good first stop.


"UNIX is simple and coherent" - Dennis Ritchie; "GNU's Not Unix" - Richard Stallman

Offline

#14 2015-08-29 10:53:44

jerik
Member
Registered: 2009-03-02
Posts: 197

Re: My PKGBUILD-files makes pacman complain about conflicting dependencies

Yes sir! smile

Have a splendid day!

Offline

Board footer

Powered by FluxBB