The plugin source moved to omacom/omarchy-hyprland-titlebars, with its history. The package now builds from that repository's release tags, like Monologue and Hype, and keeps rebuilding with every Hyprland. v0.2.0 drops edge snapping, titles windows with their app's name, and highlights titlebar buttons on hover. Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com>
33 lines
1.2 KiB
Bash
33 lines
1.2 KiB
Bash
# Maintainer: Ryan Hughes <ryan@heyoodle.com>
|
|
|
|
pkgname=omarchy-hyprland-titlebars
|
|
pkgver=0.2.0
|
|
pkgrel=1
|
|
pkgdesc="Titlebars for Omarchy's floating workspaces"
|
|
arch=('x86_64' 'aarch64')
|
|
url='https://github.com/omacom/omarchy-hyprland-titlebars'
|
|
license=('BSD-3-Clause' 'MIT')
|
|
# A Hyprland plugin only loads into the exact Hyprland build it was compiled
|
|
# against. rebuild_on in .omarchy/package.json rebuilds it with every Hyprland,
|
|
# and bin/sync-rebuilds moves these pins to the Hyprland it rebuilds against.
|
|
depends=('glibc' 'libgcc' 'libstdc++' 'hyprlang' 'hyprutils')
|
|
depends_x86_64=('hyprland=0.56.2')
|
|
depends_aarch64=('hyprland=0.56.2')
|
|
makedepends=('cmake' 'pkgconf')
|
|
options=('!lto' '!debug')
|
|
source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz")
|
|
sha256sums=('cd6ece3e3fc4afed4052cba5045faa1f6fb2e6a2203bddd7e85b9c57646bb10b')
|
|
|
|
build() {
|
|
cmake -S "$srcdir/$pkgname-$pkgver" -B build \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
cmake --build build
|
|
}
|
|
|
|
package() {
|
|
DESTDIR="$pkgdir" cmake --install build
|
|
install -Dm644 "$pkgname-$pkgver/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
|
|
install -Dm644 "$pkgname-$pkgver/LICENSE.MIT" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.MIT"
|
|
}
|