summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorAlexey D2017-04-23 16:52:55 +0300
committerAlexey D2017-04-23 16:53:54 +0300
commit04e298a1cc789e0048f20bfeb23674eaa7283604 (patch)
tree58788bcc52d6eae609db679e69b094bc6c1e5af4 /PKGBUILD
parenta1b588f132a7daba78d22cd08788bc6fb8a0b0cb (diff)
downloadaur-04e298a1cc789e0048f20bfeb23674eaa7283604.tar.gz
version 2.6.4-1
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD25
1 files changed, 14 insertions, 11 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 32df16131d4..5d3e8420ebd 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,7 +3,7 @@
# Contributor: Ionut Biru <ibiru@archlinux.org>
pkgname=udisks2-nosystemd
-pkgver=2.1.8
+pkgver=2.6.4
pkgrel=1
pkgdesc="Disk Management Service, version 2"
arch=('i686' 'x86_64')
@@ -11,7 +11,7 @@ url="http://www.freedesktop.org/wiki/Software/udisks"
license=('GPL2')
groups=('eudev-base')
depends=('glib2' 'udev' 'polkit-consolekit' 'libatasmart' 'util-linux' 'libgudev')
-makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'python2')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'gnome-common')
optdepends=('parted: partition management'
'gptfdisk: GUID partition table support'
'ntfs-3g: NTFS filesystem management support'
@@ -20,12 +20,19 @@ provides=("udisks2=${pkgver}")
conflicts=('udisks2' 'udisks2-eudev')
replaces=('udisks2' 'udisks2-eudev')
options=(!libtool)
-source=(http://udisks.freedesktop.org/releases/udisks-${pkgver}.tar.bz2)
-sha256sums=('da416914812a77e5f4d82b81deb8c25799fd3228d27d52f7bf89a501b1857dda')
+source=(https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz
+ dbus_service_fix.patch)
+sha256sums=('7c7889dbd8f910b8a8094841168c04d48e0bdaf946b22aa5f0742a460473c191'
+ '1721df69e97ad8fd0567448ef4752a35288b68f25111316054aec6fb4e749f86')
+
+prepare() {
+ cd "udisks-udisks-$pkgver"
+ patch -p1 -i ../dbus_service_fix.patch
+}
build() {
- cd "udisks-$pkgver"
- ./configure \
+ cd "udisks-udisks-$pkgver"
+ ./autogen.sh \
--prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
@@ -33,14 +40,10 @@ build() {
--sbindir=/usr/bin \
--libexecdir=/usr/lib
make
-
- # fix mdadm location
- sed -i -e 's#/sbin/mdadm#/usr/bin/mdadm#g' \
- "${srcdir}/udisks-${pkgver}"/data/80-udisks2.rules
}
package() {
- cd "udisks-$pkgver"
+ cd "udisks-udisks-$pkgver"
make DESTDIR="$pkgdir" install \
bash_completiondir=/usr/share/bash-completion/completions
}