makedepends=(gtk2 gtk3 lua gnome-common)

description="The GTK Engines package contains eight themes/engines and two additional engines for GTK2"
url="http://ftp.gnome.org/pub/gnome/sources/gtk-engines"

maintainer="rems"
packager="Great-OS Team"

name=gtk-engines
version=2.21.0
_commit=e23eb81ade8c815dcd4da026ab7a2b7307a4f326
release=2

source=(https://gitlab.gnome.org/Archive/$name/-/archive/${_commit}/$name-${_commit}.tar.gz)

prepare()
{
  cd ${name}-${_commit}
}

build()
{
  cd ${name}-${_commit}
  ./autogen.sh
  ./configure --prefix=/usr \
    --disable-static
  make
  make DESTDIR=$PKG install
}
