summaryrefslogtreecommitdiffstats
path: root/abs/core/udisks/PKGBUILD
diff options
context:
space:
mode:
authorBritney Fransen <brfransen@gmail.com>2015-08-10 12:28:06 (GMT)
committerBritney Fransen <brfransen@gmail.com>2015-08-10 12:28:06 (GMT)
commit62e86dba8de31177e5403a1ee3a528b710abff9b (patch)
tree1291cbc2df95d69728af7afe1814b196c1af7fc1 /abs/core/udisks/PKGBUILD
parent19ebf7c8c7ccdde7f0e2ee779f56b57d596df5fd (diff)
downloadlinhes_pkgbuild-62e86dba8de31177e5403a1ee3a528b710abff9b.zip
linhes_pkgbuild-62e86dba8de31177e5403a1ee3a528b710abff9b.tar.gz
linhes_pkgbuild-62e86dba8de31177e5403a1ee3a528b710abff9b.tar.bz2
udisks: rebuild
Diffstat (limited to 'abs/core/udisks/PKGBUILD')
-rw-r--r--abs/core/udisks/PKGBUILD13
1 files changed, 10 insertions, 3 deletions
diff --git a/abs/core/udisks/PKGBUILD b/abs/core/udisks/PKGBUILD
index 8e2a311..68d728e 100644
--- a/abs/core/udisks/PKGBUILD
+++ b/abs/core/udisks/PKGBUILD
@@ -3,18 +3,25 @@
pkgname=udisks
pkgver=1.0.5
-pkgrel=1
+pkgrel=2
pkgdesc="Disk Management Service"
arch=('i686' 'x86_64')
url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL')
-depends=('systemd' 'util-linux' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit' 'parted'
- 'device-mapper' 'libatasmart' 'lsof')
+depends=('systemd' 'util-linux' 'sg3_utils' 'glib2' 'dbus-glib' 'polkit'
+ 'parted' 'device-mapper' 'libatasmart' 'lsof' 'libgudev')
makedepends=('intltool' 'docbook-xsl')
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz
udisks.service
drop-pci-db.patch)
+prepare() {
+ cd "${srcdir}/${pkgname}-${pkgver}"
+
+ # https://bugs.freedesktop.org/show_bug.cgi?id=90778
+ sed -i '1i #include <sys/stat.h>' src/helpers/job-drive-detach.c
+}
+
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \