aboutsummaryrefslogtreecommitdiffstats
path: root/community/libcprime/APKBUILD
blob: aac74d7c1b4f35b9c09c4046794286030cf2e8b6 (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=libcprime
pkgver=4.2.2
pkgrel=0
pkgdesc="Library for bookmarking, saving activities, sharing files and more"
arch="all"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtbase libnotify qt5-qtconnectivity"
makedepends="qt5-qtbase-dev libcprime-dev cmake ninja"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/libcprime/-/archive/v$pkgver/libcprime-v$pkgver.tar.gz"
subpackages="$pkgname-dev"
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="fbe94be1cb92417997eca46e3476a6e76087fb8071f9ef3f4584d5bfbe93110690fec3912e6e9c42aa88f5cbac5b636fce523583357280a1da115787d8ebca43  libcprime-4.2.2.tar.gz"