summaryrefslogblamecommitdiff
path: root/user/seatd/APKBUILD
blob: dcf68d61efdc080697207274e936bb0a579c2389 (plain) (tree)
1
2
3
4

                                                           
             
            










                                                                                               



                                                          





                                         












                                                 
                                                                                                                                                                 
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=seatd
pkgver=0.7.0
pkgrel=0
pkgdesc="Seat management daemon and library"
url="https://git.sr.ht/~kennylevinsen/seatd"
arch="all"
license="MIT"
depends=""
makedepends="cmake elogind-dev meson ninja"
subpackages="$pkgname-dev"
source="$pkgname-$pkgver.tar.gz::https://git.sr.ht/~kennylevinsen/seatd/archive/$pkgver.tar.gz"

build() {
	# https://todo.sr.ht/~kennylevinsen/seatd/10
	# https://www.openwall.com/lists/musl/2020/01/20/3
	export CFLAGS="$CFLAGS -Wno-error=overflow"

	meson \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. output
	ninja -C output
}

check() {
# Add test instructions here.
:
}

package() {
	DESTDIR="$pkgdir" ninja -C output install
}

sha512sums="c81c43994b92672a388bf255edb1fe24d3dba7ece2eb35f9fedc05cc0b8e464e9167ffed037645c4072430fe7b3b8fc80cc99f21fb5100654b5dd23a94742e66  seatd-0.7.0.tar.gz"