desktop/libvisio/PKGBUILD

31 lines
771 B
Bash
Raw Normal View History

2012-11-27 06:39:18 +08:00
# Support packages for Desktop
#
# maintainer: Manuel Tortosa <manutortosa@chakra-project.org>
pkgname=libvisio
pkgver=0.0.21
pkgrel=1
pkgdesc="Library for importing Visio(tm) documents"
arch=('x86_64')
url="http://www.freedesktop.org/wiki/Software/libvisio"
license=('LGPL')
provides=('libvisio')
conflicts=('libvisio')
depends=('libwpd>=0.6.1' 'libwpg>=0.2.0' 'gperf')
makedepends=('boost')
source=("http://dev-www.libreoffice.org/src/${pkgname}-${pkgver}.tar.gz")
md5sums=('cffec7ad5b4f434702d4422f9bed845f')
build() {
cd $srcdir/$pkgname-$pkgver
./autogen.sh
./configure --without-docs --enable-static=no --prefix=/usr
make
}
package() {
cd $srcdir/$pkgname-$pkgver
make DESTDIR=$pkgdir install
find $pkgdir -type f -name '*.la' -exec rm {} \;
}