blob: 1d1e1e688fdd7baf61a7856fae29bb203bbfbd7e (
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
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
|
# Maintainer:
# Contributor: Antonio Rojas <arojas@archlinux.org>
# Contributor: Andrea Scarpino <andrea@archlinux.org>
# Contributor: Ionut Biru <ibiru@archlinux.org>
## links
# https://telepathy.freedesktop.org/wiki/
# https://github.com/TelepathyQt/telepathy-qt
_pkgname="telepathy-qt"
pkgname="$_pkgname"
pkgver=0.9.8
pkgrel=4
pkgdesc="A library for Qt-based Telepathy clients"
url="https://github.com/TelepathyQt/telepathy-qt"
license=('LGPL-2.1-or-later')
arch=('x86_64' 'aarch64')
depends=(
qt5-base
telepathy-farstream
)
makedepends=(
cmake
doxygen
ninja
python
qt5-tools
)
_pkgsrc="$_pkgname-$pkgver"
_pkgext="tar.gz"
source=(
"https://telepathy.freedesktop.org/releases/$_pkgname/$_pkgsrc.$_pkgext"{,.asc}
)
sha256sums=(
'bf8e2a09060addb80475a4938105b9b41d9e6837999b7a00e5351783857e18ad'
'SKIP'
)
validpgpkeys=('AA33B0D27868E36C151780F0FE0B6D736B1195ED') # Alexandr Akulich
build() {
local _cmake_options=(
-B build
-S "$_pkgsrc"
-G Ninja
-DCMAKE_INSTALL_PREFIX=/usr
-DENABLE_EXAMPLES=OFF
-DENABLE_TESTS=OFF
)
cmake "${_cmake_options[@]}"
cmake --build build
}
package() {
DESTDIR="$pkgdir" cmake --install build
}
|