blob: 75aa67f1c1f3a696225bafde9f354efc3ff2558d (
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
|
# Maintainer: Midov <midov@midov.pl>
pkgname=matrix-mirage-git
_name=mirage
pkgver=r2552.bbadc739
pkgrel=1
pkgdesc='A fancy, customizable, keyboard-operable Matrix chat client for encrypted and decentralized communication.'
arch=('any')
url='https://github.com/mirukana/mirage'
license=('LGPL3')
depends=('qt5-base' 'qt5-declarative' 'qt5-quickcontrols2' 'qt5-svg' 'qt5-graphicaleffects' 'qt5-imageformats' 'python' 'python-pyotherside' 'libolm' 'libjpeg-turbo' 'zlib' 'libtiff' 'libwebp' 'openjpeg2' 'libmediainfo' 'python-pillow' 'python-pymediainfo' 'python-cairosvg' 'python-aiofiles' 'python-appdirs' 'python-filetype' 'python-html-sanitizer' 'python-lxml' 'python-mistune' 'python-blist' 'python-matrix-nio>=0.15.0' 'libxss' 'python-plyer' 'python-sortedcontainers' 'python-watchgod' 'python-redbaron' 'python-dbus' 'python-hsluv' 'python-pycryptodome' 'python-simpleaudio')
makedepends=('cmake' 'git')
conflicts=('mirage-matrix' 'matrix-mirage')
source=("git://github.com/mirukana/${_name}.git#branch=dev")
sha256sums=('SKIP')
prepare() {
cd ${srcdir}/"${_name}"
git submodule update --init --recursive
}
pkgver() {
cd ${srcdir}/"${_name}"
printf 'r%s.%s' "$(git rev-list --count HEAD)" "$(git describe --always)"
}
build() {
cd ${srcdir}/"${_name}"
qmake PREFIX=/usr mirage.pro
make
}
package() {
cd ${srcdir}/"${_name}"
make INSTALL_ROOT="${pkgdir}" install
}
|