summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c3d6e63bfe31e700931168cdd8c2eb7ae00e7405 (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
44
45
46
# Maintainer:  Andrew O'Neill <andrew at meanjollies dot com>
# Contributor: poisonby <poisonby@tutanota.com>
# Contributor: Jason Scurtu (scujas) <jscurtu@gmail.com>
# Contributor: Marcin Tydelski <marcin.tydelski@gmail.com>
# Contributor: Jan Lukas Gernert (JeanLuc) <https://launchpad.net/~eviltwin1>

pkgname=feedreader
pkgver=2.0.2
pkgrel=3
pkgdesc="FeedReader is a modern desktop application designed to complement existing web-based RSS accounts."
arch=('i686' 'x86_64')
url="https://github.com/jangernert/FeedReader"
license=('GPL3')
conflicts=("$pkgname-git")
depends=('sqlite3' 'gtk3' 'webkit2gtk' 'libnotify' 'libsoup' 'libgee' 'json-glib' 'libsecret' 'libpeas' 'gnome-online-accounts' 'curl')
makedepends=('vala' 'gobject-introspection' 'cmake')
source=("$url/archive/v$pkgver.tar.gz"
        "$pkgname.patch")
sha256sums=('949262912bc07f8d1ec72dfa1bbeafb0ed1cea992589e1ee5901e0630c714261'
            '6a13326630678db6f9de94adcd3e289dc7dba2e656c75967868c0a23ba6e653e')

prepare() {
  cd FeedReader-$pkgver

  patch -p1 -i ../$pkgname.patch
}

build() {
  cd FeedReader-$pkgver

  mkdir build
  cd build

  cmake \
	  -DCMAKE_INSTALL_PREFIX=/usr \
	  -DGSETTINGS_COMPILE=OFF \
	  -DCMAKE_INSTALL_LIBDIR=lib \
	  ..
  make
}

package() {
  cd FeedReader-$pkgver/build

  make DESTDIR=$pkgdir install
}