pkgname=libgee
pkgver=0.20.8
pkgdesc="A collection library providing GObject-based interfaces and classes for commonly used data structures"
homepage="https://gitlab.gnome.org/GNOME/libgee"
license=(LGPL-2.1-or-later)
arch=(x86_64)
depends=(
  glib
  glibc
)
makedepends=(
  git
  gobject-introspection
  vala
)
sources=("${pkgname}-${pkgver}.tar.xz")
urls=("https://download.gnome.org/sources/${pkgname}/${pkgver%.*}/${sources[0]}")
sha512sums=("9af883bb4b2c25c429271201e634d1851378631b913bab282fe432b2b76a44674111e65caa99269fd403454c87b5474f2567c554bddd0b3ea58ca6e138c311e1")

src_prepare() {
  tar -xf ${distdir}/${sources[0]} --strip-components=1
}

src_build() {
  ./configure --prefix=/usr --disable-static \
    --enable-introspection
  make
}

src_install() {
  make DESTDIR="$pkgdir" install
}

# vim:ft=sh syn=sh et sw=2:
