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

22 lines
701 B
Bash
Raw Normal View History

# Maintainer: Yury Gubich <blue@macaw.me>
2019-10-08 09:01:14 +00:00
pkgname=squawk
2019-12-25 11:11:29 +00:00
pkgver=0.1.2
pkgrel=1
pkgdesc="An XMPP desktop messenger, written on 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')
makedepends=('cmake>=3.3' 'imagemagick' 'qt5-tools')
source=("$pkgname-$pkgver.tar.gz")
2019-12-25 11:11:29 +00:00
sha256sums=('9f89f41e52047c0e687a0a1b766331c19747c11f8f329e540402eaddbca4b677')
build() {
cd "$srcdir/squawk"
cmake . -D CMAKE_INSTALL_PREFIX=/usr -D CMAKE_BUILD_TYPE=Release
cmake --build . -j $nproc
}
package() {
cd "$srcdir/squawk"
DESTDIR="$pkgdir/" cmake --build . --target install
}