blob: 9e5bf31811c568f138d88fe721e6c984b5fa7230 (
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
|
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=libwnck
pkgver=2.31.0
pkgrel=3
pkgdesc="Window Navigator Construction Kit"
url="https://git.gnome.org/browse/libwnck"
arch="all"
license="LGPL"
subpackages="$pkgname-dev $pkgname-doc $pkgname-lang"
depends=
depends_dev="glib-dev gtk+2.0-dev libx11-dev pango-dev cairo-dev
startup-notification-dev libxres-dev"
makedepends="$depends_dev libxres-dev intltool"
source="http://ftp.gnome.org/pub/gnome/sources/$pkgname/${pkgver%.*}/$pkgname-$pkgver.tar.xz"
_builddir="$srcdir"/$pkgname-$pkgver
prepare() {
cd "$_builddir"
update_config_sub || return 1
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
make DESTDIR="$pkgdir" install || return 1
rm "$pkgdir"/usr/bin/wnckprop \
"$pkgdir"/usr/bin/wnck-urgency-monitor \
|| return 1
find "$pkgdir" -name '*.la' -delete
}
md5sums="f03e1139296e2a3a92e3b65a3080cd32 libwnck-2.31.0.tar.xz"
sha256sums="83f732d20781fc88b22cdc6aaf2d4f388db6d3d4ff28d1a8fd45be9fb7743a9e libwnck-2.31.0.tar.xz"
sha512sums="54262a08882021f08f3ba7f2ddfa33fc1f02e391a0f61cf999a50a089e0d277dfe13ab133c1a46e9abf0599bd24c21dacff80b51013cbb1375d2cd71ac9abbe9 libwnck-2.31.0.tar.xz"
|