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

NAME="libwpd"
DESC="Import filter and tools for WordPerfect Documents"

MAKEDEPS=" librevenge doxygen"

PKG_VER=0.10.3
SOURCE="https://downloads.sourceforge.net/project/libwpd/libwpd/libwpd-$PKG_VER/libwpd-$PKG_VER.tar.bz2"

ADDITIONAL="
libwpd-gcc11.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
}