blob: 58d3e073e1cb576dfe49cf0dc28f8b0480dfc613 (
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
64
65
|
# Contributor: William Pitcock <nenolod@dereferenced.org>
# Maintainer: William Pitcock <nenolod@dereferenced.org>
pkgname=metacity
pkgver=2.30.3
pkgrel=6
pkgdesc="GTK+ window manager"
url="http://projects.gnome.org/metacity"
arch="all"
license="GPL"
depends="zenity"
depends_dev="gtk+-dev
gconf-dev
libx11-dev
gnome-doc-utils
libgnome-dev
gnome-desktop-dev
libwnck-dev
librsvg-dev
libxcomposite-dev"
makedepends="$depends $depends_dev intltool gobject-introspection-dev"
install="$pkgname.post-install $pkgname.pre-deinstall $pkgname.post-upgrade"
subpackages="$pkgname-dev $pkgname-lang"
replaces_dev="$pkgname"
source="ftp://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2
fix-xopen.patch
"
_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
local i
cd "$_builddir"
update_config_sub || return 1
for i in $source; do
case $i in
*.patch) msg $i; patch -p1 -i "$srcdir"/$i || return 1;;
esac
done
}
build() {
cd "$_builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--enable-compositor \
--disable-scrollkeeper \
|| return 1
make || return 1
}
package() {
cd "$_builddir"
export GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1
make DESTDIR="$pkgdir" install || return 1
}
md5sums="553784f376d96b902e19ff437cd5b339 metacity-2.30.3.tar.bz2
3d45e9fe130a89f9a31c415f4f979103 fix-xopen.patch"
sha256sums="08f887018fa5e447cf184d03bae3fe2c05fdb7583bed6768e3b4d66392fc18dd metacity-2.30.3.tar.bz2
ae4b5961934a5a799358cae4f91af6aa0627ec9bb3bcd942d9ec2ea0ea83c45a fix-xopen.patch"
sha512sums="d74150d2340605d5d023f9c528d771f7c469ead635a938caf92326e6f80aec9cd1f6eed49a7704698bd7cb0a3455ebaee459d02714bb821322c60850505d6b2e metacity-2.30.3.tar.bz2
7177b9599af7d55789d6eefc6d822251c54ab14449a2b77e1bbb0061b22630223dfa1dbd41a3cfee536469c0b448dd3b935ffb1c62bd4ec5571c5a15385aafbe fix-xopen.patch"
|