summaryrefslogtreecommitdiff
path: root/gnome-unstable/metacity/PKGBUILD
diff options
context:
space:
mode:
authorParabola <dev@list.parabolagnulinux.org>2011-04-07 03:09:25 +0000
committerParabola <dev@list.parabolagnulinux.org>2011-04-07 03:09:25 +0000
commitbd65dc7107bfdd881c3b5451d0300824cf435428 (patch)
treee3a556d41162da07c82e31daa6fc22af18719e63 /gnome-unstable/metacity/PKGBUILD
parent415856bdd4f48ab4f2732996f0bae58595092bbe (diff)
Thu Apr 7 03:09:43 UTC 2011
Diffstat (limited to 'gnome-unstable/metacity/PKGBUILD')
-rw-r--r--gnome-unstable/metacity/PKGBUILD34
1 files changed, 34 insertions, 0 deletions
diff --git a/gnome-unstable/metacity/PKGBUILD b/gnome-unstable/metacity/PKGBUILD
new file mode 100644
index 000000000..14e5d12a0
--- /dev/null
+++ b/gnome-unstable/metacity/PKGBUILD
@@ -0,0 +1,34 @@
+# $Id: PKGBUILD 118084 2011-04-05 11:18:53Z ibiru $
+# Maintainer: Jan de Groot <jgc@archlinux.org>
+
+pkgname=metacity
+pkgver=2.34.0
+pkgrel=1
+pkgdesc="A window manager for GNOME2"
+arch=(i686 x86_64)
+license=('GPL')
+depends=('startup-notification' 'gconf' 'zenity' 'libcanberra' 'libgtop' 'libwnck' 'libsm')
+makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils' 'gnome-common')
+url="http://www.gnome.org"
+groups=('gnome')
+options=('!libtool' '!emptydirs')
+install=metacity.install
+source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2)
+sha256sums=('e316beff76658c98e21ddf4e7eaba12cd761b35002dc38701441db6740a6d698')
+
+build() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ ./configure --prefix=/usr --sysconfdir=/etc \
+ --libexecdir=/usr/lib/metacity \
+ --localstatedir=/var --disable-static
+ make
+}
+
+package() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+
+ install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
+ gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain metacity ${pkgdir}/etc/gconf/schemas/*.schemas
+ rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
+}