blob: 4ce21b8f6e3906e0215e53d41602e998a8b692f5 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libxfce4ui
pkgver=4.8.0
pkgrel=3
pkgdesc="Widgets library for the Xfce desktop environment"
url="http://www.xfce.org/"
arch="all"
license="GPL2"
subpackages="$pkgname-dev $pkgname-doc"
depends=
replaces="libxfcegui4"
makedepends="gtk+-dev xfconf-dev libxfce4util-dev startup-notification-dev
glade3-dev"
source="http://archive.xfce.org/src/xfce/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2"
depends_dev="gtk+-dev libxfce4util-dev xfconf-dev startup-notification-dev"
build() {
cd "$srcdir"/$pkgname-$pkgver
./configure --prefix=/usr \
--sysconfdir=/etc \
--libexecdir=/usr/lib \
--localstatedir=/var \
--enable-gladeui \
--disable-static
make || return 1
}
package() {
cd "$srcdir"/$pkgname-$pkgver
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="df9acb3328dff905bd0777b84532b69f libxfce4ui-4.8.0.tar.bz2"
|