summaryrefslogtreecommitdiff
path: root/pcr/feedreader/PKGBUILD
blob: 6f15b59f8de7e0cb5b9d922eb447d4c6404b21e0 (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
47
48
49
50
# Maintainer (AUR):  Andrew O'Neill <andrew at meanjollies dot com>
# Contributor (AUR): poisonby <poisonby@tutanota.com>
# Contributor (AUR): Jason Scurtu (scujas) <jscurtu@gmail.com>
# Contributor (AUR): Marcin Tydelski <marcin.tydelski@gmail.com>
# Contributor (AUR): Jan Lukas Gernert (JeanLuc) <https://launchpad.net/~eviltwin1>

# parabola changes and rationale:
#  - added install file to update icon cache

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' 'armv7h')
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')
install="feedreader.install"
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
}