archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libe-book / repos / extra-x86_64 / PKGBUILD
blobe8b6af86d4447ecd9beb58ebee157f8d1c9e69e4
1 # Maintainer: AndyRTR <andyrtr@archlinux.org>
2 # Contributor: Thomas Arnhold <thomas at arnhold dot org>
4 pkgname=libe-book
5 pkgver=0.1.3
6 pkgrel=13
7 pkgdesc="Library for import of reflowable e-book formats."
8 arch=('x86_64')
9 url="https://sourceforge.net/projects/libebook/"
10 license=('LGPL2.1' 'MPL')
11 depends=('librevenge' 'libxml2' 'liblangtag')
12 makedepends=('gperf' 'boost' 'cppunit' 'doxygen')
13 options=('debug')
14 source=(https://sourceforge.net/projects/${pkgname//-/}/files//${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz
15         icu68.patch)
16 sha1sums=('18fde9588c236d51eea9437ed882d8b751daf01f'
17           '132fd6bf8622f2d922a9e844c665a906d6b2bbdb')
18 sha256sums=('7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9'
19             '33953b0430e5f80ac75fc80270ef9b52f996632bc8ee30d8c88999658beb056e')
21 prepare() {
22   cd "${pkgname}"-${pkgver}
23   patch -Np0 -i ../icu68.patch
26 build() {
27   cd "${pkgname}"-${pkgver}
28   ./configure --prefix=/usr
29   make
32 check() {
33   cd "${pkgname}"-${pkgver}
34   make check
37 package() {
38   cd "${pkgname}"-${pkgver}
39   make DESTDIR="$pkgdir" install