[arch-commits] Commit in wlroots/repos (2 files)
Brett Cornwall
ainola at archlinux.org
Mon Dec 10 05:35:27 UTC 2018
Date: Monday, December 10, 2018 @ 05:35:26
Author: ainola
Revision: 413746
archrelease: copy trunk to community-testing-x86_64
Added:
wlroots/repos/community-testing-x86_64/
wlroots/repos/community-testing-x86_64/PKGBUILD
(from rev 413745, wlroots/trunk/PKGBUILD)
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Copied: wlroots/repos/community-testing-x86_64/PKGBUILD (from rev 413745, wlroots/trunk/PKGBUILD)
===================================================================
--- community-testing-x86_64/PKGBUILD (rev 0)
+++ community-testing-x86_64/PKGBUILD 2018-12-10 05:35:26 UTC (rev 413746)
@@ -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