aboutsummaryrefslogtreecommitdiffstats
path: root/community/libzmf/APKBUILD
blob: e97e982d4480a163e8a670fa4b51f8216e57c32d (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
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Timo Teräs <timo.teras@iki.fi>
pkgname=libzmf
pkgver=0.0.1
pkgrel=1
pkgdesc="Import filter and tools for Zoner Callisto/Draw documents"
url="https://wiki.documentfoundation.org/DLP/Libraries/libzmf"
arch="all"
license="MPL2"
depends=""
depends_dev="boost-dev icu-dev libpng-dev zlib-dev"
makedepends="$depends_dev librevenge-dev doxygen"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://dev-www.libreoffice.org/src/libzmf/libzmf-$pkgver.tar.xz"
builddir="$srcdir/libzmf-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--disable-werror \
		|| return 1
	make || return 1
}

package() {
	cd "$builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="5a002c50af653b67b3c2aedd979a2972  libzmf-0.0.1.tar.xz"
sha256sums="eaf533ea29f9b66e75c0dcb631f1616b4f3cec9474e4fa0d2835769056a0e57a  libzmf-0.0.1.tar.xz"
sha512sums="cf601974a762ddee45430c136f40231e7659884544881ab37563a97e169201bfd335bad1ddc220e882612e2480070c4a36ba3826242a48e12105e20bb6f717e2  libzmf-0.0.1.tar.xz"