aboutsummaryrefslogtreecommitdiffstats
path: root/community/libqxp/APKBUILD
blob: 4643ec5332a98eb82521512c9fcbdc99065c80da (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
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libqxp
pkgver=0.0.2
pkgrel=2
pkgdesc="Library that parses the file format of QuarkXPress documents."
url="https://wiki.documentfoundation.org/DLP/Libraries/libqxp"
arch="all"
license="MPL-2.0"
makedepends="librevenge-dev icu-dev doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://dev-www.libreoffice.org/src/libqxp/libqxp-$pkgver.tar.xz"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure --prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}

check() {
	cd "$builddir"
	make check
}

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

sha512sums="409d3df82ac522b39bdd0ef4f0a781b906e246a8e6f502009c095eea90d672c482a7fc5c7f998d89952bc598c6f51357346ed6df490c25cb48e1318e27c50dab  libqxp-0.0.2.tar.xz"