squawk/packaging/Archlinux/PKGBUILD

27 lines
978 B
Bash
Raw Permalink Normal View History

# Maintainer: Yury Gubich <blue@macaw.me>
2019-10-08 09:01:14 +00:00
pkgname=squawk
pkgver=0.2.4
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' 'lmdbal-qt6' 'qxmpp-qt6')
makedepends=('cmake>=3.3' 'imagemagick' 'qt6-tools' 'boost')
optdepends=('kwallet6: secure password storage (requires rebuild)'
'kconfig6: system themes support (requires rebuild)'
'kconfigwidgets6: system themes support (requires rebuild)'
'kio6: better show in folder action (requires rebuild)')
source=("$pkgname-$pkgver-$pkgrel.tar.gz::https://git.macaw.me/blue/$pkgname/archive/$pkgver.tar.gz")
sha256sums=('SKIP')
build() {
cd "$srcdir/squawk"
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release
2023-03-27 18:45:29 +00:00
cmake --build .
}
package() {
cd "$srcdir/squawk"
2023-03-27 18:45:29 +00:00
DESTDIR="$pkgdir/" cmake --install .
}