22 lines
775 B
Text
22 lines
775 B
Text
# Template file for 'udevil'
|
|
pkgname=udevil
|
|
version=0.4.1
|
|
revision=2
|
|
build_style=gnu-configure
|
|
hostmakedepends="pkg-config intltool"
|
|
makedepends="libglib-devel libudev-devel"
|
|
conf_files="/etc/udevil/udevil.conf"
|
|
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/"
|
|
distfiles="https://github.com/IgnorantGuru/udevil/archive/0.4.1.tar.gz"
|
|
checksum=fc76b300437c5d491c5f8a6eac467ae9a8fdbe681d0915a369ef1dc74af362db
|
|
|
|
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
|
|
}
|