PKGBUILDs/extra/abiword-plugins/PKGBUILD
2009-10-10 10:49:59 -05:00

31 lines
1.1 KiB
Bash

# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
pkgname=abiword-plugins
pkgver=2.6.8
pkgrel=7
pkgdesc="Various plugins for Abiword"
arch=('arm')
license=('GPL')
url="http://www.abisource.com"
options=('!libtool' '!makeflags')
makedepends=('libxml2')
depends=("abiword>=${pkgver}" 'aiksaurus>=1.2.1' 'gtkmathview>=0.7.7'
'link-grammar>=4.2.4' 'libwmf>=0.2.8.4' 'librsvg>=2.18.1'
'libwpd>=0.8.7' 'psiconv>=0.9.8' 'boost')
source=(http://www.abisource.com/downloads/abiword/${pkgver}/source/abiword-plugins-${pkgver}.tar.gz
http://www.abisource.com/downloads/abiword/${pkgver}/source/abiword-${pkgver}.tar.gz
AbiCommand.patch)
md5sums=('421c49723e209c971ddb0798c1b313a9'
'fab04d8ef999c303f720197adf261310'
'7bd4ad7802216d43422063b86ee1bc9a')
build() {
cd "${srcdir}/abiword-plugins-${pkgver}"
patch -Np1 -i ${srcdir}/AbiCommand.patch || return 1
./configure --prefix=/usr \
--without-gda \
--disable-gda \
--with-abiword="${srcdir}/abiword-${pkgver}/"
make || return 1
make DESTDIR="${pkgdir}/" install
}