[arch-commits] Commit in wlroots/repos/community-x86_64 (PKGBUILD PKGBUILD)

Brett Cornwall ainola at archlinux.org
Tue Jul 30 01:09:05 UTC 2019


    Date: Tuesday, July 30, 2019 @ 01:09:05
  Author: ainola
Revision: 494724

archrelease: copy trunk to community-x86_64

Added:
  wlroots/repos/community-x86_64/PKGBUILD
    (from rev 494723, wlroots/trunk/PKGBUILD)
Deleted:
  wlroots/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  102 +++++++++++++++++++++++++++++++++----------------------------
 1 file changed, 56 insertions(+), 46 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-07-30 01:08:40 UTC (rev 494723)
+++ PKGBUILD	2019-07-30 01:09:05 UTC (rev 494724)
@@ -1,46 +0,0 @@
-# Maintainer: Ainola <ainola at archlinux.org>
-
-pkgname=wlroots
-pkgver=0.6.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')
-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=('9cf3716f3683d800df8b150f256ff66dad65faf13a9d67c284f67a9444d28c70'
-            'SKIP')
-validpgpkeys=('9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
-
-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/"
-}

Copied: wlroots/repos/community-x86_64/PKGBUILD (from rev 494723, wlroots/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-07-30 01:09:05 UTC (rev 494724)
@@ -0,0 +1,56 @@
+# Maintainer: Ainola <ainola at archlinux.org>
+# Contributor: Omar Pakker
+
+pkgbase=wlroots
+pkgname=(wlroots rootston)
+pkgver=0.6.0
+pkgrel=2
+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=(
+    "$pkgbase-$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=('9cf3716f3683d800df8b150f256ff66dad65faf13a9d67c284f67a9444d28c70'
+            'SKIP')
+validpgpkeys=('9DDA3B9FA5D58DD5392C78E652CB6609B22DA89A') # Drew DeVault
+
+build() {
+    meson "$pkgbase-$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_wlroots() {
+    DESTDIR="$pkgdir" ninja -C build install
+    install -Dm644 "$pkgbase-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/$pkgbase/"
+}
+
+package_rootston() {
+    depends=(wlroots)
+
+    install -Dm755 "build/rootston/rootston" -t "$pkgdir/usr/bin/"
+    install -Dm755 "$pkgbase-$pkgver/rootston/rootston.ini.example" -t "$pkgdir/usr/share/doc/rootston/"
+    install -Dm644 "$pkgbase-$pkgver/LICENSE" -t "$pkgdir/usr/share/licenses/rootston/"
+}



More information about the arch-commits mailing list