diff options
author | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-26 07:04:44 -0300 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@parabola.nu> | 2014-08-26 07:04:44 -0300 |
commit | 224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3 (patch) | |
tree | 21f0f00d6ca7a856bde8310b4558a527717a6d85 /libre/psi-parabola | |
parent | 317a3b1d822c252c9f341170cf47a85d72cddde6 (diff) | |
download | abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.tar.gz abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.tar.bz2 abslibre-224ff53c78c2e8df8c6ac3f5b84964a9fd228ee3.zip |
add parabola suffix on some packages
Diffstat (limited to 'libre/psi-parabola')
-rw-r--r-- | libre/psi-parabola/PKGBUILD | 39 | ||||
-rw-r--r-- | libre/psi-parabola/parabola.patch | 54 | ||||
-rw-r--r-- | libre/psi-parabola/psi.install | 12 |
3 files changed, 105 insertions, 0 deletions
diff --git a/libre/psi-parabola/PKGBUILD b/libre/psi-parabola/PKGBUILD new file mode 100644 index 000000000..cf835f032 --- /dev/null +++ b/libre/psi-parabola/PKGBUILD @@ -0,0 +1,39 @@ +# $Id: PKGBUILD 196956 2013-10-21 11:28:57Z pierre $ +# Maintainer (Arch): Pierre Schmitz <pierre@archlinux.de> +# Maintainer: André Silva <emulatorman@parabola.nu> + +_pkgname=psi +pkgname=psi-parabola +pkgver=0.15 +pkgrel=2 +pkgdesc='Instant messaging application designed for the Jabber IM (Parabola rebranded)' +url='http://psi-im.org/' +license=('GPL') +arch=('i686' 'x86_64' 'mips64el') +depends=('qca-ossl' 'qca-gnupg' 'enchant' 'libxss' 'xdg-utils') +makedepends=('icu') +replaces=($_pkgname) +conflicts=($_pkgname) +provides=($_pkgname=$pkgver) +install='psi.install' +source=("http://downloads.sourceforge.net/psi/psi-${pkgver}.tar.bz2" + 'parabola.patch') +md5sums=('aea15f17cf93e7cea52f305523f761be' + '8a5c799ad8b6fd5310d4a849c324c82c') + +prepare() { + cd ${srcdir}/psi-${pkgver} + patch -p0 -i ${srcdir}/parabola.patch +} + +build() { + cd ${srcdir}/psi-${pkgver} + ./configure --prefix=/usr --release --no-separate-debug-info + make +} + +package() { + cd ${srcdir}/psi-${pkgver} + make INSTALL_ROOT=${pkgdir} install + rm -rf ${pkgdir}/usr/share/psi/certs/ +} diff --git a/libre/psi-parabola/parabola.patch b/libre/psi-parabola/parabola.patch new file mode 100644 index 000000000..9d41bffc4 --- /dev/null +++ b/libre/psi-parabola/parabola.patch @@ -0,0 +1,54 @@ +--- src/systeminfo.cpp 2012-10-03 21:53:03.000000000 -0300 ++++ src/systeminfo.cpp 2013-03-25 21:27:28.691880863 -0300 +@@ -75,23 +75,7 @@ + enum LinuxName { + LinuxNone = 0, + +- LinuxMandrake, +- LinuxDebian, +- LinuxRedHat, +- LinuxGentoo, +- LinuxExherbo, +- LinuxSlackware, +- LinuxSuSE, +- LinuxConectiva, +- LinuxCaldera, +- LinuxLFS, +- +- LinuxASP, // Russian Linux distros +- LinuxALT, +- +- LinuxPLD, // Polish Linux distros +- LinuxAurox, +- LinuxArch ++ LinuxParabola + }; + + enum OsFlags { +@@ -106,24 +90,8 @@ + QString file; + QString name; + } osInfo[] = { +- { LinuxMandrake, OsUseFile, "/etc/mandrake-release", "Mandrake Linux" }, +- { LinuxDebian, OsAppendFile, "/etc/debian_version", "Debian GNU/Linux" }, +- { LinuxGentoo, OsUseFile, "/etc/gentoo-release", "Gentoo Linux" }, +- { LinuxExherbo, OsUseName, "/etc/exherbo-release", "Exherbo Linux" }, +- { LinuxArch, OsUseName, "/etc/arch-release", "Arch Linux" }, +- { LinuxSlackware, OsAppendFile, "/etc/slackware-version", "Slackware Linux" }, +- { LinuxPLD, OsUseFile, "/etc/pld-release", "PLD Linux" }, +- { LinuxAurox, OsUseName, "/etc/aurox-release", "Aurox Linux" }, +- { LinuxArch, OsUseFile, "/etc/arch-release", "Arch Linux" }, +- { LinuxLFS, OsAppendFile, "/etc/lfs-release", "LFS Linux" }, +- +- // untested +- { LinuxSuSE, OsUseFile, "/etc/SuSE-release", "SuSE Linux" }, +- { LinuxConectiva, OsUseFile, "/etc/conectiva-release", "Conectiva Linux" }, +- { LinuxCaldera, OsUseFile, "/etc/.installed", "Caldera Linux" }, +- +- // 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/parabola-release", "Parabola GNU/Linux-libre" }, ++ { LinuxParabola, OsUseFile, "/etc/parabola-release", "Parabola GNU/Linux-libre" }, + + { LinuxNone, OsUseName, "", "" } + }; diff --git a/libre/psi-parabola/psi.install b/libre/psi-parabola/psi.install new file mode 100644 index 000000000..464d2e625 --- /dev/null +++ b/libre/psi-parabola/psi.install @@ -0,0 +1,12 @@ +post_install() { + xdg-icon-resource forceupdate --theme hicolor &> /dev/null + update-desktop-database -q &> /dev/null +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |