blob: 7fd093c0de78275a7586e710cfa586fff6d1da76 (
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
27
28
29
30
31
32
33
34
35
36
|
# Maintainer: Elias Werberich <elias at werberich dot de>
# Contributor: Struan Robertson <struanrobertson@protonmail.com>
pkgname=grimblast-git
pkgver=r89.fe26a90
pkgrel=1
pkgdesc="A helper for screenshots within Hyprland."
arch=("any")
url="https://github.com/hyprwm/contrib"
licence=('MIT')
provides=('grimblast')
conflicts=('grimblast')
depends=("hyprland" "grim" "slurp" "jq")
optdepends=('libnotify: Notify users when a screenshot is taken'
'hyprpicker: Freeze the screen in area mode'
'wl-clipboard: Copy screenshots')
makedepends=("scdoc" "git")
source=("git+https://github.com/hyprwm/contrib.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/contrib"
printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
build() {
cd "$srcdir/contrib/grimblast"
scdoc < grimblast.1.scd > grimblast.1
}
package() {
cd "$srcdir/contrib/grimblast"
install -Dm 644 grimblast.1 "$pkgdir/usr/share/man/man1/grimblast.1"
install -Dm 755 grimblast "$pkgdir/usr/bin/grimblast"
}
|