summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 471c9bf41c94f734588c745aabab9991f70dfbfe (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
# Maintainer: kleintux <reg-archlinux AT klein DOT tuxli DOT ch>
# Contributor: basinilya <basinilya@gmail.com>
# Contributor: TDY <tdy@gmx.com>

pkgname=xgrabcolor
pkgver=1.4.6
pkgrel=6
pkgdesc="A basic color picker"
arch=('i686' 'x86_64' 'aarch64')
url="http://hugo.pereira.free.fr/software/index.php?page=package&package_list=software_list_qt4&package=xgrabcolor&full="
license=('GPL')
depends=('qt5-base' 'qt5-x11extras')
makedepends=('cmake')
source=(http://hugo.pereira.free.fr/software/tgz/${pkgname}-${pkgver}.tar.gz)

build() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  cmake . -DCMAKE_INSTALL_PREFIX=/usr \
    -DCMAKE_BUILD_TYPE=Release \
    -DCMAKE_INSTALL_PREFIX=/usr \
    -DUSE_QT5=Yes
  make
}

package() {
  cd "${srcdir}/${pkgname}-${pkgver}"
  make DESTDIR="${pkgdir}" install
}

sha256sums=('457b73f84f68cf90cf995e719a0bcc2a923bb67e7e459294935b82a346c0e638')