updated on Sun Jan 15 04:04:02 UTC 2012
[aur-mirror.git] / kbib / PKGBUILD
blobbef465074ca301e804be95c3e5c2927c6eee85bc
1 # Maintainer: Peter Lewis <prlewis@letterboxes.org>
2 # Contributor: iztok pizorn <pizorn@gmail.com>
4 pkgname=kbib
5 pkgver=0.6.6
6 pkgrel=2
7 pkgdesc="A BibTex Editor for KDE 3"
8 url="http://users.tpg.com.au/thachly/kbib/index.html" 
9 makedepends=() 
10 depends=('qt3' 'kdelibs3' 'yaz' 'yazpp' 'poppler-qt3')
11 source=(http://users.tpg.com.au/thachly/$pkgname/$pkgname-$pkgver.tar.gz
12         gcc-4.5.patch)
13 md5sums=('29f3903570228c58a90319332326ec2b'
14          '475a8c0cfeeee69e7fb93428aaa779c5')
15 arch=('i686' 'x86_64')
16 license=('GPL')
18 build() {
19         cd $srcdir/$pkgname-$pkgver
21         patch -p1 < ../gcc-4.5.patch
23         # I didn't want arts, since I'm using KDE4 now...
24         ./configure --prefix=/opt/kde --with-qt-dir=/opt/qt --without-arts
26         make 
29 package() {
30         cd $srcdir/$pkgname-$pkgver
31         make DESTDIR=$pkgdir install
32         # the kbib wants to install a file already provided by kdelibs
33         find $pkgdir/opt/kde/share -name 'x-bibtex.desktop' -exec rm {} \;