# Maintainer: Natanael Copa pkgname=libxfce4ui pkgver=4.12.0 pkgrel=1 pkgdesc="Widgets library for the Xfce desktop environment" url="http://www.xfce.org/" arch="all" license="GPL2" subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-gtk3" depends= depends_dev="gtk+2.0-dev gtk+3.0-dev libxfce4util-dev xfconf-dev startup-notification-dev" makedepends="$depends_dev glade3-dev gtk-doc" source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2" _builddir="$srcdir/$pkgname-$pkgver" prepare() { cd "$_builddir" } build() { cd "$_builddir" ./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 "$_builddir" 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 } gtk3() { mkdir -p "$subpkgdir"/usr/lib mv "$pkgdir"/usr/lib/libxfce4ui-2.so.* \ "$pkgdir"/usr/lib/libxfce4kbd-private-3.so.* \ "$subpkgdir"/usr/lib/ } md5sums="0215b94338a2592e7284aaa23c5c5661 libxfce4ui-4.12.0.tar.bz2" sha256sums="011d9532337a8d0c4d6d2c4dfc854b4f298dbad0e9513b3495a573673b863987 libxfce4ui-4.12.0.tar.bz2" sha512sums="8ab502dc8bf7fbf44964fe1ea4c93d60fe21499e982fdf3c8610a2a8cd9aace87c962112e4ae6436ab22856c78f1c0644e0be856eb87783321b942fee3bf9c4d libxfce4ui-4.12.0.tar.bz2"