desktop/udisks/PKGBUILD
2010-07-25 18:56:54 +00:00

23 lines
856 B
Bash

pkgname=udisks
pkgver=1.0.0
pkgrel=1
pkgdesc="Disk Management Service"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL')
depends=('udev>=151' 'sg3_utils>=1.28' 'glib2>=2.23.4' 'dbus-glib>=0.82' 'polkit>=0.96' 'parted>=2.2' 'device-mapper>=2.02.60' 'libatasmart>=0.17' 'lsof')
options=(!libtool)
makedepends=('intltool' 'docbook-xsl')
replaces=('devicekit-disks')
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
sha256sums=('54834720ca0d44e04f1b71f6b0782bc30af506b5ec87fe024f93e50b70734955')
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
export CFLAGS="$CFLAGS -fno-strict-aliasing"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
--libexecdir=/usr/lib/udisks --disable-static || return 1
make || return 1
make DESTDIR="${pkgdir}" install || return 1
}