diff options
-rw-r--r-- | .SRCINFO | 8 | ||||
-rw-r--r-- | PKGBUILD | 19 |
2 files changed, 16 insertions, 11 deletions
@@ -1,16 +1,18 @@ pkgbase = corepaint pkgdesc = A paint app from the CoreApps family. - pkgver = 4.1.0 + pkgver = 4.2.0 pkgrel = 1 url = https://gitlab.com/cubocore/coreapps/corepaint arch = x86_64 arch = aarch64 groups = coreapps license = GPL3 + makedepends = cmake + makedepends = ninja depends = qt5-base depends = libcprime>=3.0.1 - source = https://gitlab.com/cubocore/coreapps/corepaint/-/archive/v4.1.0/corepaint-v4.1.0.tar.gz - md5sums = 73cc782b2d1c0c989da9309f046621a2 + source = https://gitlab.com/cubocore/coreapps/corepaint/-/archive/v4.2.0/corepaint-v4.2.0.tar.gz + md5sums = 288f4e5b336ea369efa31579d6838d39 pkgname = corepaint @@ -2,29 +2,32 @@ # Contributor: Shaber pkgname=corepaint -pkgver=4.1.0 +pkgver=4.2.0 pkgrel=1 pkgdesc="A paint app from the CoreApps family." arch=('x86_64' 'aarch64') url="https://gitlab.com/cubocore/coreapps/$pkgname" license=('GPL3') depends=('qt5-base' 'libcprime>=3.0.1') +makedepends=('cmake' 'ninja') groups=('coreapps') source=("https://gitlab.com/cubocore/coreapps/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz") -md5sums=('73cc782b2d1c0c989da9309f046621a2') +md5sums=('288f4e5b336ea369efa31579d6838d39') prepare() { mkdir -p build } build() { - cd ${pkgname}-v${pkgver} - - qmake-qt5 ${pkgname}.pro - make + cd build + cmake ../${pkgname}-v${pkgver} \ + -GNinja \ + -DCMAKE_INSTALL_PREFIX=${pkgdir}/usr \ + -DCMAKE_INSTALL_LIBDIR=${pkgdir}/usr/lib + ninja } package() { - cd ${pkgname}-v${pkgver} - make INSTALL_ROOT=${pkgdir} install + cd build + ninja install } |