blob: 02e3453ef0e0ad056c0e4458bba73d255edff08c (
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.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"
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="30bd432dd0f19305e846a122d4c7c6fe libxfce4ui-4.8.1.tar.bz2"
|