summaryrefslogtreecommitdiff
path: root/pcr/feedreader/PKGBUILD
blob: 89e9064f0b4505900ae1f64eca4ad4d0ea484dd5 (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
# Maintainer (Arch): Jason Scurtu (scujas) <jscurtu@gmail.com>
# Contributor (Arch): Marcin Tydelski <marcin.tydelski@gmail.com> 
# Contributor (Arch): Jan Lukas Gernert (JeanLuc) <https://launchpad.net/~eviltwin1>

pkgname=feedreader
pkgver=1.6.1
pkgrel=2
pkgdesc='A simple feedreader client for web services like Tiny Tiny RSS and in the future others.'
arch=('i686' 'x86_64')
url='https://launchpad.net/feedreader'
license=('GPL3')
depends=('sqlite3' 'gtk3' 'webkit2gtk' 'libnotify' 'libsoup' 'libgee' 'json-glib' 'libsecret')
makedepends=('vala' 'gobject-introspection' 'cmake')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
install="${pkgname%-*}.install"
source=('https://github.com/jangernert/FeedReader/archive/v'${pkgver}'.tar.gz')
sha256sums=('0e3921b795c9a96e92ac575cb21746775660e27bcd8546930904b901d649356f')

build() {
  cd "${srcdir}"
  if [[ -d "${srcdir}/build" ]]; then
    rm -rf "${srcdir}/build"
  fi
  mkdir "${srcdir}/build" && cd "${srcdir}/build"
  cmake ../FeedReader-"${pkgver}"/ -DCMAKE_INSTALL_PREFIX=/usr
  make
}

package() {
  cd "${srcdir}/build"
  make DESTDIR="${pkgdir}" install
}

# vim: ts=2 sw=2 et