updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / brightside / PKGBUILD
blob985cdbe49aeb3ff0e18f6c682f5df09f92f7fb21
1 # Contributor: disturbed1 <disturbed1976@gmail.com>
2 pkgname=brightside
3 pkgver=1.4.0
4 pkgrel=1
5 pkgdesc="Add reactivity to the corners and edges of your GNOME desktop"
6 depends=('libgnomeui' 'libwnck')
7 arch=('i686' 'x86_64')
8 license=('GPL')
9 url="http://en.wikipedia.org/wiki/Brightside"
10 install=brightside.install
11 source=('http://archive.ubuntu.com/ubuntu/pool/universe/b/brightside/brightside_1.4.0.orig.tar.gz'
12         'wnck_workspace.patch'
13         'brightside.install')
14 md5sums=('7cbe6056db177fd2a4bfe7b0f889dec9' 'ef4fef5c25077b81ecce32440a20fec3' '582d0e04a95efbe0bc71b863e91d2807')
16 build() {
17   cd $startdir/src/$pkgname-$pkgver.orig/src
18   patch -Np1 -i $startdir/wnck_workspace.patch || return 1
19   cd ..
20   ./configure --prefix=/usr --enable-tray-icon
21   make || return 1
22   make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR=$startdir/pkg install || return 1
23   
24   mkdir -p ${startdir}/pkg/usr/share/gconf/schemas
25   cp ${startdir}/pkg/usr/etc/gconf/schemas/*.schemas ${startdir}/pkg/usr/share/gconf/schemas/
26   rm -rf ${startdir}/pkg/usr/etc/