1 # Maintainer : SpepS < dreamspepser at yahoo dot it >
2 # Contributor: Ronald van Haren <ronald.archlinux.org>
3 # Contributor: JJDaNiMoTh <jjdanimoth.aur@gmail.com>
10 pkgdesc="Decorator of Compiz for GNOME"
11 url="http://www.go-compiz.org/"
12 license=('GPL2' 'LGPL2.1' 'MIT')
13 arch=('i686' 'x86_64')
14 depends=('compiz-core' 'metacity>=2.28')
15 makedepends=('intltool>=0.23')
17 options=('!libtool' '!emptydirs')
18 conflicts=('compiz-git' "$_pkg-git" "$_pkg")
20 source=("http://releases.$_p.org/$pkgver/$_p-$pkgver.tar.gz")
21 install="$_pkg.install"
22 md5sums=('d7e96f839b7cb0901470d5da04be4db2')
25 cd "$srcdir/$_p-$pkgver"
27 ./configure --prefix=/usr \
36 --with-gconf-schema-file-dir=/etc/gconf/schemas
41 cd "$srcdir/$_p-$pkgver"
44 make DESTDIR="$pkgdir/" install
47 install -Dm644 window-decorator/gwd.schemas \
48 "$pkgdir/usr/share/gconf/schemas/gwd.schemas"
52 for i in dbus gconf ini inotify png regex svg glib kconfig
54 [ -f $_p-$i ] && rm $_p-$i.schemas
58 "$pkgdir/usr/share/gconf/schemas/$_pkg.schemas" *.schemas
64 install -Dm644 COPYING.MIT \
65 "$pkgdir/usr/share/licenses/$_pkg/COPYING.MIT"
66 install -d "$pkgdir/usr/share/licenses/$pkgname"
67 ln -s /usr/share/licenses/$_pkg/COPYING.MIT \
68 "$pkgdir/usr/share/licenses/$pkgname/LICENSE"