1 # Maintainer: György Balló <ballogy@freestart.hu>
2 # Contributor: Jan de Groot <jgc@archlinux.org>
5 pkgname=$_pkgname-floppy
8 pkgdesc="Disk Management Service with floppy support"
10 url="http://www.freedesktop.org/wiki/Software/udisks"
12 depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'eject')
13 makedepends=('intltool' 'docbook-xsl')
15 provides=("udisks=$pkgver")
17 source=(http://hal.freedesktop.org/releases/${_pkgname}-${pkgver}.tar.gz
19 sha256sums=('854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5'
20 '2cde9e0066d83479216c9539352a9d4bc7d8064887e2fc13a9cb490dbcfd2c58')
23 cd "${srcdir}/${_pkgname}-${pkgver}"
25 # Add back floppy support for GUI apps
26 patch -Np1 -i "${srcdir}/floppy.patch"
28 ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
29 --libexecdir=/usr/lib/udisks --disable-static
30 #fix location for bash_completion helper
31 sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
37 cd "${srcdir}/${_pkgname}-${pkgver}"
38 make DESTDIR="${pkgdir}" install