mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-08 22:45:43 +00:00
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# $Id: PKGBUILD 49726 2009-08-15 13:30:42Z jgc $
|
|
# Maintainer: Jan de Groot <jgc@archlinux.org>
|
|
|
|
pkgname=metacity
|
|
pkgver=2.26.0
|
|
pkgrel=2
|
|
pkgdesc="A window manager for GNOME2"
|
|
arch=(i686 x86_64)
|
|
license=('GPL')
|
|
depends=('startup-notification>=0.10' 'gconf>=2.26.1' 'zenity>=2.26.0')
|
|
makedepends=('intltool' 'pkgconfig' 'gnome-doc-utils>=0.16.0')
|
|
url="http://www.gnome.org"
|
|
groups=('gnome')
|
|
options=('!libtool' '!emptydirs')
|
|
install=metacity.install
|
|
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2
|
|
bug572573.patch)
|
|
md5sums=('eafb624e79fbcdab6da59acc222430b1'
|
|
'3a1608a716cc7af24a4b5cc323c169ea')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
patch -Np1 -i "${srcdir}/bug572573.patch" || return 1
|
|
./configure --prefix=/usr --sysconfdir=/etc \
|
|
--libexecdir=/usr/lib/metacity \
|
|
--localstatedir=/var --disable-static || return 1
|
|
make || return 1
|
|
make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
|
|
|
|
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 || return 1
|
|
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
|
|
}
|