# Maintainer: Marco Scarpetta pkgname=qtwaw pkgver=1.6.13 pkgrel=1 pkgdesc='An application for WhatsApp Web with tray icon and notifications' arch=('i686' 'x86_64') url='https://gitlab.com/scarpetta/qtwaw' license=('GPL') depends=('qt5-base' 'qt5-webengine' 'kdbusaddons' 'knotifications') makedepends=('cmake' 'qt5-tools') source=("https://gitlab.com/scarpetta/${pkgname}/-/archive/v${pkgver}/${pkgname}-v${pkgver}.tar.gz") sha256sums=('1386ab83649138e2003406e636c5ad7f9b5e511ad710e57f31cf0f5ba040acab') prepare() { cd "${srcdir}/${pkgname}-v${pkgver}" mkdir -p build } build() { cd "${srcdir}/${pkgname}-v${pkgver}/build" cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release make } package() { cd "${srcdir}/${pkgname}-v${pkgver}/build" make DESTDIR="$pkgdir" install }