PKGBUILDs/extra/zenity/PKGBUILD
2009-10-10 23:11:32 -05:00

25 lines
833 B
Bash

# Maintainer: Jan de Groot <jgc@archlinux.org>
pkgname=zenity
pkgver=2.26.0
pkgrel=2
pkgdesc="Display graphical dialog boxes from shell scripts"
arch=('arm')
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
}