PKGBUILDs/extra/ebook-tools/PKGBUILD
2009-10-09 21:23:22 -05:00

27 lines
No EOL
750 B
Bash

# $ Id: $
# Maintainer: Pierre Schmitz <pierre@archlinux.de>
pkgname=ebook-tools
pkgver=0.1.1
pkgrel=1
pkgdesc="Tools for accessing and converting various ebook file formats"
arch=('i686' 'x86_64')
url='http://sourceforge.net/projects/ebook-tools'
license=('custom')
depends=('libzip' 'libxml2')
makedepends=('pkgconfig' 'cmake')
source=("http://downloads.sourceforge.net/sourceforge/ebook-tools/${pkgname}-${pkgver}.tar.gz")
md5sums=('15946af6f946eabe8247cdef9ada2b88')
build() {
cd $srcdir
mkdir build
cd build
cmake ../${pkgname}-${pkgver} \
-DCMAKE_BUILD_TYPE=Release \
-DCMAKE_INSTALL_PREFIX=/usr
make
make DESTDIR=$pkgdir install
install -D ${srcdir}/${pkgname}-${pkgver}/LICENSE ${pkgdir}/usr/share/licenses/ebook-tools/LICENSE
}