summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 89814a7b4d0c92b267da8f7a74926696e03cef38 (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
# Maintainer: Fabien Devaux <fdev31@gmail.com>
# Contributor: Fabien Devaux <fdev31@gmail.com>
pkgname=hpr-scratcher
pkgver=0.6.1
pkgrel=1
pkgdesc="Easy scratchpads / drop downs for Hyprland"
arch=(any)
url="https://github.com/hyprland-community/hpr-scratcher"
license=('MIT')
groups=()
depends=('python')
makedepends=('git' 'python-pip')
provides=("${pkgname}")
conflicts=("${pkgname}")
replaces=()
backup=()
options=()
install=
source=(git+"https://github.com/hyprland-community/hpr-scratcher.git#tag=${pkgver}")
noextract=()
md5sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-git}"
	git checkout ${pkgver}
	printf "%s" "$(git describe --tags)"
}

package() {
	cd "$srcdir/${pkgname%-git}"
    pip install --root="${pkgdir}/" .
}