db-move: moved gnome-terminal from [staging] to [testing] (x86_64)
[arch-packages.git] / kcolorpicker / trunk / PKGBUILD
blobb8ef9b3c1612156cff2f83dde7a121e324be1227
1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com>
4 pkgname=kcolorpicker
5 pkgver=0.2.0
6 pkgrel=1
7 pkgdesc='Qt based Color Picker with popup menu'
8 arch=(x86_64)
9 url='https://github.com/DamirPorobic/kColorPicker'
10 license=(GPL)
11 makedepends=(cmake)
12 depends=(qt5-base)
13 source=(https://github.com/ksnip/kColorPicker/archive/v$pkgver/$pkgname-$pkgver.tar.gz)
14 sha256sums=('20ffc5e935333a18c5cd813c3d306d3482ec9c826fe0d0c3d7b7635419703d55')
16 build() {
17   cmake -B build -S kColorPicker-$pkgver \
18     -DCMAKE_INSTALL_PREFIX=/usr \
19     -DBUILD_SHARED_LIBS=ON
20   cmake --build build
23 package() {
24   DESTDIR="$pkgdir" cmake --install build