🔒 Repository is read-only – file editing is disabled.

recipes/gui/waybar/PAGBUILD.yaml main

39 linii Raw ← Powrót
123456789101112131415161718192021222324252627282930313233343536373839
pkgname: waybar
pkgver: '0.15.0'
pkgrel: '2'
pkgdesc: Highly customizable Wayland bar for Sway and Wlroots based compositors.
url: 'https://github.com/Alexays/Waybar'
arch: x86_64
license:
- MIT
depends:
- gtkmm
makedepends:
- systemd
- meson
- wayland-protocols
- catch2
source:
- 'https://github.com/Alexays/Waybar/archive/refs/tags/${pkgver}.tar.gz'
sha256sums:
- 21c2bbef88c40473c355003582f9331d2f9b8a01efdcce0935edfc5f6b023a3e
build: |

  cd ${pkgname}-${pkgver}

  sed -i '1i#define HAVE_WLR' include/factory.hpp
  sed -i '2i#define USE_EXPERIMENTAL' include/factory.hpp
  mkdir build
  cd    build

  meson setup ..                \
         --prefix=/usr          \
              --buildtype=release

  ninja

  DESTDIR=${PKGDIR} ninja install

  install -Dm644 ../LICENSE ${PKGDIR}/usr/share/licenses/${pkgname}/LICENSE
package: |
  true