diff options
author | root <root@rshg047.dnsready.net> | 2011-04-11 04:43:21 +0000 |
---|---|---|
committer | root <root@rshg047.dnsready.net> | 2011-04-11 04:43:21 +0000 |
commit | 06c7c4c5ef2c808f288b2a8cd63548a322d66754 (patch) | |
tree | 178258b847b80ef8c3f25abc6c5ae2495048b66b /testing/udisks/PKGBUILD | |
parent | 8f6922302486fa1cc1112ff8b3daddb48c3260f2 (diff) |
Mon Apr 11 04:43:21 UTC 2011
Diffstat (limited to 'testing/udisks/PKGBUILD')
-rw-r--r-- | testing/udisks/PKGBUILD | 37 |
1 files changed, 37 insertions, 0 deletions
diff --git a/testing/udisks/PKGBUILD b/testing/udisks/PKGBUILD new file mode 100644 index 000000000..98feb0535 --- /dev/null +++ b/testing/udisks/PKGBUILD @@ -0,0 +1,37 @@ +# $Id: PKGBUILD 119007 2011-04-10 12:50:18Z ibiru $ +# Maintainer: Jan de Groot <jgc@archlinux.org> + +pkgname=udisks +pkgver=1.0.3 +pkgrel=1 +pkgdesc="Disk Management Service" +arch=('i686' 'x86_64') +url="http://www.freedesktop.org/wiki/Software/udisks" +license=('GPL') +depends=('udev' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof' 'lvm2' 'eject') +makedepends=('intltool' 'docbook-xsl' 'gtk-doc') +options=(!libtool) +#source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) +source=(ftp://ftp.archlinux.org/other/${pkgname}-${pkgver}.tar.xz + 01-mkfs-tempdir.patch) +sha256sums=('a4d18b2de59c1567df5342f26960c6c3e70a0320f7bafe42893f2708c9b57dd5' + '786c0adb1a37e16b351c906527e3cbd17193bb51d8c1dd0889f216556c419c6c') + +build() { + cd "${srcdir}/${pkgname}-${pkgver}" + patch -Np1 -i "${srcdir}/01-mkfs-tempdir.patch" + ./autogen.sh + ./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 +} + +package() { + cd "${srcdir}/${pkgname}-${pkgver}" + make DESTDIR="${pkgdir}" install + + rm -rf "${pkgdir}/var/run" +} |