From f324d2a5c24c66fff7f15ecc14e828859c9b04e8 Mon Sep 17 00:00:00 2001 From: "A. Wilcox" Date: Mon, 21 Nov 2022 00:58:28 -0600 Subject: user/xisxwayland: New package --- user/xisxwayland/APKBUILD | 32 ++++++++++++++++++++++++++++++++ 1 file changed, 32 insertions(+) create mode 100644 user/xisxwayland/APKBUILD (limited to 'user/xisxwayland/APKBUILD') diff --git a/user/xisxwayland/APKBUILD b/user/xisxwayland/APKBUILD new file mode 100644 index 000000000..70c570c5a --- /dev/null +++ b/user/xisxwayland/APKBUILD @@ -0,0 +1,32 @@ +# Maintainer: A. Wilcox +pkgname=xisxwayland +pkgver=2 +pkgrel=0 +pkgdesc="Determine if an X server is Xwayland" +url="https://www.X.Org/" +arch="all" +license="MIT" +depends="" +makedepends="meson ninja libx11-dev libxrandr-dev" +subpackages="$pkgname-doc" +source="https://www.X.Org/releases/individual/app/$pkgname-$pkgver.tar.xz" + +build() { + meson \ + --prefix=/usr \ + --sysconfdir=/etc \ + --mandir=/usr/share/man \ + --localstatedir=/var \ + . build + ninja -C build +} + +check() { + ninja -C build test +} + +package() { + DESTDIR="$pkgdir" ninja -C build install +} + +sha512sums="b89e19c85a5cd7e62a52e22772f80f03bfea069e31412ca11ac38174c4a2994be559e9d5fb49e6d1921b3f1b06ee71b50ede48990a1e7804a96207b08fc7827f xisxwayland-2.tar.xz" -- cgit v1.2.3-70-g09d2