[arch-commits] Commit in udisks2/repos (testing-x86_64 testing-x86_64/PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Sun Dec 24 08:39:01 UTC 2017
Date: Sunday, December 24, 2017 @ 08:39:00
Author: felixonmars
Revision: 313576
archrelease: copy trunk to testing-x86_64
Added:
udisks2/repos/testing-x86_64/
udisks2/repos/testing-x86_64/PKGBUILD
(from rev 313575, udisks2/trunk/PKGBUILD)
----------+
PKGBUILD | 46 ++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 46 insertions(+)
Copied: udisks2/repos/testing-x86_64/PKGBUILD (from rev 313575, udisks2/trunk/PKGBUILD)
===================================================================
--- testing-x86_64/PKGBUILD (rev 0)
+++ testing-x86_64/PKGBUILD 2017-12-24 08:39:00 UTC (rev 313576)
@@ -0,0 +1,46 @@
+# $Id$
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Contributor: Ionut Biru <ibiru at archlinux.org>
+
+pkgname=udisks2
+pkgver=2.7.5
+pkgrel=1
+pkgdesc="Disk Management Service, version 2"
+arch=('x86_64')
+url="http://www.freedesktop.org/wiki/Software/udisks"
+license=('GPL2')
+depends=('polkit' 'libatasmart' 'libgudev' 'libblockdev')
+makedepends=('docbook-xsl' 'gobject-introspection' 'gnome-common' 'intltool' 'parted' 'libiscsi')
+optdepends=('gptfdisk: GUID partition table support'
+ 'ntfs-3g: NTFS filesystem management support'
+ 'dosfstools: VFAT filesystem management support'
+ 'libiscsi: iSCSI support')
+source=("https://github.com/storaged-project/udisks/archive/udisks-$pkgver.tar.gz")
+sha512sums=('fd49fd719d3d11ceb6349e856996f8f6f9ee58a2cc35e6622ce662096fa2e746d01958c81e464c4be6071578f4f3e39c5af81669b83582be47b191703c93e71c')
+
+prepare() {
+ sed -e 's/AC_MSG_ERROR(\[libstoragemgmt/AC_MSG_WARN([libstoragemgmt/' \
+ -e 's/AC_MSG_ERROR(\[libconfig/AC_MSG_WARN([libconfig/' \
+ -i udisks-udisks-$pkgver/configure.ac
+}
+
+build() {
+ cd udisks-udisks-$pkgver
+ ./autogen.sh --prefix=/usr --sysconfdir=/etc \
+ --sbindir=/usr/bin --libexecdir=/usr/lib \
+ --with-systemdsystemunitdir=/usr/lib/systemd/system \
+ --localstatedir=/var --disable-static \
+ --enable-available-modules
+ make
+}
+
+check() {
+ cd udisks-udisks-$pkgver
+ make check
+}
+
+package() {
+ cd udisks-udisks-$pkgver
+ make DESTDIR="$pkgdir" install \
+ bash_completiondir=/usr/share/bash-completion/completions
+}
More information about the arch-commits
mailing list