aboutsummaryrefslogtreecommitdiffstats
path: root/community/coreshot/APKBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/coreshot/APKBUILD')
-rw-r--r--community/coreshot/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/coreshot/APKBUILD b/community/coreshot/APKBUILD
index 331f4f00f9..c6293ee621 100644
--- a/community/coreshot/APKBUILD
+++ b/community/coreshot/APKBUILD
@@ -1,24 +1,28 @@
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=coreshot
-pkgver=4.1.0
+pkgver=4.2.0
pkgrel=0
-pkgdesc="A screen capture utility from the CoreApps family."
+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"
+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() {
- qmake-qt5
- make
+ cmake -B build \
+ -GNinja \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DCMAKE_BUILD_TYPE=None
+ cmake --build build
}
package() {
- INSTALL_ROOT="$pkgdir" make install
+ DESTDIR="$pkgdir" cmake --install build
}
-sha512sums="7a86f723c6b41e1551fb908b5bcdc7031e01121b282fed6225f6f74746f5cfcf9c3c474a71138b9adb63dbeb3bb41bcb0b0da32c4d11d21aafba66ef89ec4d3d coreshot-4.1.0.tar.gz"
+sha512sums="80e5587d802980b2acb7be5b9babdca365332c4ceadf3d2ff7c30e94c706a47fcece8045e689b2eac8186a21267af5017caf46dd89fe6bf60bf81dec0f7f75b0 coreshot-4.2.0.tar.gz"