aboutsummaryrefslogtreecommitdiffstats
path: root/community/libepubgen/APKBUILD
blob: 7c9359e02f5688a2995b6b8618c816a6e1a4221a (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
37
# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org>
pkgname=libepubgen
pkgver=0.1.1
pkgrel=1
pkgdesc="EPUB generator for librevenge."
url="https://sourceforge.net/projects/libepubgen/"
arch="all"
license="MPL-2.0"
makedepends="librevenge-dev libxml2-dev doxygen"
subpackages="$pkgname-dev $pkgname-doc"
source="https://download.sourceforge.net/project/libepubgen/libepubgen-$pkgver/libepubgen-$pkgver.tar.bz2"
builddir="$srcdir"/$pkgname-$pkgver

build() {
	cd "$builddir"
	./configure \
		--build=$CBUILD \
		--host=$CHOST \
		--prefix=/usr \
		--sysconfdir=/etc \
		--mandir=/usr/share/man \
		--infodir=/usr/share/info
	make
}


check() {
	cd "$builddir"
	make check
}

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

sha512sums="8e0d3670d16825ec8262c8cbd990f089b7c85defd9f52bb063085bb9a13fd0bb26ab92b59fb794d5af4ec81f62f560efad133585de71c9e5c27c4706f5738f50  libepubgen-0.1.1.tar.bz2"