blob: b7e4f804378f536924d747b0036ebdd148fa98f8 (
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
|
# Maintainer: pvg <pvg@poczta.fm>
# Contributor: Felix Golatofski <contact@xdfr.de>
# Contributor: Bartłomiej Piotrowski <bpiotrowski@archlinux.org>
# Contributor: Mateusz Herych
# Contributor: Jaroslaw Swierczynski <swiergot@aur.archlinux.org>
_name=kadu
_commit=7338f16
pkgname=$_name-git
pkgver=20240330
pkgrel=2
pkgdesc='Qt-based Jabber/XMPP and Gadu-Gadu client'
arch=('i686' 'x86_64')
url='https://github.com/piotr-wrobel/kadu'
license=('GPL')
depends=('enchant' 'boost' 'hicolor-icon-theme' 'injeqt' 'libarchive' 'libgadu' 'libmpdclient' 'libotr'
'libxss' 'qt5-multimedia' 'qt5-script' 'qt5-svg' 'qt5-webkit' 'qt5-x11extras' 'qt5-xmlpatterns' 'qxmpp-qt5')
makedepends=('cmake' 'qt5-tools')
provides=('kadu')
conflicts=('kadu')
options=('!emptydirs')
source=("$pkgname::git+https://github.com/piotr-wrobel/kadu.git#commit=$_commit")
sha256sums=('SKIP')
prepare() {
cd $pkgname
}
build() {
mkdir build
cd build
cmake ../$pkgname \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_INSTALL_LIBDIR=lib \
-DCMAKE_CXX_STANDARD=17 \
-DENABLE_TESTS=OFF
make
}
package() {
cd build
make DESTDIR="$pkgdir" LIBDIR=/usr/lib install
}
|