1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Thomas Arnhold <thomas at arnhold dot org>
7 pkgdesc="Library for import of reflowable e-book formats."
9 url="https://sourceforge.net/projects/libebook/"
10 license=('LGPL2.1' 'MPL')
11 depends=('librevenge' 'libxml2' 'liblangtag')
12 makedepends=('gperf' 'boost' 'cppunit' 'doxygen')
13 source=(https://sourceforge.net/projects/${pkgname//-/}/files//${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz
15 sha1sums=('18fde9588c236d51eea9437ed882d8b751daf01f'
16 '132fd6bf8622f2d922a9e844c665a906d6b2bbdb')
17 sha256sums=('7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9'
18 '33953b0430e5f80ac75fc80270ef9b52f996632bc8ee30d8c88999658beb056e')
21 cd "${pkgname}"-${pkgver}
22 patch -Np0 -i ../icu68.patch
26 cd "${pkgname}"-${pkgver}
27 ./configure --prefix=/usr
32 cd "${pkgname}"-${pkgver}
37 cd "${pkgname}"-${pkgver}
38 make DESTDIR="$pkgdir" install