# Description: GNOME Docking Library
# URL: https://gitlab.gnome.org/GNOME/gdl
# Maintainer: Tim Biermann, tbier at posteo dot de
# Depends on: gtk3

name=gdl
version=3.40.0
release=1
source=(https://ftp.gnome.org/pub/GNOME/sources/$name/${version%.*}/$name-$version.tar.xz)

build() {
  cd $name-$version

  ./configure --prefix=/usr \
    --sysconfdir=/etc \
    --localstatedir=/var \
    --disable-static \
    --disable-nls

  make
  make DESTDIR=$PKG install

  rm -r $PKG/usr/share/gtk-doc
}