1 # Maintainer: Antonio Rojas <arojas@archlinux.org>
2 # Contributor: Giovanni Scafora <giovanni@archlinux.org>
7 pkgdesc="Tools for accessing and converting various ebook file formats"
9 url="https://sourceforge.net/projects/ebook-tools/"
11 depends=(libzip libxml2 convertlit)
13 source=("https://downloads.sourceforge.net/${pkgname}/${pkgname}-${pkgver}.tar.gz"
15 sha256sums=('cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae'
16 'ad556ce08909727a6022c9f1632086ccb8623a81a4f39cd34722e22116e14527')
22 patch -p2 -i ../crash-fix.patch # https://sourceforge.net/p/ebook-tools/bugs/8/
27 cmake ../$pkgname-$pkgver \
28 -DCMAKE_INSTALL_PREFIX=/usr
34 make DESTDIR="$pkgdir" install
36 install -Dm644 "$srcdir"/$pkgname-$pkgver/LICENSE \
37 -t "$pkgdir"/usr/share/licenses/$pkgname/