# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libgee
pkgver=0.20.3
pkgrel=0
pkgdesc="GObject collection library"
url="https://wiki.gnome.org/Projects/Libgee"
arch="all"
license="LGPL-2.1+"
depends=""
makedepends="glib-dev"
subpackages="$pkgname-dev"
source="https://download.gnome.org/sources/libgee/0.20/libgee-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var
	make
}

check() {
	make check
}

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

sha512sums="c7dd32bc02ea9f0f70e7593bc5625139802a52674e5aa07fe6fc815a78517f25590419b2da00e194bf7bf5f1505a138ba133d6dba67c44f9cdcb38389825adf7  libgee-0.20.3.tar.xz"