summaryrefslogtreecommitdiff
path: root/user/libe-book/APKBUILD
diff options
context:
space:
mode:
authorA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-10 01:44:23 +0000
committerA. Wilcox <AWilcox@Wilcox-Tech.com>2020-01-10 01:44:23 +0000
commit82d9237e0bde9a77cfb18f9cbbfb66cf223b878b (patch)
tree20e9b2076ff24777a402bbaa1552d14f930395cd /user/libe-book/APKBUILD
parent0f4ea66b0e8ced4fc6ded80b19f6391a72410a86 (diff)
downloadpackages-82d9237e0bde9a77cfb18f9cbbfb66cf223b878b.tar.gz
packages-82d9237e0bde9a77cfb18f9cbbfb66cf223b878b.tar.bz2
packages-82d9237e0bde9a77cfb18f9cbbfb66cf223b878b.tar.xz
packages-82d9237e0bde9a77cfb18f9cbbfb66cf223b878b.zip
user/*: Modernise / fix syntax / metadata / deps
Diffstat (limited to 'user/libe-book/APKBUILD')
-rw-r--r--user/libe-book/APKBUILD11
1 files changed, 5 insertions, 6 deletions
diff --git a/user/libe-book/APKBUILD b/user/libe-book/APKBUILD
index ee7097969..e1d509302 100644
--- a/user/libe-book/APKBUILD
+++ b/user/libe-book/APKBUILD
@@ -7,11 +7,13 @@ pkgdesc="Import filter and tools for various ebook formats"
url="https://sourceforge.net/projects/libebook/"
arch="all"
license="MPL-2.0"
-depends_dev="boost-dev librevenge-dev liblangtag-dev"
-makedepends="$depends_dev icu-dev libxml2-dev zlib-dev doxygen gperf"
+depends=""
+depends_dev="boost-dev"
checkdepends="cppunit-dev"
+makedepends="$depends_dev icu-dev liblangtag-dev librevenge-dev libxml2-dev
+ zlib-dev doxygen gperf"
subpackages="$pkgname-dev $pkgname-doc $pkgname-tools"
-source="http://downloads.sourceforge.net/project/libebook/libe-book-$pkgver/libe-book-$pkgver.tar.bz2"
+source="https://downloads.sourceforge.net/project/libebook/libe-book-$pkgver/libe-book-$pkgver.tar.bz2"
prepare() {
default_prepare
@@ -19,7 +21,6 @@ prepare() {
}
build() {
- cd "$builddir"
./configure \
--build=$CBUILD \
--host=$CHOST \
@@ -33,12 +34,10 @@ build() {
}
check() {
- cd "$builddir"
make check
}
package() {
- cd "$builddir"
make DESTDIR="$pkgdir" install
}