From 3d04340a5890435e538d1b0807eb1e9ec19e8346 Mon Sep 17 00:00:00 2001 From: Christian Neukirchen Date: Fri, 3 Apr 2015 16:31:02 +0200 Subject: [PATCH] udevil: fix install. --- srcpkgs/udevil/template | 10 ++++++---- 1 file changed, 6 insertions(+), 4 deletions(-) diff --git a/srcpkgs/udevil/template b/srcpkgs/udevil/template index fd8e54ae9c0..28c2be9b7dd 100644 --- a/srcpkgs/udevil/template +++ b/srcpkgs/udevil/template @@ -1,11 +1,11 @@ # Template file for 'udevil' pkgname=udevil version=0.4.3 -revision=1 +revision=2 build_style=gnu-configure hostmakedepends="pkg-config intltool" configure_args="--with-mount-prog=mount --with-umount-prog=umount - --with-losetup-prog=losetup --with-setfacl-prog=setfacl" + --with-losetup-prog=losetup --with-setfacl-prog=setfacl" makedepends="libglib-devel libudev-devel" conf_files="/etc/udevil/udevil.conf" short_desc="CLI which mounts and unmounts removable devices without a password" @@ -15,10 +15,12 @@ homepage="http://ignorantguru.github.io/udevil/" distfiles="https://github.com/IgnorantGuru/udevil/archive/${version}.tar.gz" checksum=c49d2644baf87182c160550d708f75fe1253a2ceb749148e9148d7f1cfbc6209 +post_extract() { + sed -i 's/-o root -g root//g' src/Makefile.in +} + post_install() { # Drop useless conf.d/devmon file. rm -rf ${DESTDIR}/etc/conf.d sed -e '/EnvironmentFile.*/d' -i ${DESTDIR}/usr/lib/systemd/system/devmon@.service - # make udevil setuid. - chmod 4755 ${DESTDIR}/usr/bin/udevil }