blob: 20b1bd8d298f9c859e358daeff52e023b75025b3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4ui
pkgver=4.12.0
pkgrel=0
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=
makedepends="gtk+2.0-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+2.0-dev libxfce4util-dev xfconf-dev startup-notification-dev"
_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
}
md5sums="0215b94338a2592e7284aaa23c5c5661 libxfce4ui-4.12.0.tar.bz2"
sha256sums="011d9532337a8d0c4d6d2c4dfc854b4f298dbad0e9513b3495a573673b863987 libxfce4ui-4.12.0.tar.bz2"
sha512sums="8ab502dc8bf7fbf44964fe1ea4c93d60fe21499e982fdf3c8610a2a8cd9aace87c962112e4ae6436ab22856c78f1c0644e0be856eb87783321b942fee3bf9c4d libxfce4ui-4.12.0.tar.bz2"
|