# Contributor: Timo Teräs # Maintainer: Timo Teräs pkgname=libwps pkgver=0.4.7 pkgrel=0 pkgdesc="Import filter and tools for Microsoft Works files" url="http://sourceforge.net/projects/libwps/" arch="all" license="MPL2" depends="" depends_dev="librevenge-dev" makedepends="$depends_dev doxygen" install="" subpackages="$pkgname-dev $pkgname-doc $pkgname-tools" source="http://downloads.sourceforge.net/project/libwps/libwps/libwps-$pkgver/libwps-$pkgver.tar.bz2" builddir="$srcdir"/libwps-$pkgver build() { cd "$builddir" ./configure \ --build=$CBUILD \ --host=$CHOST \ --prefix=/usr \ --sysconfdir=/etc \ --mandir=/usr/share/man \ --infodir=/usr/share/info \ --localstatedir=/var make } package() { cd "$builddir" make DESTDIR="$pkgdir" install } tools() { mkdir -p "$subpkgdir"/usr mv "$pkgdir"/usr/bin "$subpkgdir"/usr } sha512sums="691ca4b5819a904a6ad1345330110fd044ee5ebc6bf21fede1cdf483c3d49003617d56dc4447e0f925e635b611d4e437fc42c6e8870d0e8ccdfffc83b7482e81 libwps-0.4.7.tar.bz2"