grimblast/PKGBUILD

47 lines
1.2 KiB
Text
Raw Normal View History

2025-09-01 22:16:55 +02:00
# Maintainer: Christian Schendel <doppelhelix@gmail.com>
# Contributor: Elias Werberich <elias at werberich dot de>
# Contributor: Struan Robertson <struanrobertson@protonmail.com>
pkgname=grimblast
pkgver=2025.10.04
_commit="32e1a75b65553daefb419f0906ce19e04815aa3a" # 2025.10.04
pkgrel=1
2025-09-01 22:16:55 +02:00
pkgdesc="A helper for screenshots within Hyprland."
arch=(any)
url="https://github.com/hyprwm/contrib"
license=(
MIT
)
makedepends=(
scdoc
git
)
source=(
"${pkgname}-${pkgver}::git+${url}.git#commit=${_commit}"
2025-09-01 22:16:55 +02:00
)
b2sums=('155da0152b70a4f89e539e0f290bbd1fc6a4db147fea40c3b9cf19fa4d7362b9586de3afbda6701ea8098669a57bf6c0fa9b9a12abfa8457ca55ccf43cb5d591')
2025-09-01 22:16:55 +02:00
build() {
cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
2025-09-01 22:16:55 +02:00
scdoc < grimblast.1.scd > grimblast.1
}
package() {
depends+=(
bash
grim
hyprland
hyprpicker
2025-09-01 22:16:55 +02:00
jq
slurp
)
cd "${srcdir}/${pkgname}-${pkgver}/${pkgname}"
2025-09-01 22:16:55 +02:00
install -Dm0644 ${pkgname}.1 "$pkgdir/usr/share/man/man1/${pkgname}.1"
install -Dm0755 ${pkgname} "$pkgdir/usr/bin/${pkgname}"
install -Dm0644 "$srcdir/${pkgname}-${pkgver}/LICENSE" \
"$pkgdir/usr/share/licenses/${pkgname}/LICENSE"
2025-09-01 22:16:55 +02:00
}
# vim: set ft=sh ts=4 sw=4 et: