aboutsummaryrefslogtreecommitdiffstats
path: root/community/coreimage/APKBUILD
blob: bbea18c70beb6a15e1be66d9003abbc6b0754e72 (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
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreimage
pkgver=4.3.0
pkgrel=0
pkgdesc="An image viewer 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 cmake ninja"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/coreimage/-/archive/v$pkgver/coreimage-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

build() {
	cmake ../$pkgname-v$pkgver \
		-GNinja \
		-DCMAKE_INSTALL_PREFIX=/usr \
		-DCMAKE_INSTALL_LIBDIR=lib
	ninja
}

package() {
	DESTDIR="$pkgdir" ninja install
}

sha512sums="
623962bda64f4148bf4c25920b315d4836c2df7a2f8e22143e5e3957dad6cdeb756abfe82b9faafa9dc0938900bffd2ebd2e99958aa6ef4d06d6803ef7190cad  coreimage-4.3.0.tar.gz
"