summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 7b61bdd2085354a357fc7ead2fca566199b992b9 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
# Maintainer: Dawid Rejowski <rejowski.xyz>
pkgname=wl-colorpicker-plasma-git
pkgver=r1.1ffb924
pkgrel=1
pkgdesc="A standalone color picker for Wayland and KDE Plasma."
arch=('any')
url="https://github.com/SASUPERNOVA/wl-colorpicker-plasma"
license=('GPL-2.0-or-later')
depends=(python python-pyqt6)
source=("${pkgname%-VCS}::git+https://github.com/SASUPERNOVA/wl-colorpicker-plasma")
sha256sums=('SKIP')

pkgver() {
	cd "$srcdir/${pkgname%-VCS}"
	printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

package() {
	cd "$srcdir/${pkgname%-VCS}"
	install -Dm755 "./wl-colorpicker-plasma.py" "$pkgdir/usr/bin/wl-colorpicker-plasma"
}