[arch-commits] Commit in (waybar waybar/repos waybar/trunk waybar/trunk/PKGBUILD)
Brett Cornwall
ainola at archlinux.org
Sat Dec 29 17:31:22 UTC 2018
Date: Saturday, December 29, 2018 @ 17:31:22
Author: ainola
Revision: 418895
add waybar from AUR (10 votes) - wait until next sway version to package
Added:
waybar/
waybar/repos/
waybar/trunk/
waybar/trunk/PKGBUILD
----------+
PKGBUILD | 39 +++++++++++++++++++++++++++++++++++++++
1 file changed, 39 insertions(+)
Added: waybar/trunk/PKGBUILD
===================================================================
--- waybar/trunk/PKGBUILD (rev 0)
+++ waybar/trunk/PKGBUILD 2018-12-29 17:31:22 UTC (rev 418895)
@@ -0,0 +1,39 @@
+# Maintainer: Ainola <ainola at archlinux.org>
+
+pkgname=waybar
+pkgver=0.2.3
+pkgrel=1
+pkgdesc='Highly customizable Wayland bar for Sway and Wlroots based compositors'
+arch=('x86_64')
+url="https://github.com/Alexays/Waybar/"
+license=('MIT')
+depends=(
+ 'fmt'
+ 'gtkmm3'
+ 'jsoncpp'
+ 'libappindicator-gtk3'
+ 'libpulse'
+)
+# Sway is needed for building support for workspace and window title modules
+makedepends=(
+ 'meson'
+ 'sway'
+ 'wlroots'
+)
+optdepends=(
+ 'otf-font-awesome: Icons in the default configuration'
+)
+source=("$pkgname-$pkgver.tar.gz::https://github.com/Alexays/Waybar/archive/$pkgver.tar.gz")
+sha256sums=('dbaccbf829ab62578a5956e412b4cc9905be62af74425423628721a1b550f4c8')
+
+build() {
+ cd "Waybar-$pkgver"
+ meson --prefix=/usr build
+ ninja -C build
+}
+
+package() {
+ cd "Waybar-$pkgver"
+ DESTDIR="$pkgdir" ninja -C build install
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
+}
More information about the arch-commits
mailing list