summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: f31c9bf228f1d20893b5f0ec6d76ed12b2a8bc94 (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
# Contributor: Shaber
# Maintainer: Dan Johansen <strit@manjaro.org>

pkgname=coreimage
pkgver=3.0.1
pkgrel=1
pkgdesc="An image viewer from the CoreApps family."
arch=('x86_64' 'aarch64')
url="https://gitlab.com/cubocore/$pkgname"
license=('GPL3')
depends=('qt5-base' 'libcprime>=2.7.1')
groups=('coreapps')
source=("https://gitlab.com/cubocore/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
md5sums=('40a8048687a4aeb7fe6515eaec4049cd')

prepare() {
  mkdir -p build
}

build() {
  cd ${pkgname}-v${pkgver}

  qmake-qt5 ${pkgname}.pro
  make
}

package() {
  cd ${pkgname}-v${pkgver}
  make INSTALL_ROOT=${pkgdir} install
}