2013-10-28 08:33:05 +00:00
|
|
|
# Template file for 'udevil'
|
|
|
|
pkgname=udevil
|
|
|
|
version=0.4.1
|
2014-09-02 15:20:18 +00:00
|
|
|
revision=2
|
2013-10-28 08:33:05 +00:00
|
|
|
build_style=gnu-configure
|
|
|
|
hostmakedepends="pkg-config intltool"
|
|
|
|
makedepends="libglib-devel libudev-devel"
|
2014-01-01 15:10:11 +00:00
|
|
|
conf_files="/etc/udevil/udevil.conf"
|
2013-10-28 08:33:05 +00:00
|
|
|
short_desc="CLI which mounts and unmounts removable devices without a password"
|
|
|
|
maintainer="Juan RP <xtraeme@gmail.com>"
|
|
|
|
license="GPL-3"
|
|
|
|
homepage="http://ignorantguru.github.io/udevil/"
|
2014-09-02 15:20:18 +00:00
|
|
|
distfiles="https://github.com/IgnorantGuru/udevil/archive/0.4.1.tar.gz"
|
|
|
|
checksum=fc76b300437c5d491c5f8a6eac467ae9a8fdbe681d0915a369ef1dc74af362db
|
2013-10-28 08:33:05 +00:00
|
|
|
|
|
|
|
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
|
|
|
|
}
|