[arch-commits] Commit in wlroots/repos (2 files)
Brett Cornwall
ainola at archlinux.org
Thu Jul 16 01:03:12 UTC 2020
Date: Thursday, July 16, 2020 @ 01:03:12
Author: ainola
Revision: 664022
archrelease: copy trunk to community-staging-x86_64
Added:
wlroots/repos/community-staging-x86_64/
wlroots/repos/community-staging-x86_64/PKGBUILD
(from rev 664021, wlroots/trunk/PKGBUILD)
----------+
PKGBUILD | 57 +++++++++++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 57 insertions(+)
Copied: wlroots/repos/community-staging-x86_64/PKGBUILD (from rev 664021, wlroots/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2020-07-16 01:03:12 UTC (rev 664022)
@@ -0,0 +1,57 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Omar Pakker
+
+pkgname=wlroots
+pkgver=0.11.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=('a7645e77229aab4942748c621be8bdb8b073d94f35f3e032b867246862bf2d01'
+ 'SKIP')
+validpgpkeys=(
+ '9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A' # Drew DeVault
+ '4100929B33EEB0FD1DB852797BC79407090047CA' # Sway signing key
+)
+
+build() {
+ meson "$pkgname-$pkgver" build \
+ --prefix=/usr \
+ --buildtype=plain \
+ -Dlibcap=enabled \
+ -Dlogind=enabled \
+ -Dlogind-provider=systemd \
+ -Dxcb-errors=enabled \
+ -Dxcb-icccm=enabled \
+ -Dxcb-xkb=enabled \
+ -Dxwayland=enabled \
+ -Dx11-backend=enabled
+ ninja -C build
+}
+
+package() {
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 "$pkgname-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list