summaryrefslogblamecommitdiff
path: root/user/libqxp/APKBUILD
blob: 7876ab2c903c3e6bc857a76226ca7b202cf1e150 (plain) (tree)
1
2
3
4
5
6
7
8
9
10


                                                      

            




                                                              
                          
                                            



                                                                             








                                           
                    


         



                  







                                             
                                                                                                                                                                  
# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libqxp
pkgver=0.0.2
pkgrel=0
pkgdesc="Import filter and tools for QuarkXPress documents"
url="https://wiki.documentfoundation.org/DLP/Libraries/libqxp"
arch="all"
license="MPL-2.0"
depends=""
checkdepends="cppunit-dev"
makedepends="librevenge-dev icu-dev doxygen"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://dev-www.libreoffice.org/src/$pkgname/$pkgname-$pkgver.tar.xz"

build() {
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
	make
	make -C docs
}

check() {
	make check
}

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

tools() {
	mkdir -p "$subpkgdir"/usr
	mv "$pkgdir"/usr/bin "$subpkgdir"/usr
}

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