# Maintainer: Anthony Vital # Contributor: Erica Clawson # Contributor: Andrew Chen # Contributor: Josip Ponjavic pkgname=kdeplasma-applets-gmailfeed _pkgname=gmailfeed pkgver=1.2 pkgrel=2 pkgdesc="A Plasma 5 plasmoid showing your Gmail feed." arch=('i686' 'x86_64') url="https://github.com/anthon38/gmailfeed" license=('GPL3') depends=('plasma-framework5' 'hicolor-icon-theme' 'knotifications5' 'qt5-xmlpatterns' 'kaccounts-integration') makedepends=('extra-cmake-modules' 'intltool') install=${pkgname}.install source=('https://github.com/anthon38/gmailfeed/archive/v1.2.tar.gz') md5sums=('271f8f6b308a5130bdaa475b0cac4bee') build() { cd "${_pkgname}-${pkgver}" mkdir build cd build cmake .. \ -DCMAKE_INSTALL_PREFIX=/usr \ -DCMAKE_BUILD_TYPE=Release \ -DLIB_INSTALL_DIR=lib \ -DKDE_INSTALL_USE_QT_SYS_PATHS=ON make } package() { cd "${_pkgname}-${pkgver}"/build make DESTDIR="${pkgdir}" install }