blob: f2752ff7b81a4009a45e08b937ad60eb0cc76e47 (
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
36
37
38
39
40
|
# Maintainer: Anton Karmanov <bergentroll@insiberia.net>
pkgname=spectral-matrix-git
pkgver=218.r648.g30028a2
pkgrel=1
epoch=
pkgdesc="Glossy cross-platform client for Matrix"
arch=(any)
url="https://gitlab.com/spectral-im/spectral"
license=('GPL3')
depends=(
'cmark' 'qt5-graphicaleffects' 'qt5-multimedia' 'qt5-quickcontrols2' 'qt5-svg'
'qt5-tools' 'qtkeychain' 'libolm')
makedepends=('cmake' 'git')
options=()
source=("$pkgname::git+https://gitlab.com/spectral-im/spectral")
md5sums=('SKIP')
pkgver() {
cd $pkgname
git describe --long | sed 's/-/.r/;s/-/./'
}
prepare() {
cd $pkgname
git submodule update --init --recursive
}
build() {
cd $pkgname
mkdir -p build
cd build
cmake -DCMAKE_INSTALL_PREFIX="$pkgdir/usr/" -DCMAKE_BUILD_TYPE='Release' ../
make
}
package() {
cd $pkgname/build
make install
rm -f $pkgdir/usr/share/icons/hicolor/icon-theme.cache
}
|