aboutsummaryrefslogtreecommitdiffstats
path: root/community/coreshot/APKBUILD
blob: c6293ee6213083be9000179d3e1165fadbfcdb51 (plain) (blame)
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
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreshot
pkgver=4.2.0
pkgrel=0
pkgdesc="A screen capture utility from C-Suite"
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev qt5-qtx11extras-dev cmake ninja"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coreshot/-/archive/v$pkgver/coreshot-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	cmake -B build \
		-GNinja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib \
		-DCMAKE_BUILD_TYPE=None
	cmake --build build
}

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="80e5587d802980b2acb7be5b9babdca365332c4ceadf3d2ff7c30e94c706a47fcece8045e689b2eac8186a21267af5017caf46dd89fe6bf60bf81dec0f7f75b0  coreshot-4.2.0.tar.gz"