updated on Tue Jan 10 16:09:17 UTC 2012
[aur-mirror.git] / kf / PKGBUILD
blob07d070e00d419e1166a5eb54aa43e64ec7d62bb9
1 # Maintainer: <padavankun@gmail.com>
2 pkgname="kf"
3 pkgver=0.5.4.1
4 pkgrel=1
5 pkgdesc="simple jabber client based gtk+"
6 arch=('i686' 'x86_64')
7 url="https://fedorahosted.org/kf/"
8 license=('GPL2')
9 #groups=()
10 depends=('gtk2' 'libglade' 'loudmouth')
11 #makedepends=('subversion')
12 otpdepends=('gtkspell')
13 #provides=()
14 #conflicts=()
15 #replaces=()
16 #backup=()
17 #options=()
18 #install=$pkgname.install
19 patchname1="typedef_KfJispManager.patch"
20 patchname2="autoaway-null-pointer-check.patch"
21 source=(http://fedorahosted.org/releases/k/f/kf/$pkgname-$pkgver.tar.gz
22                 $patchname1
23                 $patchname2)
25 #noextract=()
26 md5sums=('f963f289b7a1221f192a540fbda5cd55'
27          'a5bc15787e1c94ba7b6cc9ea9a61fd7e'
28          '82b5025a1b72be1b65c2d2430e3bcdb9')
30 build() {
31   cd "$srcdir"
33   cd "$srcdir/$pkgname-$pkgver/src"
34   patch -Np1 -i ${srcdir}/${patchname1}
35   patch -Np1 -i ${srcdir}/${patchname2}
37   msg "Starting make..."
38   
39   cd "$srcdir/$pkgname-$pkgver"
40   ./configure --prefix=/usr --disable-binreloc
41   make
44 package() {
45   cd "$srcdir/$pkgname-$pkgver"
46   make DESTDIR="$pkgdir/" install
47   cd "$pkgdir/usr/bin"
48   mv kf kf-im