aboutsummaryrefslogtreecommitdiffstats
path: root/unmaintained/djvulibre/APKBUILD
blob: d922a91d5c9f45e78e81d0f2cbaa48a5bb25c5e2 (plain)
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
37
38
39
# Contributor: Andrew Hills <ahills@ednos.net>
# Maintainer: Andrew Hills <ahills@ednos.net>
pkgname=djvulibre
pkgver=3.5.27
pkgrel=0
pkgdesc="An open source implementation of DjVu"
url="http://djvu.sourceforge.net"
arch="all"
license="GPL2"
depends=""
depends_dev=""
makedepends="$depends_dev"
install=""
subpackages="$pkgname-dev $pkgname-doc"
source="http://downloads.sourceforge.net/djvu/djvulibre-$pkgver.tar.gz"

_builddir="$srcdir"/djvulibre-$pkgver
build() {
	cd "$_builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info \
		--localstatedir=/var \
		|| return 1
	make || return 1
}

package() {
	cd "$_builddir"
	make DESTDIR="$pkgdir" install || return 1
}

md5sums="aa4ed331f669f5a72e3c0d7f9196c4e6  djvulibre-3.5.27.tar.gz"
sha256sums="e69668252565603875fb88500cde02bf93d12d48a3884e472696c896e81f505f  djvulibre-3.5.27.tar.gz"
sha512sums="62abcaa2fe7edab536477929ba38b882453dab1a06e119a3f838b38d5c61f5d8c252e4769e6534582b826e49bcfb490513179580fab9c3afa84aa92053ccebee  djvulibre-3.5.27.tar.gz"