aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorrahmanshaber <rahmanshaber@yahoo.com>2021-04-21 10:50:12 -0400
committerBart Ribbers <bribbers@disroot.org>2021-04-21 15:26:13 +0000
commit2425cfbda50505d1bb0ae55f36dd9cc36bbcffcc (patch)
tree0ee73926596d64f406847020c3fa9ef41ceca9ea
parenta867a5dc77db7c6ba5cbe30af6ba288b5ad9769f (diff)
downloadaports-2425cfbda50505d1bb0ae55f36dd9cc36bbcffcc.tar.gz
aports-2425cfbda50505d1bb0ae55f36dd9cc36bbcffcc.tar.bz2
aports-2425cfbda50505d1bb0ae55f36dd9cc36bbcffcc.tar.xz
community/corepdf: upgrade to 4.2.0
-rw-r--r--community/corepdf/APKBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/corepdf/APKBUILD b/community/corepdf/APKBUILD
index a6569171f3..9ac345b82f 100644
--- a/community/corepdf/APKBUILD
+++ b/community/corepdf/APKBUILD
@@ -1,24 +1,28 @@
# Contributor: rahmanshaber <rahmanshaber@yahoo.com>
# Maintainer: rahmanshaber <rahmanshaber@yahoo.com>
pkgname=corepdf
-pkgver=4.1.0
+pkgver=4.2.0
pkgrel=0
-pkgdesc="A PDF viewer from the CoreApps family."
+pkgdesc="A PDF 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 poppler-qt5-dev"
+makedepends="qt5-qtbase-dev libcprime-dev poppler-qt5-dev cmake ninja"
source="$pkgname-$pkgver.tar.gz::https://gitlab.com/cubocore/corepdf/-/archive/v$pkgver/corepdf-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="dcc9a5cb5d8566f783c1fc680f596f54261ac1e6b679e13043e9b7146e3bbddc8527d57e48ea359a748b4a6f3106cb2c97b8bd41c5c51bcf9d0e4cf558b1da99 corepdf-4.1.0.tar.gz"
+sha512sums="77bb85ec059fe0778e5e506842d84e38f941f587ab303f1526ab52d35d6588039c7c320a001128d81aa394c1a2e817e8af36b3fca4a5c46148acaf64178c9e85 corepdf-4.2.0.tar.gz"