aboutsummaryrefslogtreecommitdiffstats
path: root/main
diff options
context:
space:
mode:
Diffstat (limited to 'main')
-rw-r--r--main/libxfce4ui/APKBUILD34
1 files changed, 16 insertions, 18 deletions
diff --git a/main/libxfce4ui/APKBUILD b/main/libxfce4ui/APKBUILD
index 5521b38490..f87dc4b53c 100644
--- a/main/libxfce4ui/APKBUILD
+++ b/main/libxfce4ui/APKBUILD
@@ -2,26 +2,20 @@
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4ui
pkgver=4.12.1
-pkgrel=1
+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 $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"
+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"
-_builddir="$srcdir/$pkgname-$pkgver"
-
-prepare() {
- cd "$_builddir"
-}
-
build() {
- cd "$_builddir"
+ cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -32,21 +26,25 @@ build() {
--enable-gladeui \
--with-vendor-info="Alpine Linux" \
--disable-static \
- --enable-gtk-doc \
- || return 1
- make || return 1
+ --enable-gtk-doc
+ make
+}
+
+check() {
+ cd "$builddir"
+ make check
}
package() {
- cd "$_builddir"
- make DESTDIR="$pkgdir" install || return 1
+ 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/ || return 1
- mv "$pkgdir"/usr/share/glade3 "$subpkgdir"/usr/share/ || return 1
+ mv "$pkgdir"/usr/lib/glade3 "$subpkgdir"/usr/lib/
+ mv "$pkgdir"/usr/share/glade3 "$subpkgdir"/usr/share/
}
gtk3() {