blob: 216961b92fc1bc388ca12dabf824984e71972cc9 (
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
|
# Maintainer: Nikhil Singh <nik.singh710@gmail.com>
pkgname=hyprland-scratchpad-git
pkgver=51.93b6aba
pkgrel=2
pkgdesc="A helper for scratchpads within Hyprland."
arch=("any")
url="https://github.com/hyprwm/contrib"
license=('MIT')
provides=('scratchpad')
conflicts=('scratchpad')
depends=("hyprland" "jq")
optdepends=('libnotify: Notify users on an action.')
makedepends=("git")
source=("git+https://github.com/hyprwm/contrib.git")
md5sums=('SKIP')
pkgver() {
cd "$srcdir/contrib/scratchpad"
printf "%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}
package() {
cd "$srcdir/contrib/scratchpad"
install -Dm 755 scratchpad "$pkgdir/usr/bin/scratchpad"
}
|