summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a6f92824bb0733c1840f7d208e8faf75a5251e70 (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
# Contributor: Russ Gibson <russ@russgibson.org>
# Maintener: Frederic Bezies <fredbezies@gmail.com>

pkgname=liferea-git
_gitname=liferea
pkgver=v1.12.6.r75.gbd5cb8d9
pkgrel=1
epoch=1
pkgdesc="A news aggregator for GTK, git version."
arch=('i686' 'x86_64')
url="https://lzone.de/liferea/"
license=('GPL')
depends=('libpeas' 'webkit2gtk')
makedepends=('autoconf' 'intltool' 'git' 'gobject-introspection' 'gconf')
optdepends=('python-gobject' 'python-cairo' 'gst-plugins-bad' 'gst-plugins-good' 'gst-plugins-base')
provides=('liferea')
conflicts=('liferea' 'liferea-unstable')
options=('!libtool' '!emptydirs')
source=('git+https://github.com/lwindolf/liferea.git')
sha1sums=('SKIP')

pkgver() {
	cd liferea
    git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
  cd liferea
  autoreconf -i
  intltoolize
  ./configure --prefix=/usr --disable-schema-install
  make 
} 

package() {
    cd liferea
    make DESTDIR="$pkgdir" install

    install -d "${pkgdir}/usr/share/gconf/schemas"
    gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" "${pkgdir}"/etc/gconf/schemas/*.schemas
    rm -f "${pkgdir}"/etc/gconf/schemas/*.schemas
}