From 57f52074941be81a76b5b96c784d207eac799d10 Mon Sep 17 00:00:00 2001 From: André Fabian Silva Delgado Date: Tue, 4 Feb 2014 19:15:34 -0200 Subject: fix parabola-release problem --- libre/psi/PKGBUILD | 4 ++-- libre/psi/parabola.patch | 5 +++-- 2 files changed, 5 insertions(+), 4 deletions(-) (limited to 'libre/psi') diff --git a/libre/psi/PKGBUILD b/libre/psi/PKGBUILD index 69ac930b0..c4150075f 100644 --- a/libre/psi/PKGBUILD +++ b/libre/psi/PKGBUILD @@ -4,7 +4,7 @@ pkgname=psi pkgver=0.15 -pkgrel=2.1 +pkgrel=2.2 pkgdesc='Instant messaging application designed for the Jabber IM (Parabola rebranded)' url='http://psi-im.org/' license=('GPL') @@ -15,7 +15,7 @@ install='psi.install' source=("http://downloads.sourceforge.net/psi/psi-${pkgver}.tar.bz2" 'parabola.patch') md5sums=('aea15f17cf93e7cea52f305523f761be' - 'a641b77517c82c6e1f254d5595a25113') + '8a5c799ad8b6fd5310d4a849c324c82c') prepare() { cd ${srcdir}/psi-${pkgver} diff --git a/libre/psi/parabola.patch b/libre/psi/parabola.patch index cafe67fa1..9d41bffc4 100644 --- a/libre/psi/parabola.patch +++ b/libre/psi/parabola.patch @@ -25,7 +25,7 @@ }; enum OsFlags { -@@ -106,24 +90,7 @@ +@@ -106,24 +90,8 @@ QString file; QString name; } osInfo[] = { @@ -47,7 +47,8 @@ - - // many distros use the /etc/redhat-release for compatibility, so RedHat will be the last :) - { LinuxRedHat, OsUseFile, "/etc/redhat-release", "RedHat Linux" }, -+ { LinuxParabola, OsUseName, "/etc/arch-release", "Parabola GNU/Linux-libre" }, ++ { LinuxParabola, OsUseName, "/etc/parabola-release", "Parabola GNU/Linux-libre" }, ++ { LinuxParabola, OsUseFile, "/etc/parabola-release", "Parabola GNU/Linux-libre" }, { LinuxNone, OsUseName, "", "" } }; -- cgit v1.2.3-54-g00ecf