summaryrefslogtreecommitdiff
path: root/extra/udisks/PKGBUILD
blob: 3cef8553cb59152e8a67d37c40706fb8e7886d98 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
# $Id: PKGBUILD 106693 2011-01-17 23:18:27Z jgc $
# Maintainer: Jan de Groot <jgc@archlinux.org>

pkgname=udisks
pkgver=1.0.2
pkgrel=2
pkgdesc="Disk Management Service"
arch=('i686' 'x86_64' 'mips64el')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL')
depends=('udev>=164' 'sg3_utils>=1.29' 'glib2>=2.26.1' 'dbus-glib>=0.92' 'polkit>=0.98' 'parted>=2.3' 'device-mapper>=2.02.77' 'libatasmart>=0.17' 'lsof' 'lvm2>=2.02.77' 'eject')
makedepends=('intltool' 'docbook-xsl')
options=(!libtool)
replaces=('devicekit-disks')
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
sha256sums=('7dc1a150a6a31b2727144603fa5a8f9852696fc5bdc4a11917b9b0f1b8e3dcf1')

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"

  ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
      --libexecdir=/usr/lib/udisks --disable-static
  #fix location for bash_completion helper
  sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile

  make
  make DESTDIR="${pkgdir}" install
}