[arch-commits] Commit in (wlroots wlroots/repos wlroots/trunk wlroots/trunk/PKGBUILD)
Brett Cornwall
ainola at archlinux.org
Mon Dec 10 05:35:03 UTC 2018
Date: Monday, December 10, 2018 @ 05:35:02
Author: ainola
Revision: 413745
Add wlroots
Added:
wlroots/
wlroots/repos/
wlroots/trunk/
wlroots/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: wlroots/trunk/PKGBUILD
===================================================================
--- wlroots/trunk/PKGBUILD (rev 0)
+++ wlroots/trunk/PKGBUILD 2018-12-10 05:35:02 UTC (rev 413745)
@@ -0,0 +1,39 @@
+# Maintainer: Ainola
+
+pkgname=wlroots
+pkgver=0.2
+pkgrel=3
+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')
+source=("$pkgname-$pkgver.tar.gz::https://github.com/swaywm/wlroots/archive/$pkgver.tar.gz")
+sha256sums=('0b690c5db5a1f11051a28f0349655322fe54d92f7c2dc8d3c6e5559b1098bfd8')
+
+build() {
+ arch-meson "$pkgname-$pkgver" build \
+ -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