[arch-commits] Commit in (ksnip ksnip/trunk ksnip/trunk/PKGBUILD)
Balló György
bgyorgy at archlinux.org
Sat May 1 10:51:04 UTC 2021
Date: Saturday, May 1, 2021 @ 10:51:03
Author: bgyorgy
Revision: 925530
Move ksnip from AUR with 28 votes
Added:
ksnip/
ksnip/trunk/
ksnip/trunk/PKGBUILD
----------+
PKGBUILD | 23 +++++++++++++++++++++++
1 file changed, 23 insertions(+)
Added: ksnip/trunk/PKGBUILD
===================================================================
--- ksnip/trunk/PKGBUILD (rev 0)
+++ ksnip/trunk/PKGBUILD 2021-05-01 10:51:03 UTC (rev 925530)
@@ -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
+}
More information about the arch-commits
mailing list