blob: 09fc854094d69665955f7ad201332046d1a2d8e7 (
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
57
58
59
60
61
62
63
|
# Contributor: Łukasz Jendrysik <scadu@yandex.com>
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4ui
pkgver=4.12.1
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 $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="ea9fad7d059fe8f531fe8db42dabb5a9 libxfce4ui-4.12.1.tar.bz2"
sha256sums="3d619811bfbe7478bb984c16543d980cadd08586365a7bc25e59e3ca6384ff43 libxfce4ui-4.12.1.tar.bz2"
sha512sums="9d132a81bc3385b6582c2d97ed7a1fc0ea289d9098cc4c3a7fb523329eb6afb18716bcf98a5832c4484794eb7a2be4242fa2e71083cd5e55cb19e3b8003458a8 libxfce4ui-4.12.1.tar.bz2"
|