summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorValHue2015-06-09 13:12:02 +0200
committerValHue2015-06-09 13:12:02 +0200
commitcad97db9e81a24aa2bfda13823c1a321d34979db (patch)
tree76a179029df98e90b06ebb2dfc52dd27e86dbe44
downloadaur-cad97db9e81a24aa2bfda13823c1a321d34979db.tar.gz
Initial import
-rw-r--r--.SRCINFO32
-rw-r--r--PKGBUILD45
-rw-r--r--liferea-unstable.install21
3 files changed, 98 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO
new file mode 100644
index 00000000000..92fdf38ab6b
--- /dev/null
+++ b/.SRCINFO
@@ -0,0 +1,32 @@
+pkgbase = liferea-unstable
+ pkgdesc = A desktop news aggregator for online news feeds and weblogs - Unstable
+ pkgver = 1.11.4
+ pkgrel = 1
+ url = http://lzone.de/liferea/
+ install = liferea-unstable.install
+ arch = i686
+ arch = x86_64
+ license = GPL
+ makedepends = pkgconfig
+ makedepends = diffutils
+ makedepends = intltool
+ depends = webkitgtk
+ depends = libnotify
+ depends = json-glib
+ depends = libpeas
+ depends = desktop-file-utils
+ optdepends = gnome-keyring: for keyring plugin support
+ optdepends = libgnome-keyring: for keyring plugin support
+ optdepends = gst-plugins-base: for media player plugin support
+ optdepends = gst-plugins-good: for media player plugin support
+ optdepends = gst-plugins-bad: for media player plugin support
+ provides = liferea
+ conflicts = liferea
+ conflicts = liferea-git
+ options = !libtool
+ options = !emptydirs
+ source = https://github.com/lwindolf/liferea/releases/download/v1.11.4/liferea-1.11.4.tar.bz2
+ sha256sums = 16b6a0cdddb13870d095ca55c1f00bf370e74248f29f21cb2c7ee90781ae42df
+
+pkgname = liferea-unstable
+
diff --git a/PKGBUILD b/PKGBUILD
new file mode 100644
index 00000000000..abb4760cee6
--- /dev/null
+++ b/PKGBUILD
@@ -0,0 +1,45 @@
+# Maintainer: ValHue <vhuelamo at gmail dot com>
+# https://github.com/ValHue/AUR-PKGBUILDs
+#
+# Contributor: Matthias Maennich <arch at maennich dot net>
+# Contributor: Leonid Selivanov <bravebug at gmail dot com>
+
+_pkgname="liferea"
+
+pkgname="${_pkgname}-unstable"
+pkgver=1.11.4
+pkgrel=1
+pkgdesc="A desktop news aggregator for online news feeds and weblogs - Unstable"
+arch=('i686' 'x86_64')
+url="http://lzone.de/liferea/"
+license=('GPL')
+depends=('webkitgtk' 'libnotify' 'json-glib' 'libpeas' 'desktop-file-utils')
+makedepends=('pkgconfig' 'diffutils' 'intltool')
+optdepends=('gnome-keyring: for keyring plugin support'
+ 'libgnome-keyring: for keyring plugin support'
+ 'gst-plugins-base: for media player plugin support'
+ 'gst-plugins-good: for media player plugin support'
+ 'gst-plugins-bad: for media player plugin support')
+options=('!libtool' '!emptydirs')
+provides=('liferea')
+conflicts=('liferea' 'liferea-git')
+install="${pkgname}.install"
+source=("https://github.com/lwindolf/${_pkgname}/releases/download/v${pkgver}/${_pkgname}-${pkgver}.tar.bz2")
+sha256sums=('16b6a0cdddb13870d095ca55c1f00bf370e74248f29f21cb2c7ee90781ae42df')
+
+build() {
+ cd "${_pkgname}-${pkgver}"
+
+ ./configure \
+ --prefix=/usr \
+ --sysconfdir=/etc \
+ --localstatedir=/var \
+ --disable-schemas-compile
+
+ make ${MAKEFLAGS}
+}
+
+package() {
+ cd "${_pkgname}-${pkgver}"
+ make DESTDIR="${pkgdir}" install
+}
diff --git a/liferea-unstable.install b/liferea-unstable.install
new file mode 100644
index 00000000000..b9ed76c02b8
--- /dev/null
+++ b/liferea-unstable.install
@@ -0,0 +1,21 @@
+pkgname=liferea-unstable
+
+post_install() {
+ glib-compile-schemas usr/share/glib-2.0/schemas
+ gtk-update-icon-cache -q -t -f usr/share/icons/hicolor
+ update-desktop-database -q
+}
+
+pre_upgrade() {
+ if [ -f usr/share/gconf/schemas/$pkgname.schemas ]; then
+ gconfpkg --uninstall $pkgname
+ fi
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}