diff options
author | James Meyer <james.meyer@operamail.com> | 2014-02-17 00:01:27 (GMT) |
---|---|---|
committer | James Meyer <james.meyer@operamail.com> | 2014-02-19 19:03:04 (GMT) |
commit | 76d8789a8f3dd26cd1a6cea90517d75efa922f40 (patch) | |
tree | eb763ed927e0d9dd9459055b9c860e6db5b6b406 /abs/core/udisks/PKGBUILD | |
parent | 44583f174e00b6d5799e5a5990d16a41ebc2e832 (diff) | |
download | linhes_pkgbuild-76d8789a8f3dd26cd1a6cea90517d75efa922f40.zip linhes_pkgbuild-76d8789a8f3dd26cd1a6cea90517d75efa922f40.tar.gz linhes_pkgbuild-76d8789a8f3dd26cd1a6cea90517d75efa922f40.tar.bz2 |
udisks:
update binary path to /usr/bin
refs #961
Diffstat (limited to 'abs/core/udisks/PKGBUILD')
-rw-r--r-- | abs/core/udisks/PKGBUILD | 33 |
1 files changed, 26 insertions, 7 deletions
diff --git a/abs/core/udisks/PKGBUILD b/abs/core/udisks/PKGBUILD index e576d2e..08ab090 100644 --- a/abs/core/udisks/PKGBUILD +++ b/abs/core/udisks/PKGBUILD @@ -1,31 +1,50 @@ -# $Id: PKGBUILD 160373 2012-06-01 12:58:48Z dreisner $ -# Maintainer: Jan de Groot <jgc@archlinux.org> +# $Id: PKGBUILD 198467 2013-10-30 15:03:09Z allan $ +# Maintainer: Tom Gundersen <teg@jklm.no> pkgname=udisks pkgver=1.0.4 -pkgrel=4 +pkgrel=8 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' 'eject') +depends=('systemd' 'util-linux' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted' 'device-mapper' 'libatasmart' 'lsof') makedepends=('intltool' 'docbook-xsl') -options=(!libtool) -source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz) -sha256sums=('854b89368733b9c3a577101b761ad5397ae75a05110c8698ac5b29de9a8bf8f5') +source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz udisks.service drop-pci-db.patch) build() { cd "${srcdir}/${pkgname}-${pkgver}" ./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \ --libexecdir=/usr/lib/udisks --disable-static + + patch -p1 < ../drop-pci-db.patch + make + # fix mdadm location + sed -i -e 's#/sbin/mdadm#/usr/bin/mdadm#g' \ + "${srcdir}/${pkgname}-${pkgver}"/data/80-udisks.rules } package() { cd "${srcdir}/${pkgname}-${pkgver}" make profiledir=/usr/share/bash-completion/completions DESTDIR="${pkgdir}" install chmod 644 "${pkgdir}/usr/share/bash-completion/completions/udisks-bash-completion.sh" + # move udev helpers and rules to /usr/lib mv "${pkgdir}"/lib/udev "${pkgdir}"/usr/lib/ rm -r "${pkgdir}"/lib + + # move umount helper to /usr/bin + mv "${pkgdir}"/sbin/umount.udisks "${pkgdir}"/usr/bin/ + rm -r "${pkgdir}"/sbin + + install -Dm644 "$srcdir/udisks.service" "$pkgdir/usr/lib/systemd/system/udisks.service" + echo "SystemdService=udisks.service" \ + >> "$pkgdir/usr/share/dbus-1/system-services/org.freedesktop.UDisks.service" + + # install the /media folder + install -d -m 755 $pkgdir/media } +md5sums=('86c63b2b5484f2060499a052b5b6256b' + '5d80832b4d4da72beeb45c15b63a1481' + '773cccd70afd18ace4332037feff67ec') |