pkgname=libmatecomponentui
pkgver=1.1.1
pkgrel=1
pkgdesc="User Interface library for MateComponent"
arch=('i686' 'x86_64')
license=('GPL' 'LGPL')
depends=('libmatecanvas' 'libmate')
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 || return 1
    make || return 1
}

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

    make DESTDIR="${pkgdir}" install
    rm -f "${pkgdir}/usr/share/applications/matecomponent-browser.desktop"
}
