diff options
author | Hermann Mayer | 2017-08-31 13:36:32 +0200 |
---|---|---|
committer | Hermann Mayer | 2017-08-31 13:36:32 +0200 |
commit | 5a479fbb7ed0e292bc114a75e428edec54e5e127 (patch) | |
tree | f90560d071f7a57c95ba3774490082866c9df0b9 | |
download | aur-5a479fbb7ed0e292bc114a75e428edec54e5e127.tar.gz |
Initial commit.
-rw-r--r-- | .SRCINFO | 21 | ||||
-rw-r--r-- | PKGBUILD | 26 |
2 files changed, 47 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..940bc40142a1 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,21 @@ +pkgbase = colorpicker + pkgdesc = Click on a pixel on your screen and print its color value in RGB. Written for X11. + pkgver = 1.0.f5d441a + pkgrel = 1 + url = https://github.com/Jack12816/colorpicker + arch = i686 + arch = x86_64 + license = MIT + makedepends = make + depends = gtk2 + depends = gdk-pixbuf2 + depends = libx11 + depends = libxcomposite + depends = libxfixes + depends = libxext + depends = cairo + source = https://github.com/Jack12816/colorpicker/archive/f5d441a.tar.gz + sha1sums = 962bd3ef627b32d4ac61c844b570e33b7a1dc647 + +pkgname = colorpicker + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..469fefeac4fa --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# $Id$ +# Maintainer: Hermann Mayer <hermann.mayer92@gmail.com> + +pkgname=colorpicker +commit=f5d441a +pkgver=1.0.${commit} +pkgrel=1 +pkgdesc="Click on a pixel on your screen and print its color value in RGB. Written for X11." +arch=('i686' 'x86_64') +url="https://github.com/Jack12816/colorpicker" +license=('MIT') +depends=('gtk2' 'gdk-pixbuf2' 'libx11' 'libxcomposite' 'libxfixes' 'libxext' 'cairo') +makedepends=('make') +source=(https://github.com/Jack12816/colorpicker/archive/${commit}.tar.gz) +sha1sums=('962bd3ef627b32d4ac61c844b570e33b7a1dc647') + +build() { + cd colorpicker* + make +} + +package() { + cd colorpicker* + mkdir -m755 -p ${pkgdir}/usr/bin + install -m644 colorpicker ${pkgdir}/usr/bin/ +} |