# $Id: PKGBUILD 130871 2011-07-08 15:15:27Z ibiru $ # Maintainer: Jan de Groot pkgname=gnome-disk-utility pkgver=3.0.0 pkgrel=2 pkgdesc="GNOME libraries and applications for dealing with storage devices" arch=('i686' 'x86_64' 'mips64el') license=('GPL') url="http://www.gnome.org" depends=('dbus-glib' 'libgnome-keyring' 'libunique3' 'udisks' 'libnotify' 'hicolor-icon-theme' 'avahi') makedepends=('gtk-doc' 'intltool') options=('!libtool' '!emptydirs') install=gnome-disk-utility.install source=(http://ftp.gnome.org/pub/GNOME/sources/${pkgname}/${pkgver%.*}/${pkgname}-${pkgver}.tar.bz2 fix-freeze.patch add-support-for-DeviceAutomountHint.patch) sha256sums=('94d31142a5f488d034cd2954df4ab1c26bd053fb0d46d230fba91b4f8b3663fb' '818b70360978968457d2c50738347c6726ed8d0c007eb57074881a7e33652526' '1e2f8d2d8ea121d21ff2b2a1e208c0fd4af603a4ed0d024ad326a991ebc7a613') build() { cd "${srcdir}/${pkgname}-${pkgver}" patch -Np1 -i "${srcdir}/fix-freeze.patch" patch -Np1 -i "${srcdir}/add-support-for-DeviceAutomountHint.patch" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib/gnome-disk-utility \ --disable-scrollkeeper --disable-nautilus --disable-gtk-doc make } package() { cd "${srcdir}/${pkgname}-${pkgver}" make DESTDIR="${pkgdir}" install }