summaryrefslogblamecommitdiff
path: root/user/libvisio/APKBUILD
blob: e9cf481284847f13caf12127239bf12d74526ce5 (plain) (tree)
1
2
3
4
5
6
7
8
9


                                              

            



                                                                
          
                          
                                                                             


                                                                            
         











                                           



                  







                                             
                                                                                                                                                                    
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: Max Rees <maxcrees@me.com>
pkgname=libvisio
pkgver=0.1.7
pkgrel=0
pkgdesc="Import filter and tools for MS Visio diagrams"
url="https://wiki.documentfoundation.org/DLP/Libraries/libvisio"
arch="all"
license="MPL-2.0"
depends=""
checkdepends="cppunit-dev"
makedepends="boost-dev icu-dev librevenge-dev libxml2-dev doxygen gperf perl"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="http://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
}

check() {
	make check
}

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

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

sha512sums="c26f67a09fa6a6d0bf6f3fff5590d5cf16983630d4f7cfcf86d9461baec58dbdf7989fd934be6db0639ca043c160aac2d008275afb9e047766bc878ac579a9ea  libvisio-0.1.7.tar.xz"