summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorHyacinthe Cartiaux2015-10-25 17:34:40 +0100
committerHyacinthe Cartiaux2015-10-25 17:34:40 +0100
commit3e47dffadc9803991a96c45f491e8484d041556d (patch)
tree8f8aafbc6bc66551ba0645b27f354acc4af2315a
parentc15d89d0b3d80836afb796d0f7eb5c1a09868193 (diff)
downloadaur-3e47dffadc9803991a96c45f491e8484d041556d.tar.gz
Update with a new install file and dependencies
-rw-r--r--.SRCINFO11
-rw-r--r--PKGBUILD6
-rw-r--r--psi-git.install13
3 files changed, 25 insertions, 5 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 8a811e8a02bf..d2b94639ed49 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,22 +1,27 @@
# Generated by mksrcinfo v8
-# Thu Oct 22 17:00:36 UTC 2015
+# Sun Oct 25 16:07:57 UTC 2015
pkgbase = psi-git
pkgdesc = A jabber client. GIT version
- pkgver = 0.16_dev_20151022
+ pkgver = 0.16_dev_20151025
pkgrel = 1
url = http://psi-im.org/
+ install = psi-git.install
arch = i686
arch = x86_64
license = GPL2
makedepends = git
makedepends = qconf-git
- depends = qt5-base
depends = qca-qt5
depends = qt5-x11extras
depends = aspell
depends = libxss
+ depends = minizip
+ depends = desktop-file-utils
+ depends = hicolor-icon-theme
conflicts = psi
conflicts = psi-qt5-git
+ replaces = psi
+ replaces = psi-qt5-git
source = git+https://github.com/psi-im/psi.git
md5sums = SKIP
diff --git a/PKGBUILD b/PKGBUILD
index a7a0aba3c508..e96fa3972ac1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,14 +1,16 @@
# Maintainer: Hyacinthe Cartiaux <hyacinthe.cartiaux@free.fr>
pkgname=psi-git
-pkgver=0.16_dev_20151022
+pkgver=0.16_dev_20151025
pkgrel=1
pkgdesc="A jabber client. GIT version"
arch=('i686' 'x86_64')
url="http://psi-im.org/"
license=('GPL2')
-depends=('qt5-base' 'qca-qt5' 'qt5-x11extras' 'aspell' 'libxss')
+depends=('qca-qt5' 'qt5-x11extras' 'aspell' 'libxss' 'minizip' 'desktop-file-utils' 'hicolor-icon-theme')
makedepends=('git' 'qconf-git')
+replaces=('psi' 'psi-qt5-git')
conflicts=('psi' 'psi-qt5-git')
+install=psi-git.install
source=('git+https://github.com/psi-im/psi.git')
md5sums=('SKIP')
diff --git a/psi-git.install b/psi-git.install
new file mode 100644
index 000000000000..856615fd537e
--- /dev/null
+++ b/psi-git.install
@@ -0,0 +1,13 @@
+post_install() {
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-mime-database usr/share/mime &> /dev/null
+ update-desktop-database -q
+}
+
+post_upgrade() {
+ post_install $1
+}
+
+post_remove() {
+ post_install $1
+}