summaryrefslogtreecommitdiff
path: root/libre/psi/PKGBUILD
blob: fcb259a18e9f129e7565dc77c4961e22b1c20690 (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
# $Id: PKGBUILD 266279 2016-04-27 17:05:31Z pierre $
# Maintainer (Arch): Pierre Schmitz <pierre@archlinux.de>
# Maintainer: André Silva <emulatorman@parabola.nu>

pkgname=psi
pkgver=0.15
pkgrel=4.parabola1
pkgdesc='Instant messaging application designed for the Jabber IM (Parabola rebranded)'
url='http://psi-im.org/'
license=('GPL')
arch=('i686' 'x86_64' 'armv7h')
depends=('qca-qt4' 'enchant' 'libxss' 'xdg-utils')
makedepends=('icu')
replaces=(${pkgname}-parabola)
conflicts=(${pkgname}-parabola)
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/
}