summaryrefslogtreecommitdiff
path: root/user
diff options
context:
space:
mode:
authorMax Rees <maxcrees@me.com>2018-08-09 21:48:30 -0400
committerMax Rees <maxcrees@me.com>2018-08-09 21:48:30 -0400
commit9112729e450b989470b033c72103899aecaca8df (patch)
treeb2b18dbc4ffffdad6a9a5eacefa100963ab0d19b /user
parentca86b99387d1515eab611cd05bd47d6be30702d9 (diff)
downloadpackages-9112729e450b989470b033c72103899aecaca8df.tar.gz
packages-9112729e450b989470b033c72103899aecaca8df.tar.bz2
packages-9112729e450b989470b033c72103899aecaca8df.tar.xz
packages-9112729e450b989470b033c72103899aecaca8df.zip
user/libepubgen: pull in
Diffstat (limited to 'user')
-rw-r--r--user/libepubgen/APKBUILD38
1 files changed, 38 insertions, 0 deletions
diff --git a/user/libepubgen/APKBUILD b/user/libepubgen/APKBUILD
new file mode 100644
index 000000000..c8ac0d749
--- /dev/null
+++ b/user/libepubgen/APKBUILD
@@ -0,0 +1,38 @@
+# Contributor: Leonardo Arena <rnalrd@alpinelinux.org>
+# Maintainer: Max Rees <maxcrees@me.com>
+pkgname=libepubgen
+pkgver=0.1.1
+pkgrel=1
+pkgdesc="librevenge export filter to EPUB"
+url="https://sourceforge.net/projects/libepubgen/"
+arch="all"
+license="MPL-2.0"
+depends=""
+makedepends="librevenge-dev libxml2-dev doxygen"
+checkdepends="cppunit-dev"
+subpackages="$pkgname-dev $pkgname-doc"
+source="https://download.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver.tar.bz2"
+
+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"