diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-29 22:03:01 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-08-07 10:08:11 -0500 |
commit | c7240c00aba78afe0b5f47e80b944e33a21abec0 (patch) | |
tree | aa5b7936d5a395b78e2b814a33bbf5ad9496cf6c /user/seatd/APKBUILD | |
parent | 379654586a4cfcc2ad404f93f8d65cd44a1adfbd (diff) | |
download | packages-c7240c00aba78afe0b5f47e80b944e33a21abec0.tar.gz packages-c7240c00aba78afe0b5f47e80b944e33a21abec0.tar.bz2 packages-c7240c00aba78afe0b5f47e80b944e33a21abec0.tar.xz packages-c7240c00aba78afe0b5f47e80b944e33a21abec0.zip |
user/seatd: Update to 0.8.0 and improve
* Add test suite.
* Use meson commands instead of hardcoding ninja (hoping samu someday).
* Add scdoc dep and build docs.
Diffstat (limited to 'user/seatd/APKBUILD')
-rw-r--r-- | user/seatd/APKBUILD | 19 |
1 files changed, 9 insertions, 10 deletions
diff --git a/user/seatd/APKBUILD b/user/seatd/APKBUILD index dcf68d61e..07391d172 100644 --- a/user/seatd/APKBUILD +++ b/user/seatd/APKBUILD @@ -1,15 +1,15 @@ # Contributor: Síle Ekaterin Liszka <sheila@vulpine.house> # Maintainer: Síle Ekaterin Liszka <sheila@vulpine.house> pkgname=seatd -pkgver=0.7.0 +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 ninja" -subpackages="$pkgname-dev" +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() { @@ -17,23 +17,22 @@ build() { # https://www.openwall.com/lists/musl/2020/01/20/3 export CFLAGS="$CFLAGS -Wno-error=overflow" - meson \ + meson setup \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --localstatedir=/var \ --buildtype=release \ - . output - ninja -C output + . build + meson compile -C build } check() { -# Add test instructions here. -: + meson test -C build } package() { - DESTDIR="$pkgdir" ninja -C output install + DESTDIR="$pkgdir" meson install -C build } -sha512sums="c81c43994b92672a388bf255edb1fe24d3dba7ece2eb35f9fedc05cc0b8e464e9167ffed037645c4072430fe7b3b8fc80cc99f21fb5100654b5dd23a94742e66 seatd-0.7.0.tar.gz" +sha512sums="93b1e5c170564ce9654e4df9985af95cb505274b36e950998bb1f16803d2d46712140eded2bdd8d5e85aec62070afd9c224184276d79a0ff0813408dfc472db7 seatd-0.8.0.tar.gz" |