From b79cf9ad5ffe404930135859ea7df02d5be2a2f3 Mon Sep 17 00:00:00 2001 From: Gabriel Ebner Date: Fri, 6 Aug 2021 20:06:26 +0200 Subject: [PATCH] git subrepo clone --branch=master https://aur.archlinux.org/rofi-lbonn-wayland-git.git subrepo: subdir: "rofi-lbonn-wayland-git" merged: "e11cf46" upstream: origin: "https://aur.archlinux.org/rofi-lbonn-wayland-git.git" branch: "master" commit: "e11cf46" git-subrepo: version: "0.4.3" origin: "???" commit: "???" --- rofi-lbonn-wayland-git/.SRCINFO | 26 +++++++++++++++ rofi-lbonn-wayland-git/.gitrepo | 12 +++++++ rofi-lbonn-wayland-git/PKGBUILD | 56 +++++++++++++++++++++++++++++++++ 3 files changed, 94 insertions(+) create mode 100644 rofi-lbonn-wayland-git/.SRCINFO create mode 100644 rofi-lbonn-wayland-git/.gitrepo create mode 100644 rofi-lbonn-wayland-git/PKGBUILD diff --git a/rofi-lbonn-wayland-git/.SRCINFO b/rofi-lbonn-wayland-git/.SRCINFO new file mode 100644 index 0000000..4e5a053 --- /dev/null +++ b/rofi-lbonn-wayland-git/.SRCINFO @@ -0,0 +1,26 @@ +pkgbase = rofi-lbonn-wayland-git + pkgdesc = A window switcher, application launcher and dmenu replacement (Wayland fork) + pkgver = 1.3.1.r1349.gf0139710 + pkgrel = 1 + url = https://github.com/lbonn/rofi + arch = x86_64 + license = MIT + makedepends = check + makedepends = git + makedepends = meson + makedepends = wayland-protocols + depends = libxdg-basedir + depends = startup-notification + depends = libxkbcommon-x11 + depends = xcb-util-wm + depends = xcb-util-xrm + depends = librsvg + depends = wayland + optdepends = i3-wm: use as a window switcher + provides = rofi + conflicts = rofi + source = rofi::git+https://github.com/lbonn/rofi.git#branch=wayland + sha256sums = SKIP + +pkgname = rofi-lbonn-wayland-git + diff --git a/rofi-lbonn-wayland-git/.gitrepo b/rofi-lbonn-wayland-git/.gitrepo new file mode 100644 index 0000000..0dd667e --- /dev/null +++ b/rofi-lbonn-wayland-git/.gitrepo @@ -0,0 +1,12 @@ +; DO NOT EDIT (unless you know what you are doing) +; +; This subdirectory is a git "subrepo", and this file is maintained by the +; git-subrepo command. See https://github.com/git-commands/git-subrepo#readme +; +[subrepo] + remote = https://aur.archlinux.org/rofi-lbonn-wayland-git.git + branch = master + commit = e11cf46931fa555f8c9b27b16e3067afa6907f3e + parent = bf7a242c58c82549691ad411857f35ab4d87a9c4 + method = merge + cmdver = 0.4.3 diff --git a/rofi-lbonn-wayland-git/PKGBUILD b/rofi-lbonn-wayland-git/PKGBUILD new file mode 100644 index 0000000..68134f4 --- /dev/null +++ b/rofi-lbonn-wayland-git/PKGBUILD @@ -0,0 +1,56 @@ +# Maintainer: tinywrkb +# Contributor: Morten Linderud +# Contributor: Maxim Baz +# Contributor: Anatol Pomozov +# Contributor: Benjamin Chrétien +# Contributor: Eric Engestrom +# Contributor: Rasi +# Contributor: Sean Pringle +# Contributor: SanskritFritz (gmail) + +_gitname=rofi +pkgname=rofi-lbonn-wayland-git +pkgver=1.3.1.r1349.gf0139710 +pkgrel=1 +pkgdesc='A window switcher, application launcher and dmenu replacement (Wayland fork)' +arch=(x86_64) +url="https://github.com/lbonn/$_gitname" +license=(MIT) +depends=(libxdg-basedir startup-notification libxkbcommon-x11 xcb-util-wm xcb-util-xrm librsvg wayland) +makedepends=(check git meson wayland-protocols) +optdepends=('i3-wm: use as a window switcher') +provides=(rofi) +conflicts=(rofi) +source=("${_gitname}::git+${url}.git#branch=wayland") +sha256sums=('SKIP') + +pkgver() { + cd $_gitname + git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g' +} + +prepare() { + cd $_gitname + git submodule update --init +} + +build() { + arch-meson \ + -Dwayland=enabled \ + -Dcheck=enabled \ + $_gitname build + meson compile -C build +} + +check() { + LC_ALL=C meson test -C build +} + +package() { + DESTDIR="$pkgdir" meson install -C build + + cd $_gitname + install -Dm644 COPYING "$pkgdir/usr/share/licenses/$pkgname/COPYING" + install -dm755 "$pkgdir/usr/share/doc/$_gitname/examples" + install -Dm755 Examples/*.sh "$pkgdir/usr/share/doc/$_gitname/examples" +}