PKGBUILDs/extra/ebook-tools/PKGBUILD

27 lines
750 B
Bash
Raw Normal View History

2009-10-10 02:23:22 +00:00
# $ 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
}