summaryrefslogblamecommitdiff
path: root/user/seatd/APKBUILD
blob: 07391d17244b132dc58914fdda5bf4c403e975ce (plain) (tree)
1
2
3
4
5
6
7
8
9
10

                                                           
             
            





                                            

                                           


                                                                                               



                                                          
                     




                                         

                              


         
                           


           
                                                

 
                                                                                                                                                                 
# Contributor: Síle Ekaterin Liszka <sheila@vulpine.house>
# Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house>
pkgname=seatd
pkgver=0.8.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 scdoc"
subpackages="$pkgname-dev $pkgname-doc"
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 setup \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--buildtype=release \
		. build
	meson compile -C build
}

check() {
	meson test -C build
}

package() {
	DESTDIR="$pkgdir" meson install -C build
}

sha512sums="93b1e5c170564ce9654e4df9985af95cb505274b36e950998bb1f16803d2d46712140eded2bdd8d5e85aec62070afd9c224184276d79a0ff0813408dfc472db7  seatd-0.8.0.tar.gz"