summaryrefslogtreecommitdiff
path: root/libre/psi/PKGBUILD
blob: 2fb2875bc2dc6db1f390e86bf7d20b6e2c418871 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# $Id: PKGBUILD 252960 2015-12-06 19:19:32Z foutrelis $
# Maintainer (Arch): Pierre Schmitz <pierre@archlinux.de>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=psi
pkgver=0.15
pkgrel=3.parabola1
pkgdesc='Instant messaging application designed for the Jabber IM (Parabola rebranded)'
url='http://psi-im.org/'
license=('GPL')
arch=('i686' 'x86_64')
depends=('qca-qt4' '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/
}