summaryrefslogtreecommitdiff
path: root/user/catdoc/APKBUILD
blob: b1e4a6914fc97c3fe280b0f38835300788b5904b (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
25
26
27
28
29
30
31
32
33
34
35
36
# Contributor: A. Wilcox <awilfox@adelielinux.org>
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=catdoc
pkgver=0.95
pkgrel=0
pkgdesc="Read information and data from Microsoft Office documents"
url="http://www.wagner.pp.ru/~vitus/software/catdoc/"
arch="all"
license="GPL"
options="!check"
depends=""
makedepends=""
install=""
subpackages="$pkgname-doc"
source="http://ftp.wagner.pp.ru/pub/catdoc/catdoc-$pkgver.tar.gz"
builddir="$srcdir/catdoc-$pkgver"

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--localstatedir=/var \
		--with-install-root="$pkgdir"
	make
}

package() {
	cd "$builddir"
	make -j1 install
}

sha512sums="dd6bded4b6b70749c007256b182b063ff266f86d53024d8582001678821e8096c5b980bc8f43015d9c82bbe022d71d4ba5fe68aff31b2ff6db3688595e651b2c  catdoc-0.95.tar.gz"