blob: a061ac39232f3867f6baa87144ad48d145c4b9a9 (
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: Grigorii Horos <horosgrisa@gmail.com>
pkgname=feedreader-git
pkgver=2.0
pkgrel=1
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')
groups=()
depends=('sqlite3' 'gtk3' 'webkit2gtk' 'libnotify' 'libsoup' 'libgee' 'json-glib' 'libsecret', 'libpeas', 'gvfs-goa')
makedepends=('vala' 'gobject-introspection' 'cmake')
provides=("${pkgname%-*}")
conflicts=("${pkgname%-*}")
install="${pkgname%-*}.install"
source=('git+https://github.com/jangernert/FeedReader.git')
sha256sums=('SKIP')
pkgver() {
cd "$srcdir/FeedReader"
# cutting off 'foo-' prefix that presents in the git tag
printf $(git describe --tags --long | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g')
}
build() {
mkdir -p "$srcdir/FeedReader/build"
cd "$srcdir/FeedReader/build"
cmake -DCMAKE_INSTALL_PREFIX=/usr -DUSE_WEBKIT_4=ON -DGSETTINGS_COMPILE=OFF -DWITH_LIBUNITY=OFF ..
make
}
package() {
cd "$srcdir/FeedReader/build"
make DESTDIR="${pkgdir}" install
}
|