mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2024-11-28 22:57:37 +00:00
27 lines
750 B
Bash
27 lines
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
|
||
|
}
|