mirror of
https://gitdl.cn/https://github.com/chakralinux/core.git
synced 2025-02-05 15:47:15 +08:00
31 lines
806 B
Bash
31 lines
806 B
Bash
#maintainer: Neophytos Kolokotronis <tetris4@gmail.com>
|
|
|
|
pkgname=ebook-tools
|
|
pkgver=0.2.2
|
|
pkgrel=1
|
|
pkgdesc="Tools for accessing and converting various ebook file formats"
|
|
arch=('x86_64')
|
|
url="http://sourceforge.net/projects/ebook-tools"
|
|
license=('custom')
|
|
depends=('libzip' 'libxml2' 'convertlit')
|
|
makedepends=('pkgconfig' 'cmake')
|
|
source=("http://downloads.sourceforge.net/sourceforge/${pkgname}/${pkgname}-${pkgver}.tar.gz")
|
|
md5sums=('67bce67ceb72dcc3578d6a81ef92b29b')
|
|
|
|
build() {
|
|
cd $srcdir
|
|
mkdir build
|
|
cd build
|
|
cmake ../${pkgname}-${pkgver} \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DCMAKE_INSTALL_PREFIX=/usr
|
|
make
|
|
}
|
|
|
|
package() {
|
|
cd "${srcdir}/build"
|
|
make DESTDIR="${pkgdir}" install
|
|
|
|
install -D ${srcdir}/${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
|
|
}
|