blob: 0446636269d8ae361b29ce61ddf90a175dc4fbed (
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
51
52
53
54
55
56
|
# $Id$
# Maintainer: Eric Bélanger <eric@archlinux.org>
# Contributor: bitlord
pkgbasename=liferea
pkgname=liferea-libre
pkgver=1.6.5
pkgrel=3
pkgdesc="A desktop news aggregator for online news feeds and weblogs"
arch=('i686' 'x86_64')
url="http://liferea.sourceforge.net/"
provides=("liferea=$pkgver")
replaces=('liferea')
conflicts=('liferea')
license=('GPL')
depends=('gconf' 'libwebkit' 'libxslt' 'libglade' 'sqlite3' 'hicolor-icon-theme')
makedepends=('pkg-config' 'intltool' 'lua' 'libnotify')
optdepends=('lua: for lua scripting support'
'libnotify: for notification support')
options=('!libtool' '!emptydirs')
install=liferea.install
source=(http://repo.parabolagnulinux.org/other/$pkgname-$pkgver.tar.gz
libnotify-0.7.patch
remove-non-free-suggestions.patch)
md5sums=('f2d0ae5fb9f763451ba8b9fe2216de9c'
'fca97e3316c1c51e0179c4c7dcce47a2'
'380284dc0b54ab9488f0659e832e59fa')
# source PKGBUILD ; mksource
mksource() {
wget http://downloads.sourceforge.net/sourceforge/liferea/liferea-${pkgver}.tar.gz \
-O - | tar xzf -
pushd liferea-$pkgver >/dev/null
patch -Np1 -i "../remove-non-free-suggestions.patch" || return 1
popd >/dev/null
tar cvzf $pkgname-$pkgver.tar.gz liferea-$pkgver/
rm -rvf liferea-$pkgver/
}
build() {
cd "${srcdir}/liferea-${pkgver}"
patch -Np1 -i "$srcdir/libnotify-0.7.patch"
./configure --prefix=/usr --sysconfdir=/etc --localstatedir=/var --disable-schemas-install
make
}
package() {
cd "${srcdir}/liferea-${pkgver}"
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
}
|