# Maintainer: Dan Johansen # Contributor: Shaber pkgname=coreimage pkgver=4.5.0 pkgrel=1 pkgdesc="An image viewer from the C Suite" arch=('x86_64' 'aarch64') url="https://gitlab.com/cubocore/coreapps/$pkgname" license=('GPL3') depends=('qt5-base' 'libcprime>=2.7.1') makedepends=('cmake' 'ninja') groups=('coreapps') source=("https://gitlab.com/cubocore/coreapps/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") md5sums=('efac4188861cd8c3868daefb26e26066') prepare() { mkdir -p build } build() { cd build cmake ../${pkgname}-v${pkgver} \ -GNinja \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_INSTALL_LIBDIR=lib ninja } package() { cd build DESTDIR="${pkgdir}" ninja install }