Date: Sunday, November 8, 2020 @ 15:10:03 Author: maximbaz Revision: 746603
archrelease: copy trunk to community-staging-x86_64 Added: wlroots/repos/community-staging-x86_64/ wlroots/repos/community-staging-x86_64/PKGBUILD (from rev 746602, wlroots/trunk/PKGBUILD) ----------+ PKGBUILD | 51 +++++++++++++++++++++++++++++++++++++++++++++++++++ 1 file changed, 51 insertions(+) Copied: wlroots/repos/community-staging-x86_64/PKGBUILD (from rev 746602, wlroots/trunk/PKGBUILD) =================================================================== --- community-staging-x86_64/PKGBUILD (rev 0) +++ community-staging-x86_64/PKGBUILD 2020-11-08 15:10:03 UTC (rev 746603) @@ -0,0 +1,51 @@ +# Maintainer: Brett Cornwall <ain...@archlinux.org> +# Maintainer: Maxim Baz <$pkgname at maximbaz dot com> +# Contributor: Omar Pakker + +pkgname=wlroots +pkgver=0.12.0 +pkgrel=1 +license=('MIT') +pkgdesc='Modular Wayland compositor library' +url='https://github.com/swaywm/wlroots' +arch=('x86_64') +depends=( + 'libinput' + 'libxkbcommon' + 'opengl-driver' + 'pixman' + 'xcb-util-errors' + 'xcb-util-image' + 'xcb-util-wm' +) +makedepends=( + 'meson' + 'ninja' + 'wayland-protocols' +) +provides=( + 'libwlroots.so' +) +source=( + "$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz" + "https://github.com/swaywm/wlroots/releases/download/$pkgver/wlroots-$pkgver.tar.gz.sig" +) +sha256sums=('c9e9f4f6d2f526d0b2886daf3ec37e64831773059aa669fb98a88522a1626bdb' + 'SKIP') +validpgpkeys=( + '34FF9526CFEF0E97A340E2E40FDE7BE0E88F5E48' # Simon Ser + '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault + '4100929B33EEB0FD1DB852797BC79407090047CA' # Sway signing key +) + +build() { + arch-meson "$pkgname-$pkgver" build \ + -Dlogind-provider=systemd \ + -Dlibseat=disabled + ninja -C build +} + +package() { + DESTDIR="$pkgdir" ninja -C build install + install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/" +}