summaryrefslogblamecommitdiff
path: root/user/libwpg/APKBUILD
blob: b1a62091ab3b47689b612e0da6a17429e34cac99 (plain) (tree)
1
2
3
4
5
6
7
8
9
10
11


                                                 

            





                                                          
                                               
                                                      
                                                                          

         












                                           







                                             
                                                                                                                                                                   
# Contributor: Timo Teräs <timo.teras@iki.fi>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=libwpg
pkgver=0.3.3
pkgrel=0
pkgdesc="Import filter and tools for WordPerfect graphics"
url="https://sourceforge.net/projects/libwpg/"
arch="all"
options="!check"  # No test suite.
license="MPL-2.0 OR LGPL-2.1+"
depends=""
makedepends="doxygen librevenge-dev libwpd-dev"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
source="https://downloads.sourceforge.net/libwpg/$pkgname-$pkgver.tar.bz2"

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

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

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

sha512sums="4a4cc5d1492b50c8572289c508bec603067f532446c032ff7241d0dad9c33c251e55751dc68c24bacf7937f26697292fb7712f61c8b3f025cffeb9f86350be83  libwpg-0.3.3.tar.bz2"