summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlexey D2015-07-07 08:53:04 +0300
committerAlexey D2015-07-07 08:53:04 +0300
commit2b0a96f40601163754a2c4167068a3886258ee7d (patch)
tree591a22f78f4a822ba37cb337d797ac0bce797681
downloadaur-2b0a96f40601163754a2c4167068a3886258ee7d.tar.gz
initial version
-rw-r--r--.SRCINFO34
-rw-r--r--PKGBUILD45
2 files changed, 79 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..dda08d6a7cb
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,34 @@
+pkgbase = udisks2-nosystemd
+ pkgdesc = Disk Management Service, version 2
+ pkgver = 2.1.6
+ pkgrel = 1
+ url = http://www.freedesktop.org/wiki/Software/udisks
+ arch = i686
+ arch = x86_64
+ groups = eudev-base
+ license = GPL2
+ makedepends = intltool
+ makedepends = docbook-xsl
+ makedepends = gobject-introspection
+ makedepends = python2
+ depends = glib2
+ depends = udev
+ depends = polkit-consolekit
+ depends = libatasmart
+ depends = util-linux
+ depends = libgudev
+ optdepends = parted: partition management
+ optdepends = gptfdisk: GUID partition table support
+ optdepends = ntfs-3g: NTFS filesystem management support
+ optdepends = dosfstools: VFAT filesystem management support
+ provides = udisks2=2.1.6
+ conflicts = udisks2
+ conflicts = udisks2-eudev
+ replaces = udisks2
+ replaces = udisks2-eudev
+ options = !libtool
+ source = http://udisks.freedesktop.org/releases/udisks-2.1.6.tar.bz2
+ sha256sums = dec5f5c85fa0f74f39336acbfba1770f9988c096be23873714543c304b09f46a
+
+pkgname = udisks2-nosystemd
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..733639eb777
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: Alexey D. <lq07829icatm@rambler.ru>
+# Contributor: Ionut Biru <ibiru@archlinux.org>
+
+pkgname=udisks2-nosystemd
+pkgver=2.1.6
+pkgrel=1
+pkgdesc="Disk Management Service, version 2"
+arch=('i686' 'x86_64')
+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')
+optdepends=('parted: partition management'
+ 'gptfdisk: GUID partition table support'
+ 'ntfs-3g: NTFS filesystem management support'
+ 'dosfstools: VFAT filesystem management support')
+provides=("udisks2=${pkgver}")
+conflicts=('udisks2' 'udisks2-eudev')
+replaces=('udisks2' 'udisks2-eudev')
+options=(!libtool)
+source=(http://udisks.freedesktop.org/releases/udisks-${pkgver}.tar.bz2)
+sha256sums=('dec5f5c85fa0f74f39336acbfba1770f9988c096be23873714543c304b09f46a')
+
+build() {
+ cd "udisks-$pkgver"
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-static \
+ --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"
+ make DESTDIR="$pkgdir" install \
+ bash_completiondir=/usr/share/bash-completion/completions
+}