[arch-commits] Commit in cdemu-daemon/trunk (PKGBUILD)
Jan Steffens
heftig at gemini.archlinux.org
Sun Nov 21 00:55:44 UTC 2021
Date: Sunday, November 21, 2021 @ 00:55:44
Author: heftig
Revision: 1052921
3.2.5-2: move config from vhba-module
Modified:
cdemu-daemon/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++++-
1 file changed, 7 insertions(+), 1 deletion(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2021-11-21 00:55:31 UTC (rev 1052920)
+++ PKGBUILD 2021-11-21 00:55:44 UTC (rev 1052921)
@@ -5,7 +5,7 @@
pkgname=cdemu-daemon
pkgver=3.2.5
-pkgrel=1
+pkgrel=2
pkgdesc="CD/DVD-ROM device emulator daemon"
arch=(x86_64)
url="https://cdemu.sourceforge.io/"
@@ -31,12 +31,18 @@
package() {
DESTDIR="$pkgdir" cmake --install build
+
install -Dt "$pkgdir/usr/share/doc/$pkgname" -m644 $pkgname-$pkgver/README
install -Dt "$pkgdir/usr/lib/systemd/user" -m644 \
$pkgname-$pkgver/service-example/cdemu-daemon.service
install -Dt "$pkgdir/usr/share/dbus-1/services" -m644 \
$pkgname-$pkgver/service-example/net.sf.cdemu.CDEmuDaemon.service
+
echo vhba | install -Dm644 /dev/stdin "$pkgdir/usr/lib/modules-load.d/cdemu.conf"
+ echo 'g cdemu - -' | install -Dm644 /dev/stdin "$pkgdir/usr/lib/sysusers.d/cdemu.conf"
+ install -Dm644 /dev/stdin "$pkgdir/usr/lib/udev/rules.d/60-cdemu.rules" <<END
+ACTION=="add", KERNEL=="vhba_ctl", MODE="0660", OWNER="root", GROUP="cdemu", TAG+="uaccess"
+END
}
# vim:set sw=2 et:
More information about the arch-commits
mailing list