updated on Thu Jan 26 16:09:46 UTC 2012
[aur-mirror.git] / dictconv / PKGBUILD
blob9d717d98b3a61204b1e85cb3f1f238a8c8c6548c
1 #Patched to work with gcc 4.3 - http://bugs.debian.org/cgi-bin/bugreport.cgi?bug=486954
2 #contributor: Francesco Namuri <francesco@namuri.it>
3 #contributor: Jakob <dammawit@gmail.com>
4 pkgname=dictconv
5 pkgver=0.2
6 pkgrel=3
7 pkgdesc="Program to convert from a dictionary format to another"
8 url="http://ktranslator.sourceforge.net/"
9 license="GPL"
10 arch=('i686' 'x86_64')
11 depends=('libxml2' 'gcc')
12 makedepends=('patch')
13 source=(http://downloads.sourceforge.net/ktranslator/$pkgname-$pkgver.tar.bz2 fixes-for-gcc-4.3.patch)
14 md5sums=('ceaf89a8d0f15cf48f77d0c553b6f895'
15          'f60ff54947663cd31679c093f0a0eb45')
17 build() {
18     cp fixes-for-gcc-4.3.patch $srcdir/$pkgname-$pkgver
19     cd $srcdir/$pkgname-$pkgver
20     patch -p1 <fixes-for-gcc-4.3.patch
21     ./configure --prefix=/usr
22     make || return 1
23     make DESTDIR=$pkgdir install