seatd service
This commit is contained in:
1 parent
a3f797ec2f
commit
b1c15b9ce4
2 files changed
+10
-3
No files matched your search
@@ -0,0 +1,4 @@
|
||||
#!/sbin/openrc-run
|
||||
supervisor=supervise-daemon
|
||||
command="seatd"
|
||||
command_args="-g video"
|
||||
@@ -0,0 +1,35 @@
|
||||
#!/usr/bin/env bash
|
||||
name='seatd'
|
||||
release='1'
|
||||
version='0.7.0'
|
||||
url='https://sr.ht/~kennylevinsen/seatd'
|
||||
description='Minimal seat management daemon and universal library'
|
||||
email='bayramk@gmail.com'
|
||||
maintainer='bk'
|
||||
license=('GPLv3')
|
||||
source=("https://github.com/kennylevinsen/seatd/archive/refs/tags/$version.tar.gz"
|
||||
"seatd.initd")
|
||||
depends=()
|
||||
makedepends=()
|
||||
md5sums=('922b8a4ca4dfdb1f43a294db9e77bcf7'
|
||||
'SKIP')
|
||||
group=(sys.auth)
|
||||
uses=()
|
||||
arch=('x86_64')
|
||||
|
||||
cd $name-$version
|
||||
|
||||
setup(){
|
||||
meson setup build --prefix=/usr \
|
||||
--libdir=/usr/lib64/
|
||||
}
|
||||
|
||||
build(){
|
||||
ninja -C build
|
||||
}
|
||||
|
||||
package(){
|
||||
ninja -C build install
|
||||
install -m755 -D ../seatd.initd "$DESTDIR"/etc/init.d/seatd
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user