# Contributor: Andrew Domaszek # Maintainer: setvar pkgname = 'ebook-tools' setvar pkgver = '0.2.2' setvar pkgrel = '0' setvar pkgdesc = ""Tools for accessing and converting various ebook file formats."" setvar url = ""https://sourceforge.net/projects/ebook-tools/"" setvar arch = ""all"" setvar license = ""MIT"" setvar depends = """" setvar depends_dev = ""cmake libxml2-dev libzip-dev"" setvar makedepends = "$depends_dev" setvar install = """" setvar subpackages = ""$pkgname-dev $pkgname-doc"" setvar source = ""http://downloads.sourceforge.net/$pkgname/$pkgname-$pkgver.tar.gz 10-cmake_libzip_zipconf_path.patch"" setvar builddir = ""$srcdir"/$pkgname-$pkgver" proc build { cd $builddir cmake \ -DCMAKE_INSTALL_LIBDIR=lib \ -DCMAKE_INSTALL_PREFIX=/usr \ . || return 1 make || return 1 } proc package { cd $builddir make DESTDIR="$pkgdir" install || return 1 install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/"$pkgname"/LICENSE || return 1 } setvar md5sums = ""67bce67ceb72dcc3578d6a81ef92b29b ebook-tools-0.2.2.tar.gz e8ed59e57a07595a34277da6f0356eb4 10-cmake_libzip_zipconf_path.patch"" setvar sha256sums = ""cbc35996e911144fa62925366ad6a6212d6af2588f1e39075954973bbee627ae ebook-tools-0.2.2.tar.gz e7c9ab9589528a705409129f092cc966e8d856b66126cd93bbafa54dba185381 10-cmake_libzip_zipconf_path.patch"" setvar sha512sums = ""b4518249835ed7cc672392bf2f8b1c62bc218e41c53663bb26ab34c9e43a99b6b7ae794babdb4bd775e467bb17918703a66ee57c8cf94cb7afc4ba2a7f74816a ebook-tools-0.2.2.tar.gz 5fadd9346232192ae618993c5f48ab84fac84d32dce3be55e4485d756f5a364569298488960bd21c0783d5e160a186f6f335d92194c5f63fc619218335f117ed 10-cmake_libzip_zipconf_path.patch""