diff options
author | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-07-12 11:34:26 +0000 |
---|---|---|
committer | Leonardo Arena <rnalrd@alpinelinux.org> | 2018-07-12 11:59:04 +0000 |
commit | 699be855c07b7a138a50e30d47df21885f47d709 (patch) | |
tree | da30c18f3ff55d3b8691f5c5e87524f3bf5dc930 /community/libepubgen/APKBUILD | |
parent | cecabc8ee66fac2d1753bc1988b99395d018912b (diff) | |
download | aports-699be855c07b7a138a50e30d47df21885f47d709.tar.bz2 aports-699be855c07b7a138a50e30d47df21885f47d709.tar.xz |
community/libepubgen: new aport
EPUB generator for librevenge
Needed for libreoffice 6
Diffstat (limited to 'community/libepubgen/APKBUILD')
-rw-r--r-- | community/libepubgen/APKBUILD | 34 |
1 files changed, 34 insertions, 0 deletions
diff --git a/community/libepubgen/APKBUILD b/community/libepubgen/APKBUILD new file mode 100644 index 0000000000..1d3b8d7755 --- /dev/null +++ b/community/libepubgen/APKBUILD @@ -0,0 +1,34 @@ +# Maintainer: Leonardo Arena <rnalrd@alpinelinux.org> +pkgname=libepubgen +pkgver=0.1.1 +pkgrel=0 +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 --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" |