[arch-commits] Commit in (4 files)

Brett Cornwall ainola at archlinux.org
Sun Feb 16 03:36:15 UTC 2020


    Date: Sunday, February 16, 2020 @ 03:36:15
  Author: ainola
Revision: 572068

Import gtk-layer-shell from AUR (waybar dep)

gtk-layer-shell is used to display popups in wlroots-based compositors. While
it may not be a popular AUR package it's a building block for more popular
programs like Waybar

Added:
  gtk-layer-shell/
  gtk-layer-shell/repo/
  gtk-layer-shell/trunk/
  gtk-layer-shell/trunk/PKGBUILD

----------+
 PKGBUILD |   38 ++++++++++++++++++++++++++++++++++++++
 1 file changed, 38 insertions(+)

Added: gtk-layer-shell/trunk/PKGBUILD
===================================================================
--- gtk-layer-shell/trunk/PKGBUILD	                        (rev 0)
+++ gtk-layer-shell/trunk/PKGBUILD	2020-02-16 03:36:15 UTC (rev 572068)
@@ -0,0 +1,38 @@
+# Maintainer: Brett Cornwall <ainola at archlinux.org>
+# Contributor: Adrian Perez de Castro <aperez at igalia.com>
+
+pkgdesc='Library to create Wayland desktop components using the Layer Shell protocol'
+pkgname=gtk-layer-shell
+pkgver=0.1.0
+pkgrel=2
+arch=(x86_64)
+license=(MIT)
+url="https://github.com/wmww/gtk-layer-shell"
+depends=(
+    "gtk3"
+    "wayland"
+)
+makedepends=(
+    "gtk-doc"
+    "gobject-introspection"
+    "meson"
+    "ninja"
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/wmww/gtk-layer-shell/archive/v$pkgver.tar.gz")
+sha512sums=('813ae86939d4bb300e78197a09fe7e4ccda9e2e6c008b72fa45d0a5be311ade1762af31835d3e7fea00f49a438f7ad37d3e57c84e0a2ebbbf58e807048c072da')
+
+build() {
+    cd "$pkgname-$pkgver"
+    meson --prefix=/usr \
+        --wrap-mode=nofallback \
+        --buildtype=plain \
+        -Ddocs=true \
+        build
+    ninja -C build
+}
+
+package() {
+    cd "$pkgname-$pkgver"
+    DESTDIR="$pkgdir" ninja -C build install
+    install -Dm644 COPYING -t "$pkgdir/usr/share/licenses/$pkgname"
+}



More information about the arch-commits mailing list