aboutsummaryrefslogtreecommitdiffstats
path: root/x11/wv/APKBUILD
blob: c66ff3b11f554953b0d47cd5d607973752b1a1c5 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Natanael Copa <ncopa@alpinelinux.org>
pkgname=wv
pkgver=1.2.4
pkgrel=0
pkgdesc="MSWord library can load and parse Word 2000, 97, 95 and 6 file formats"
url="http://sourceforge.net/projects/wvware"
license="GPL"
subpackages="$pkgname-dev $pkgname-doc"
depends=
makedepends="pkgconfig libgsf-dev libpng-dev bzip2-dev"
source="http://downloads.sourceforge.net/sourceforge/wvware/$pkgname-$pkgver.tar.gz"

build () {
	cd "$srcdir"/$pkgname-$pkgver
	./configure --prefix=/usr \
		--mandir=/usr/share/man || return 1
	make || return 1
}

package() {
	cd "$srcdir"/$pkgname-$pkgver
	make DESTDIR="$pkgdir" install || return 1
}
md5sums="c1861c560491f121e12917fa76970ac5  wv-1.2.4.tar.gz"