pkgname=libmateui
pkgver=1.1.2
pkgrel=1
pkgdesc="User Interface library for MATE"
arch=('i686' 'x86_64')
license=('LGPL')
depends=('libmatecomponentui' 'libmatekeyring' 'libsm')
makedepends=('intltool' 'pkgconfig')
groups=('mate')
options=('!emptydirs' '!libtool')
url="http://matsusoft.com.ar/projects/mate/"
source=()
sha256sums=()

build() {
	cd "${srcdir}/../../../"
    ./autogen.sh \
        --prefix=/usr \
        --sysconfdir=/etc \
        --localstatedir=/var \
        --disable-static \
        --libexecdir=/usr/lib/libmateui || return 1
    # --with-gtk=3.0

    make || return 1
}

package() {
	cd "${srcdir}/../../../"

    make DESTDIR="$pkgdir" install || return 1
}
