PKGBUILDs/extra/abiword/PKGBUILD

28 lines
871 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $Id: PKGBUILD 40670 2009-05-29 16:09:22Z giovanni $
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=abiword
pkgver=2.6.8
pkgrel=2
pkgdesc="A fully-featured word processor"
arch=('i686' 'x86_64')
license=('GPL')
url="http://www.abisource.com"
depends=('fribidi>=0.10.9' 'enchant>=1.3.0' 'libgnomeprintui'
'wv>=1.2.4' 'libgnomeui>=2.22.01' 'libgsf-gnome>=1.14.8')
makedepends=('pkgconfig')
options=('!makeflags' 'force')
source=(http://www.abisource.com/downloads/abiword/${pkgver}/source/${pkgname}-${pkgver}.tar.gz)
md5sums=('fab04d8ef999c303f720197adf261310')
build() {
cd ${srcdir}/${pkgname}-${pkgver}
./configure --prefix=/usr \
--with-libxml2 \
--disable-gucharmap
make || return 1
make DESTDIR=${startdir}/pkg install
rm -rf ${pkgdir}/usr/lib
mv ${pkgdir}/usr/share/icons ${pkgdir}/usr/share/pixmaps
}