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

pkgname=corestuff
pkgver=3.0.1
pkgrel=1
pkgdesc="An activity viewer from the CoreApps family."
arch=('x86_64' 'aarch64')
url="https://gitlab.com/cubocore/$pkgname"
license=('GPL3')
depends=('qt5-base' 'qt5-x11extras' 'libxcomposite' 'kglobalaccel' 'libcsys>=2.7.1' 'libcprime>=2.7.1')
makedepends=('git')
replaces=('corebox')
groups=('coreapps')
source=( #"https://gitlab.com/cubocore/$pkgname/-/archive/v$pkgver/$pkgname-v$pkgver.tar.gz")
		"git+https://gitlab.com/cubocore/$pkgname.git#tag=v$pkgver")
md5sums=('SKIP')

prepare() {
  mkdir -p build
  cd ${pkgname}
  git submodule update --init --recursive
}

build() {
  cd ${pkgname}

  qmake-qt5 ${pkgname}.pro
  make
}

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