summaryrefslogtreecommitdiff
path: root/libre/psi/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'libre/psi/PKGBUILD')
-rw-r--r--libre/psi/PKGBUILD37
1 files changed, 37 insertions, 0 deletions
diff --git a/libre/psi/PKGBUILD b/libre/psi/PKGBUILD
new file mode 100644
index 000000000..445562033
--- /dev/null
+++ b/libre/psi/PKGBUILD
@@ -0,0 +1,37 @@
+# $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
+pkgver=0.15
+pkgrel=2.parabola1
+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}-parabola)
+conflicts=(${pkgname}-parabola)
+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/
+}