summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a1852c8e84fd98ba8b4e05da893f134e28674693 (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
# Maintainer: Romain Sidhoum <echo cm9tYWluLnNpZGhvdW1AZ21haWwuY29tCg== | base64 -d>

_pkgname=chameleon
pkgname=chameleon-git
pkgver=r10.8643e5e
pkgrel=1
pkgdesc="A color picker for X11 written in python"
arch=('any')
url="https://github.com/seebye/${_pkgname}"
license=('GPL3')

depends=(
         'python>=3.5.0'
         'python-xlib'
         'python-pillow'
         'python-docopt'
         'python-setuptools'
        )

makedepends=('git')

source=("git://github.com/seebye/${_pkgname}.git")
md5sums=('SKIP')

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

package() {
	cd "$_pkgname"
	python setup.py install --root="$pkgdir"
}