New package: udevil-0.4.1.
This commit is contained in:
parent
1e75a8b55f
commit
d25431fc01
1 changed files with 28 additions and 0 deletions
28
srcpkgs/udevil/template
Normal file
28
srcpkgs/udevil/template
Normal file
|
@ -0,0 +1,28 @@
|
|||
# Template file for 'udevil'
|
||||
pkgname=udevil
|
||||
version=0.4.1
|
||||
revision=1
|
||||
build_style=gnu-configure
|
||||
hostmakedepends="pkg-config intltool"
|
||||
makedepends="libglib-devel libudev-devel"
|
||||
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://raw.github.com/IgnorantGuru/$pkgname/master/packages/$version/$pkgname-$version.tar.xz"
|
||||
checksum=fa4a3d85361d17bb69dd7dabdcfeecd2b0f5fff95698113975d8fbd504af6c2e
|
||||
|
||||
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
|
||||
}
|
||||
|
||||
udevil_package() {
|
||||
conf_files="/etc/udevil/udevil.conf"
|
||||
pkg_install() {
|
||||
vmove all
|
||||
}
|
||||
}
|
Loading…
Reference in a new issue