blob: 38d41c270ec6d94348dc949b6e7531c73e212166 (
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-git
pkgver=218.r530.gbb0f801
pkgrel=1
epoch=
pkgdesc="Glossy cross-platform client for Matrix"
arch=(any)
url="https://gitlab.com/b0/spectral"
license=('GPL3')
depends=(
'qt5-graphicaleffects' 'qt5-multimedia' 'qt5-quickcontrols2' 'qt5-svg'
'qt5-tools' 'qtkeychain')
makedepends=('cmake' 'cmark' 'git' 'libolm')
options=()
source=("$pkgname::git+https://gitlab.com/b0/spectral.git")
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 $pkgdir/usr/share/icons/hicolor/icon-theme.cache
}
|