updated on Tue Jan 10 12:02:00 UTC 2012
[aur-mirror.git] / minbar / PKGBUILD
blob607808ce7cb17b26c49b3afdc1eb2197c1a86e36
1 # Contributor: linuxSEAT <--put_my_name_here--@gmail.com>
3 pkgname=minbar
4 pkgver=0.2.1
5 pkgrel=5
6 pkgdesc="Islamic prayer times and athan for GNOME"
7 url="http://djihed.com/minbar"
8 arch=('i686' 'x86_64')
9 license=('GPL')
10 depends=('glibc' 'libitl' 'gnome-common' 'gtk2' 'libxml2' 'gconf'
11 'libgnomecanvas' 'gstreamer0.10' 'gstreamer0.10-base-plugins' 'libnotify'
12 'intltool' 'rarian')
13 optdepends=('xfce4-xfapplet-plugin: adds Xfce4 panel support')
14 install=$pkgname.install
15 source=(http://files.djihed.com/minbar/$pkgname-$pkgver.tar.bz2
16         minbar.patch)
17 md5sums=('dd1543a2e6cc9873d39d60b61dec7508' 
18          '476f6956c3944b19b05f641d0379f0bc')
20 build() {
21   cd $srcdir/$pkgname-$pkgver
23   patch -p1 -i ../minbar.patch || return 1
24   ./autogen.sh --prefix=/usr --sysconfdir=/etc
25   make || return 1
26   make -j1 GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
28   install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
29   gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
30   rm -f ${pkgdir}/etc/gconf/schemas/*.schemas