summaryrefslogtreecommitdiff
path: root/repo/libmspub/libmspub.xibuild
blob: 2fc5051b7d814bd78da19848fd8b197c62818fbc (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
#!/bin/sh

NAME="libmspub"
DESC="Import filter and tools for MS Publisher files"

MAKEDEPS="boost librevenge zlib icu libwpd libwpg doxygen"

PKG_VER=0.1.4
SOURCE="https://dev-www.libreoffice.org/src/libmspub/libmspub-$PKG_VER.tar.xz"

ADDITIONAL="
musl.patch
"

prepare() {
    apply_patches
}

build() {
	./configure \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var
	make
}

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