aboutsummarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0ab2c5be0921612d736a6b3ceb59a7551d94fbaf (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
# $Id$
# Maintainer: Mistyhands <mistyhands@pm.me>

pkgname=colorpicker-git
_commit=ba94a3c
pkgver=1.0.${_commit}
pkgrel=2
pkgdesc="A small tool for X11 that writes the color value on your screen at the cursor position to stdout, in RGB."
arch=('i686' 'x86_64')
url="https://github.com/mistyhands/colorpicker"
license=('MIT')
depends=('libx11'
         'xclip')
makedepends=('make')
source=(https://github.com/mistyhands/colorpicker/archive/${_commit}.tar.gz)
sha1sums=('32866feb566705515401d3bb6d258797871a32ad')

build() {
  cd colorpicker*
  make
}

package() {
  cd colorpicker*
  mkdir -m755 -p ${pkgdir}/usr/bin
  install -m777 colorpicker ${pkgdir}/usr/bin/
}