blob: 8b969e7f2ed2928e81f808815e36d7fea838c3d4 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
|
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libwpd
pkgver=0.10.1
pkgrel=0
pkgdesc="Import filter and tools for WordPerfect Documents"
url="http://sourceforge.net/p/libwpd/"
arch="all"
license="MPL2"
depends=""
depends_dev="librevenge-dev"
makedepends="$depends_dev doxygen"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://downloads.sourceforge.net/project/libwpd/libwpd/libwpd-$pkgver/libwpd-$pkgver.tar.bz2"
builddir="$srcdir"/libwpd-$pkgver
prepare() {
update_config_sub
default_prepare
}
build() {
cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
--prefix=/usr \
--sysconfdir=/etc \
--mandir=/usr/share/man \
--infodir=/usr/share/info \
--localstatedir=/va
make
}
package() {
cd "$builddir"
make DESTDIR="$pkgdir" install
}
tools() {
mkdir -p "$subpkgdir"/usr
mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}
sha512sums="aa99a11675b76d6357cd6479ed4cc0e04cd42d9f6ef76da3627310b683c6528c05ebd5cd1c3fcd878f288e56a05d11d81e90b2a0c5d03d4fa9644eb6f16d955e libwpd-0.10.1.tar.bz2"
|