[arch-commits] Commit in seatd/repos (community-x86_64 community-x86_64/PKGBUILD)
Brett Cornwall
ainola at gemini.archlinux.org
Wed Sep 15 05:17:07 UTC 2021
Date: Wednesday, September 15, 2021 @ 05:17:07
Author: ainola
Revision: 1015025
archrelease: copy trunk to community-x86_64
Added:
seatd/repos/community-x86_64/
seatd/repos/community-x86_64/PKGBUILD
(from rev 1015024, seatd/trunk/PKGBUILD)
----------+
PKGBUILD | 44 ++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 44 insertions(+)
Copied: seatd/repos/community-x86_64/PKGBUILD (from rev 1015024, seatd/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2021-09-15 05:17:07 UTC (rev 1015025)
@@ -0,0 +1,44 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+
+pkgname=seatd
+pkgver=0.6.1
+pkgrel=2
+pkgdesc="A minimal seat management daemon, and a universal seat management library"
+arch=(x86_64)
+url="https://sr.ht/~kennylevinsen/seatd/"
+license=('MIT')
+provides=("libseat.so")
+replaces=("libseat")
+makedepends=(
+ 'meson'
+ 'ninja'
+ 'scdoc'
+ 'systemd'
+)
+depends=(
+ 'systemd-libs'
+)
+source=("$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz")
+sha256sums=('f8f8d2d2a6c5f08714b2a784595e781a257df15d6086ec4e73701217ee5ec9e8')
+build() {
+ mkdir build
+ meson --prefix=/usr \
+ --buildtype=plain \
+ -Dexamples="disabled" \
+ -Dserver="enabled" \
+ -Dlibseat-logind="systemd" \
+ -Dlogind="enabled" \
+ -Dman-pages="enabled" \
+ "seatd-$pkgver" \
+ build
+ ninja -C build
+}
+
+check() {
+ ninja -C build test
+}
+
+package() {
+ DESTDIR="$pkgdir/" ninja -C build install
+ install -Dm644 "seatd-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list