aboutsummaryrefslogtreecommitdiffstats
path: root/community/libxfce4ui
diff options
context:
space:
mode:
authorNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:44:46 +0000
committerNatanael Copa <ncopa@alpinelinux.org>2018-04-23 19:44:46 +0000
commit27d1e194717b1696b3169ad43df027876247b91a (patch)
tree8416dc507bc2aed5f47588d345abe1ef22a6c60f /community/libxfce4ui
parent0090cfe5db52bd764631d9b1d55e6e74c7cf2ae8 (diff)
downloadaports-27d1e194717b1696b3169ad43df027876247b91a.tar.bz2
aports-27d1e194717b1696b3169ad43df027876247b91a.tar.xz
main/{xfce*} => community/
Move everything xfce to community
Diffstat (limited to 'community/libxfce4ui')
-rw-r--r--community/libxfce4ui/APKBUILD56
1 files changed, 56 insertions, 0 deletions
diff --git a/community/libxfce4ui/APKBUILD b/community/libxfce4ui/APKBUILD
new file mode 100644
index 0000000000..92365fd97a
--- /dev/null
+++ b/community/libxfce4ui/APKBUILD
@@ -0,0 +1,56 @@
+# Contributor: Ɓukasz Jendrysik <scadu@yandex.com>
+# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
+pkgname=libxfce4ui
+pkgver=4.13.1
+pkgrel=0
+pkgdesc="Widgets library for the Xfce desktop environment"
+url="https://xfce.org/"
+arch="all"
+license="GPL-2.0"
+subpackages="$pkgname-dev $pkgname-doc $pkgname-lang $pkgname-gtk3"
+depends=
+depends_dev="startup-notification-dev"
+makedepends="$depends_dev gtk+2.0-dev gtk+3.0-dev libxfce4util-dev xfconf-dev
+ glade3-dev gtk-doc"
+source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
+
+build() {
+ cd "$builddir"
+ ./configure \
+ --build=$CBUILD \
+ --host=$CHOST \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --libexecdir=/usr/lib \
+ --localstatedir=/var \
+ --enable-gladeui \
+ --with-vendor-info="${DISTRO_NAME:-Alpine Linux}" \
+ --disable-static \
+ --enable-gtk-doc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
+}
+
+package() {
+ cd "$builddir"
+ make DESTDIR="$pkgdir" install
+}
+
+dev() {
+ default_dev
+ mkdir -p "$subpkgdir"/usr/lib "$subpkgdir"/usr/share
+ mv "$pkgdir"/usr/lib/glade3 "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/share/glade3 "$subpkgdir"/usr/share/
+}
+
+gtk3() {
+ mkdir -p "$subpkgdir"/usr/lib
+ mv "$pkgdir"/usr/lib/libxfce4ui-2.so.* \
+ "$pkgdir"/usr/lib/libxfce4kbd-private-3.so.* \
+ "$subpkgdir"/usr/lib/
+}
+sha512sums="056f6c944f1060f43037427304fccc7bb835a0ba5263d9c2f41c5cd2f980a61d4c45f9aa4b97004bae0b57e0020de0af43345b28f53748cea94fcd97fe785523 libxfce4ui-4.13.1.tar.bz2"