summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 0f9a848458b7702f8e4ecb8225ef899b4d3f9980 (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
# Maintainer: Shantanu Tushar <shantanu@kde.org>
pkgname=ruqola-git
pkgver=2.1.43alpha
pkgrel=1
epoch=
pkgdesc="Rocket.Chat client for the KDE desktop"
arch=('x86_64')
url="https://invent.kde.org/network/ruqola/"
license=('GPL2')
groups=()
depends=('qt6-networkauth' 'qt6-websockets' 'qtkeychain-qt6' 'hicolor-icon-theme' 'syntax-highlighting' 'kwidgetsaddons' 'kuserfeedback' 'knotifyconfig' 'kdoctools' 'prison' 'kidletime' 'ktextaddons' 'kxmlgui' 'ktextwidgets' 'kstatusnotifieritem')
makedepends=('cmake' 'extra-cmake-modules' 'git')
provides=(ruqola)
conflicts=(ruqola)
_name=ruqola
source=("git+https://invent.kde.org/network/$_name.git")
md5sums=('SKIP')

build() {
	mkdir -p "$srcdir/build"
	cd "$srcdir/build"
	cmake "$srcdir/$_name" -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX=/usr -DCMAKE_INSTALL_LIBDIR=lib
	cmake --build .
}

package() {
	cd "$srcdir/build"
	DESTDIR="$pkgdir" cmake --install .
}