aboutsummaryrefslogtreecommitdiffstats
path: root/community/libodfgen/APKBUILD
blob: 1670f33da13442ef313eb6c3b42fa2a07809caf7 (plain) (blame)
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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libodfgen
pkgver=0.1.8
pkgrel=1
pkgdesc="Import filter and tools for Open Document Format"
url="https://sourceforge.net/projects/libwpd/"
arch="all"
license="MPL-2.0"
depends_dev="boost-dev librevenge-dev libxml2-dev"
makedepends="$depends_dev pkgconfig doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://sourceforge.net/projects/libwpd/files/libodfgen/libodfgen-$pkgver/libodfgen-$pkgver.tar.xz"

prepare() {
	default_prepare

	update_config_sub
	update_config_guess
}

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		--enable-fast-install
	make
}

package() {
	make DESTDIR="$pkgdir" install
}

sha512sums="e4a15aa7f1db483cdbb9c531bfb234b4794890cc583c70e8aa3374771be8928e7917105d48dab80d1ab6d57e43fa78415097d9b897cb12fb2a609f4647ee99d6  libodfgen-0.1.8.tar.xz"