PKGBUILDs/community/compiz-decorator-gtk/PKGBUILD
2009-10-09 21:15:33 -05:00

60 lines
1.7 KiB
Bash

# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
pkgname=compiz-decorator-gtk
pkgver=0.8.2
pkgrel=2
pkgdesc="Decorator of Compiz for GNOME"
url="http://www.go-compiz.org/"
license=('GPL2' 'LGPL2' 'MIT')
arch=('i686' 'x86_64')
depends=('gnome-control-center>=2.24' 'compiz-core')
makedepends=('metacity>=2.24' 'intltool>=0.23')
groups=('compiz' 'compiz-gnome')
options=('!libtool' '!emptydirs')
conflicts=('compiz-git' 'compiz-decorator-gtk-git')
source=(http://releases.compiz.org/core/compiz-$pkgver.tar.gz)
install=compiz-decorator-gtk.install
md5sums=('5815da87a0cfc014d06378cb3a2efcd5')
build()
{
cd $srcdir/compiz-$pkgver
./configure --prefix=/usr --sysconfdir=/etc \
--enable-gnome \
--disable-librsvg \
--enable-metacity \
--enable-gtk \
--enable-gconf \
--with-gconf-schema-file-dir=/etc/gconf/schemas \
--disable-dbus \
--disable-annotate \
--disable-place \
--disable-kde || return 1
make || return 1
pushd gtk
make DESTDIR=$pkgdir install || return 1
mkdir -p $startdir/pkg/usr/share/gconf/schemas
install -m644 window-decorator/gwd.schemas \
$startdir/pkg/usr/share/gconf/schemas/gwd.schemas
popd
for i in dbus gconf ini inotify png regex svg glib kconfig
do
rm $startdir/src/compiz-$pkgver/metadata/compiz-$i.schemas
done
gconf-merge-schema \
${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas \
$startdir/src/compiz-$pkgver/metadata/*.schemas
rm -rf ${startdir}/pkg/etc
# install MIT license
install -Dm644 $srcdir/compiz-$pkgver/COPYING.MIT \
$pkgdir/usr/share/licenses/$pkgname/COPYING.MIT
}