mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-04 00:07:15 +08:00
28 lines
851 B
Bash
28 lines
851 B
Bash
# $Id: PKGBUILD 68030 2010-02-10 14:53:32Z giovanni $
|
|
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
|
|
|
|
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/${pkgname}/${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 || return 1
|
|
make DESTDIR="${pkgdir}" install || return 1
|
|
|
|
install -D ${srcdir}/${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
|
|
}
|