#Maintainer: Frederic Boulet bipbiponlinux~AT~gmail.com pkgname=DeviceKit-disks pkgver=009 pkgrel=1 zenver=64 arch=i486 source=("http://hal.freedesktop.org/releases/$pkgname-$pkgver.tar.gz" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/00git-lv-nopolicy.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/01-mkfs-tempdir.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/02-allow-simulated-smart.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/03-hide-configuration-partition-12.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/04-hide-wd-smartware-partition.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/05-german-translations.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/06-guid-partition-flags.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/07-fix-atasmart-crash.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/08-dont-probe-dm-devices.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/09-reiserfs-support.patch" \ "http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/10-ide-cd-support.patch") sourcetemplate=http://zenwalk.pinguix.com/user-accounts/bip/EXTRA/l/$pkgname docs=("readme" "install" "copying" "changelog" "authors" "news" "todo") url=http://hal.freedesktop.org/releases/ options=('norequiredbuilder' 'keepdepfile') slackdesc=\ ( #|-----handy-ruler------------------------------------------------------| "DeviceKit-disks (An abstraction for enumerating storage devices)" "DeviceKit-disks is a daemon that provide interfaces to obtain" "information and perform operations on storage devices." ) build() { cd $startdir/src/$pkgname-$pkgver patch -p1 < ../00git-lv-nopolicy.patch patch -p1 < ../01-mkfs-tempdir.patch patch -p1 < ../02-allow-simulated-smart.patch patch -p1 < ../03-hide-configuration-partition-12.patch patch -p1 < ../04-hide-wd-smartware-partition.patch patch -p1 < ../05-german-translations.patch patch -p1 < ../06-guid-partition-flags.patch patch -p1 < ../07-fix-atasmart-crash.patch patch -p1 < ../08-dont-probe-dm-devices.patch patch -p1 < ../09-reiserfs-support.patch patch -p1 < ../10-ide-cd-support.patch ./configure --prefix=/usr --localstatedir=/var --sysconfdir=/etc --enable-gtk-doc="no" --disable-static make || return 1 make install DESTDIR=$startdir/pkg }