blob: 1e42780a717d417aa80f219fa6c22295e4b527a9 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
|
# Maintainer: Michael Clayfield <me asdf michaelclayfield asdf com asdf>
pkgname=hyprland-activewindow
pkgver=1.0.5
pkgrel=1
pkgdesc="A multi-monitor aware Hyprland active window title outputer."
url="https://github.com/FieldofClay/hyprland-activewindow"
makedepends=('cargo')
depends=('hyprland')
arch=('x86_64')
license=('MIT')
source=("https://github.com/FieldofClay/hyprland-activewindow/archive/refs/tags/v$pkgver.tar.gz")
sha256sums=('d4c133001c20bd7eeb0d8f4f668874e751c17be83b129592443b96395d7c7dab')
build() {
cd "$pkgname-$pkgver"
cargo build --release
}
package() {
cd "$pkgname-$pkgver"
install -Dm755 target/release/$pkgname -t "$pkgdir/usr/bin"
install -Dm644 README.md -t "$pkgdir/usr/share/doc/$pkgname"
install -d "$pkgdir/usr/share/licenses/$pkgname"
install -m644 "LICENSE" "$pkgdir/usr/share/licenses/$pkgname/"
}
|