summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 820caeba9f31110ba3dc5e08e1671977f25a0283 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: Erica Clawson <blargle.ragequit@gmail.com>
# Contributor: Andrew Chen <andrew.chuanye.chen@gmail.com>
# Contributor: Josip Ponjavic <josipponjavic at gmail dot com>

pkgname=kdeplasma-applets-gmailfeed
_pkgname=gmailfeed
pkgver=1.1
pkgrel=3
pkgdesc="A Plasma 5 plasmoid showing your Gmail feed."
arch=('i686' 'x86_64')
url="https://github.com/anthon38/gmailfeed"
license=('GPL3')
depends=('plasma-framework' 'hicolor-icon-theme' 'knotifications' 'qt5-xmlpatterns')
makedepends=('extra-cmake-modules')
install=${pkgname}.install
source=('https://github.com/anthon38/gmailfeed/archive/v1.1.tar.gz')
md5sums=('dce518313585f1e1c4da2cbdf0f8c676')

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
}