Date: Saturday, May 1, 2021 @ 10:52:21 Author: bgyorgy Revision: 925534
archrelease: copy trunk to community-x86_64 Added: ksnip/repos/ ksnip/repos/community-x86_64/ ksnip/repos/community-x86_64/PKGBUILD (from rev 925533, ksnip/trunk/PKGBUILD) ----------+ PKGBUILD | 23 +++++++++++++++++++++++ 1 file changed, 23 insertions(+) Copied: ksnip/repos/community-x86_64/PKGBUILD (from rev 925533, ksnip/trunk/PKGBUILD) =================================================================== --- repos/community-x86_64/PKGBUILD (rev 0) +++ repos/community-x86_64/PKGBUILD 2021-05-01 10:52:21 UTC (rev 925534) @@ -0,0 +1,23 @@ +# Maintainer: Balló György <ballogyor+arch at gmail dot com> +# Contributor: dracorp aka Piotr Rogoza <piotr.r.public at gmail.com> + +pkgname=ksnip +pkgver=1.8.2 +pkgrel=3 +pkgdesc='Qt-based screenshot tool that provides many annotation features' +arch=('x86_64') +url='https://github.com/ksnip/ksnip' +license=('GPL2') +depends=('hicolor-icon-theme' 'kimageannotator' 'qt5-x11extras') +makedepends=('cmake' 'extra-cmake-modules' 'ninja' 'qt5-tools') +source=("https://github.com/ksnip/$pkgname/archive/v$pkgver/$pkgname-$pkgver.tar.gz") +sha256sums=('3939ae0fb04494b11c6c6cb7a4b53cd837d282eb96beafdc1acede81abbf9e36') + +build() { + cmake -S $pkgname-$pkgver -B build -G Ninja -DCMAKE_INSTALL_PREFIX='/usr' + cmake --build build +} + +package() { + DESTDIR="$pkgdir" cmake --install build +}