blob: 6491982fd1259f6883bb14139574fe1e42a621ad (
plain)
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
32
33
|
# Maintainer: <strit@strits.dk>
# Contributor: Shaber
pkgname=corepaint
pkgver=4.5.0
pkgrel=1
pkgdesc="A paint app from the C Suite"
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=('4cc4cd11d0b7a5b341a79503dd6b2fc5')
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
}
|