archrelease: copy trunk to extra-x86_64
[arch-packages.git] / libe-book / trunk / PKGBUILD
blobd28c50933cdf6541c71339a1d37b3d0d4fb1b62f
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=11
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')
18 prepare() {
19   cd "${pkgname}"-${pkgver}
20   patch -Np0 -i ../icu68.patch
23 build() {
24   cd "${pkgname}"-${pkgver}
25   ./configure --prefix=/usr
26   make
29 check() {
30   cd "${pkgname}"-${pkgver}
31   make check
34 package() {
35   cd "${pkgname}"-${pkgver}
36   make DESTDIR="$pkgdir" install