# Maintainer: Natanael Copa pkgname=libxfce4ui pkgver=4.10.0 pkgrel=2 pkgdesc="Widgets library for the Xfce desktop environment" url="http://www.xfce.org/" arch="all" license="GPL2" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang" depends= replaces="libxfcegui4 xfce-utils" makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev glade3-dev gtk-doc" source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev" build() { cd "$srcdir"/$pkgname-$pkgver ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --libexecdir=/usr/lib \ --localstatedir=/var \ --enable-gladeui \ --with-vendor-info="Alpine Linux" \ --disable-static \ --enable-gtk-doc \ || return 1 make || return 1 } package() { cd "$srcdir"/$pkgname-$pkgver make DESTDIR="$pkgdir" install || return 1 rm "$pkgdir"/usr/lib/*.la \ "$pkgdir"/usr/lib/glade3/modules/*.la \ || return 1 } dev() { default_dev mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share mv "$pkgdir"/usr/lib/glade3 "$subpkgdir"/usr/lib/ || return 1 mv "$pkgdir"/usr/share/glade3 "$subpkgdir"/usr/share/ || return 1 } md5sums="6df1ce474a3d4885aee31cda9dbc9192 libxfce4ui-4.10.0.tar.bz2"