mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-06 20:47:13 +08:00
27 lines
1.1 KiB
Bash
27 lines
1.1 KiB
Bash
pkgname=udisks
|
|
pkgver=1.0.2
|
|
pkgrel=2
|
|
pkgdesc="Disk Management Service"
|
|
arch=('i686' 'x86_64')
|
|
url="http://www.freedesktop.org/wiki/Software/udisks"
|
|
license=('GPL')
|
|
depends=('udev>=164' 'sg3_utils>=1.29' 'glib2>=2.26.1' 'dbus-glib>=0.92' 'polkit>=0.98' 'parted>=2.3' 'device-mapper>=2.02.77' 'libatasmart>=0.17' 'lsof' 'lvm2>=2.02.77' 'eject')
|
|
makedepends=('intltool' 'docbook-xsl')
|
|
options=(!libtool)
|
|
replaces=('devicekit-disks')
|
|
source=(http://hal.freedesktop.org/releases/${pkgname}-${pkgver}.tar.gz)
|
|
sha256sums=('7dc1a150a6a31b2727144603fa5a8f9852696fc5bdc4a11917b9b0f1b8e3dcf1')
|
|
|
|
build() {
|
|
cd "${srcdir}/${pkgname}-${pkgver}"
|
|
|
|
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var \
|
|
--libexecdir=/usr/lib/udisks --disable-static
|
|
#fix location for bash_completion helper
|
|
sed -i -e 's|profile.d|bash_completion.d|' tools/Makefile
|
|
|
|
make
|
|
make DESTDIR="${pkgdir}" install
|
|
#fix ntfs mounts
|
|
sed -i -e 's|<allow_active>auth_admin_keep</allow_active>|<allow_active>yes</allow_active>|' ${pkgdir}/usr/share/polkit-1/actions/org.freedesktop.udisks.policy
|
|
} |