[arch-commits] Commit in udisks2/repos (4 files)

Tom Gundersen tomegun at nymeria.archlinux.org
Thu May 30 14:58:32 EDT 2013


    Date: Thursday, May 30, 2013 @ 20:58:31
  Author: tomegun
Revision: 186722

archrelease: copy trunk to staging-i686, staging-x86_64

Added:
  udisks2/repos/staging-i686/
  udisks2/repos/staging-i686/PKGBUILD
    (from rev 186721, udisks2/trunk/PKGBUILD)
  udisks2/repos/staging-x86_64/
  udisks2/repos/staging-x86_64/PKGBUILD
    (from rev 186721, udisks2/trunk/PKGBUILD)

-------------------------+
 staging-i686/PKGBUILD   |   39 +++++++++++++++++++++++++++++++++++++++
 staging-x86_64/PKGBUILD |   39 +++++++++++++++++++++++++++++++++++++++
 2 files changed, 78 insertions(+)

Copied: udisks2/repos/staging-i686/PKGBUILD (from rev 186721, udisks2/trunk/PKGBUILD)
===================================================================
--- staging-i686/PKGBUILD	                        (rev 0)
+++ staging-i686/PKGBUILD	2013-05-30 18:58:31 UTC (rev 186722)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=udisks2
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="Disk Management Service, version 2"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL2')
+depends=('glib2' 'udev' 'polkit' 'libatasmart' 'eject')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'python')
+optdepends=('parted: partition management'
+            'gptfdisk: GUID partition table support')
+options=(!libtool)
+source=(http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2)
+sha256sums=('310208e5a10335dae4b52a0125c24d31cf292cce3d15cf65da4cd308e38d15a8')
+
+build() {
+  cd "udisks-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --with-systemdsystemunitdir=/usr/lib/systemd/system \
+      --localstatedir=/var --disable-static
+  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
+
+  # usrmove
+  cd "$pkgdir"/usr
+  mv sbin/* bin/
+  rmdir sbin
+}

Copied: udisks2/repos/staging-x86_64/PKGBUILD (from rev 186721, udisks2/trunk/PKGBUILD)
===================================================================
--- staging-x86_64/PKGBUILD	                        (rev 0)
+++ staging-x86_64/PKGBUILD	2013-05-30 18:58:31 UTC (rev 186722)
@@ -0,0 +1,39 @@
+# $Id$
+# Maintainer: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=udisks2
+pkgver=2.1.0
+pkgrel=3
+pkgdesc="Disk Management Service, version 2"
+arch=('i686' 'x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL2')
+depends=('glib2' 'udev' 'polkit' 'libatasmart' 'eject')
+makedepends=('intltool' 'docbook-xsl' 'gobject-introspection' 'python')
+optdepends=('parted: partition management'
+            'gptfdisk: GUID partition table support')
+options=(!libtool)
+source=(http://udisks.freedesktop.org/releases/udisks-$pkgver.tar.bz2)
+sha256sums=('310208e5a10335dae4b52a0125c24d31cf292cce3d15cf65da4cd308e38d15a8')
+
+build() {
+  cd "udisks-$pkgver"
+  ./configure --prefix=/usr --sysconfdir=/etc \
+      --with-systemdsystemunitdir=/usr/lib/systemd/system \
+      --localstatedir=/var --disable-static
+  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
+
+  # usrmove
+  cd "$pkgdir"/usr
+  mv sbin/* bin/
+  rmdir sbin
+}



More information about the arch-commits mailing list