summaryrefslogtreecommitdiff
path: root/repo/libstaroffice/libstaroffice.xibuild
blob: 47c0985da83aba848be77362b760bb5a8c5353e5 (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
#!/bin/sh

NAME="libstaroffice"
DESC="Import filter for StarOffice documents"

MAKEDEPS="zlib boost librevenge doxygen"

PKG_VER=0.0.7
SOURCE="https://github.com/fosnola/libstaroffice/releases/download/$PKG_VER/libstaroffice-$PKG_VER.tar.xz"

ADDITIONAL="
fix-maybe-uninitialized.patch
"

prepare() {
    apply_patches
}

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

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