summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: b115f49a77d6a6ce84af32f7e2e73daf983940f8 (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
# Maintainer: Muflone http://www.muflone.com/contacts/english/

pkgname=pixelcolor
pkgver=0.2.0
pkgrel=1
pkgdesc="Get the screen pixel color"
url="http://www.muflone.com/pixelcolor"
arch=('any')
license=('GPL3')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-wheel')
depends=('python-pillow')
source=("${pkgname}-${pkgver}.tar.gz"::"https://github.com/muflone/${pkgname}/archive/${pkgver}.tar.gz")
sha256sums=('780d287ea74c020ba3691732ed13c74748d98f7e0d89bc472ec2984ebcf59033')

build() {
  cd "${pkgname}-${pkgver}"
  python -m build --wheel --no-isolation
}

package() {
  cd "${pkgname}-${pkgver}"
  python -m installer --destdir="${pkgdir}" dist/*.whl
}