27 lines
717 B
Plaintext
27 lines
717 B
Plaintext
# Description: A minimal seat management daemon, and a universal seat management library
|
|
# URL: https://git.sr.ht/~kennylevinsen/seatd
|
|
# Maintainer: Tim Biermann, tbier at posteo dot de
|
|
# Depends on: meson ninja
|
|
|
|
name=seatd
|
|
version=0.6.2
|
|
release=2
|
|
source=(https://github.com/kennylevinsen/seatd/archive/$version/$name-$version.tar.gz
|
|
seatd.service
|
|
vt.patch)
|
|
|
|
build() {
|
|
patch -Np1 -d $name-$version -i $SRC/vt.patch
|
|
|
|
meson setup $name-$version build \
|
|
--prefix=/usr \
|
|
--buildtype=plain \
|
|
--wrap-mode nodownload \
|
|
-D b_lto=true \
|
|
-D b_pie=true \
|
|
-D builtin=enabled
|
|
meson compile -C build
|
|
DESTDIR=$PKG meson install -C build
|
|
install -Dm 755 $SRC/seatd.service $PKG/etc/rc.d/seatd
|
|
}
|