db-move: moved evolution-ews from [testing] to [extra] (x86_64)
[arch-packages.git] / libe-book / trunk / PKGBUILD
blob57d81d8a5809f8c48df86fd83bf32a5d39fb80d1
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 source=(https://sourceforge.net/projects/${pkgname//-/}/files//${pkgname}-${pkgver}/${pkgname}-${pkgver}.tar.xz
14         icu68.patch)
15 sha1sums=('18fde9588c236d51eea9437ed882d8b751daf01f'
16           '132fd6bf8622f2d922a9e844c665a906d6b2bbdb')
17 sha256sums=('7e8d8ff34f27831aca3bc6f9cc532c2f90d2057c778963b884ff3d1e34dfe1f9'
18             '33953b0430e5f80ac75fc80270ef9b52f996632bc8ee30d8c88999658beb056e')
20 prepare() {
21   cd "${pkgname}"-${pkgver}
22   patch -Np0 -i ../icu68.patch
25 build() {
26   cd "${pkgname}"-${pkgver}
27   ./configure --prefix=/usr
28   make
31 check() {
32   cd "${pkgname}"-${pkgver}
33   make check
36 package() {
37   cd "${pkgname}"-${pkgver}
38   make DESTDIR="$pkgdir" install