1
0
forked from blue/squawk
squawk/packaging/Archlinux/PKGBUILD

27 lines
989 B
Bash
Raw Permalink Normal View History

# Maintainer: Yury Gubich <blue@macaw.me>
2019-10-08 09:01:14 +00:00
pkgname=squawk
2022-04-02 12:53:23 +00:00
pkgver=0.2.1
pkgrel=1
2020-03-31 15:56:49 +00:00
pkgdesc="An XMPP desktop messenger, written on pure c++ (qt)"
arch=('i686' 'x86_64')
url="https://git.macaw.me/blue/squawk"
license=('GPL3')
depends=('hicolor-icon-theme' 'desktop-file-utils' 'lmdb' 'qxmpp>=1.1.0')
2022-01-11 20:50:42 +00:00
makedepends=('cmake>=3.3' 'imagemagick' 'qt5-tools' 'boost')
2022-01-27 17:44:32 +00:00
optdepends=('kwallet: secure password storage (requires rebuild)'
'kconfig: system themes support (requires rebuild)'
'kconfigwidgets: system themes support (requires rebuild)'
'kio: better show in folder action (requires rebuild)')
source=("$pkgname-$pkgver.tar.gz")
2022-04-02 12:53:23 +00:00
sha256sums=('c00dad1e441601acabb5200dc394f53abfc9876f3902a7dd4ad2fee3232ee84d')
build() {
cd "$srcdir/squawk"
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release
cmake --build . -j $nproc
}
package() {
cd "$srcdir/squawk"
2022-04-02 12:53:23 +00:00
DESTDIR="$pkgdir/" cmake --build . --target install
}