aboutsummaryrefslogtreecommitdiffstats
path: root/community/corefm/APKBUILD
blob: 2ffb11afaf482e58f7c199e7ac9d4e775414ab77 (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
29
30
31
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corefm
pkgver=4.2.0
pkgrel=1
pkgdesc="A lightweight file-manager from C-Suite"
# armhf blocked by qt5-qtdeclarative
# s390x, mips64 and riscv64 blocked by polkit
arch="all !armhf !s390x !mips64 !riscv64"
url="https://gitlab.com/cubocore"
license="GPL-3.0-or-later"
depends="qt5-qtsvg"
makedepends="qt5-qtbase-dev libcprime-dev libcsys-dev qt5-qtmultimedia-dev cmake ninja"
source="https://gitlab.com/cubocore/corefm/-/archive/v$pkgver/corefm-v$pkgver.tar.gz"
builddir="$srcdir/$pkgname-v$pkgver"
options="!check"

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

package() {
	DESTDIR="$pkgdir" cmake --install build
}
sha512sums="
dce7592abf393c7adad2f07c9cb95450285f3af155abb41a76eceac2c50bdcd2c41f85a46e9a341ec06a7525599de5daea240fa9cdcb7f3c0dee25e00eac49dc  corefm-v4.2.0.tar.gz
"