updated on Thu Jan 19 12:17:07 UTC 2012
[aur-mirror.git] / openc6 / PKGBUILD
blob74dd3c0f0ecb70f85365aaa57db0bc63bf7fb212
1 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
3 pkgname=openc6
4 pkgver=0.9.9
5 pkgrel=2
6 pkgdesc="A free instant messenger client which implements the C6 protocol"
7 arch=('i686' 'x86_64')
8 url="http://openc6.sourceforge.net"
9 license=('GPL')
10 depends=('kdelibs3' 'libxss')
11 source=(http://downloads.sourceforge.net/project/${pkgname}/${pkgname}/${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.gz
12         openc6.desktop)
13 options=(!libtool)
14 md5sums=('04540266f30620c48ad098e752396a25'
15          '5963618628972b1a97c2e3007d6e88ca')
17 build() {
18   cd "${srcdir}/${pkgname}-${pkgver}"
20   source /etc/profile.d/qt3.sh
21   ./configure --prefix=/usr
22   make || return 1
23   make DESTDIR="${pkgdir}" install || return 1
24   install -D -m644 ${srcdir}/openc6.desktop "${pkgdir}/usr/share/applications/kde4/openc6.desktop" || return 1
26   # Install plugin
27   cd plugins/kdegui
29   ./configure --prefix=/usr/share/OpenC6 \
30               --without-arts
31   make || return 1
32   make DESTDIR="${pkgdir}" install || return 1