PKGBUILDs/extra/aiksaurus/PKGBUILD
2009-10-09 21:23:22 -05:00

28 lines
781 B
Bash

# $Id: PKGBUILD 45576 2009-07-12 17:54:50Z ronald $
# Maintainer: Ronald van Haren <ronald.archlinux.org>
# Contributor: Jan de Groot <jgc@archlinux.org>
pkgname=aiksaurus
pkgver=1.2.1
pkgrel=2
pkgdesc="A cross-platform, open-source thesaurus"
url="http://aiksaurus.sourceforge.net/"
license=('GPL')
arch=('i686' 'x86_64')
options=('!libtool')
depends=('gtk2')
source=(http://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz
'aiksaurus-gcc44.patch')
md5sums=('3eae03b7c49843ccc9262e52846ea6b4'
'7f94749172116b1529fc21b718ee7636')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
# gcc44 build patch
patch -Np0 -i ${srcdir}/aiksaurus-gcc44.patch || return 1
./configure --prefix=/usr --with-gtk
make || return 1
make DESTDIR=${pkgdir} install
}