summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 179b4e480795cb131cae571b3403698ef42a73b3 (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
38
39
40
41
42
43
# Maintainer: David Baum <david.baum@naraesk.eu>
pkgname=plasma5-applets-feedreader
pkgver=1.0.1
pkgrel=1
pkgdesc="System tray support for Feedreader"
arch=('i686' 'x86_64')
url="https://github.com/naraesk/plasma-feedreader"
license=('GPL3')
groups=()
depends=('plasma-workspace' 'feedreader')
makedepends=('cmake' 'extra-cmake-modules' 'ki18n' 'qt5-base' 'qt5-declarative' 'qt5-tools')
optdepends=()
provides=()
conflicts=()
replaces=()
backup=()
options=()
install=()
changelog=()
source=('https://github.com/naraesk/plasma-feedreader/archive/v1.0.1.tar.gz')
noextract=()
md5sums=('a8224219d5986107626944a25115a533')

prepare() {
  cd plasma-feedreader-${pkgver}
  mkdir -p build
}

build() {
  cd plasma-feedreader-${pkgver}/build
  export QT_SELECT=5
  cmake ../ \
    -DCMAKE_INSTALL_PREFIX=`qtpaths --install-prefix` \
    -DKDE_INSTALL_LIBDIR=lib \
    -DKDE_INSTALL_USE_QT_SYS_PATHS=ON \
    -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd plasma-feedreader-${pkgver}/build
  make DESTDIR="${pkgdir}" install
}