diff options
author | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-05-29 22:03:01 -0500 |
---|---|---|
committer | A. Wilcox <AWilcox@Wilcox-Tech.com> | 2024-06-11 14:04:08 -0500 |
commit | 47aa3eba078bad9437c09a82f886dbac7ef21a90 (patch) | |
tree | 0c73090a3003fa8f0702a3b55f1e1d6287b13df1 /user | |
parent | c784365b004c803eb7137c8b31233585fd8f56d3 (diff) | |
download | packages-47aa3eba078bad9437c09a82f886dbac7ef21a90.tar.gz packages-47aa3eba078bad9437c09a82f886dbac7ef21a90.tar.bz2 packages-47aa3eba078bad9437c09a82f886dbac7ef21a90.tar.xz packages-47aa3eba078bad9437c09a82f886dbac7ef21a90.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')
-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" |