PKGBUILDs/extra/zenity/PKGBUILD
2009-10-09 21:23:22 -05:00

25 lines
885 B
Bash

# $Id: PKGBUILD 41710 2009-06-06 22:30:59Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=zenity
pkgver=2.26.0
pkgrel=2
pkgdesc="Display graphical dialog boxes from shell scripts"
arch=(i686 x86_64)
license=('LGPL')
depends=('libglade>=2.6.4' 'libnotify>=0.4.5')
makedepends=('intltool' 'gnome-doc-utils>=0.16.0' 'pkgconfig')
groups=('gnome-extra')
url="http://www.gnome.org"
source=(http://ftp.gnome.org/pub/gnome/sources/${pkgname}/2.26/${pkgname}-${pkgver}.tar.bz2
zenity-focus.patch)
md5sums=('6660ce6dac0a6ca495a0e954cb6b40a2' 'd693d0302f0026f84b50add2a61ac06c')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
patch -Np1 -i "${srcdir}/zenity-focus.patch" || return 1
./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --disable-scrollkeeper || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}