summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD15
-rw-r--r--liferea-unstable.install21
3 files changed, 11 insertions, 34 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 01c968a009f..8fe4a19e305 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,8 @@
-# Generated by mksrcinfo v8
-# Sun Jan 31 11:08:45 UTC 2016
pkgbase = liferea-unstable
pkgdesc = A desktop news aggregator for online news feeds and weblogs - Unstable
- pkgver = 1.11.7
+ pkgver = 1.12.rc1
pkgrel = 1
url = http://lzone.de/liferea/
- install = liferea-unstable.install
arch = i686
arch = x86_64
license = GPL
@@ -29,8 +26,8 @@ pkgbase = liferea-unstable
conflicts = liferea-git
options = !libtool
options = !emptydirs
- source = https://github.com/lwindolf/liferea/releases/download/v1.11.7/liferea-1.11.7.tar.bz2
- sha256sums = 227c3d4e13fef655e96bad7194671e97373ef0ca2b47eecd1fdd61a2547c5453
+ source = https://github.com/lwindolf/liferea/archive/v1.12-rc1.tar.gz
+ sha256sums = 49416c9a013bc2a5eac0d82602571df3cbd6be7aa06521eeac91587f2eb77572
pkgname = liferea-unstable
diff --git a/PKGBUILD b/PKGBUILD
index 7ee76c08f30..d9c1ffab86a 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -5,9 +5,11 @@
# Contributor: Leonid Selivanov <bravebug at gmail dot com>
_pkgname="liferea"
+_pkgver="1.12"
+_prerelease="rc1"
pkgname="${_pkgname}-unstable"
-pkgver=1.11.7
+pkgver="${_pkgver}.${_prerelease}"
pkgrel=1
pkgdesc="A desktop news aggregator for online news feeds and weblogs - Unstable"
arch=('i686' 'x86_64')
@@ -24,13 +26,12 @@ optdepends=(
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=('227c3d4e13fef655e96bad7194671e97373ef0ca2b47eecd1fdd61a2547c5453')
+source=("https://github.com/lwindolf/${_pkgname}/archive/v${_pkgver}-${_prerelease}.tar.gz")
+sha256sums=('49416c9a013bc2a5eac0d82602571df3cbd6be7aa06521eeac91587f2eb77572')
build() {
- cd "${_pkgname}-${pkgver}"
-
+ cd "${_pkgname}-${_pkgver}-${_prerelease}"
+ ./autogen.sh
./configure \
--prefix=/usr \
--sysconfdir=/etc \
@@ -41,7 +42,7 @@ build() {
}
package() {
- cd "${_pkgname}-${pkgver}"
+ cd "${_pkgname}-${_pkgver}-${_prerelease}"
make DESTDIR="${pkgdir}" install
}
diff --git a/liferea-unstable.install b/liferea-unstable.install
deleted file mode 100644
index b9ed76c02b8..00000000000
--- a/liferea-unstable.install
+++ /dev/null
@@ -1,21 +0,0 @@
-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
-}