diff options
Diffstat (limited to 'extra/ebook-tools')
-rw-r--r-- | extra/ebook-tools/PKGBUILD | 27 |
1 files changed, 27 insertions, 0 deletions
diff --git a/extra/ebook-tools/PKGBUILD b/extra/ebook-tools/PKGBUILD new file mode 100644 index 000000000..dbe39120d --- /dev/null +++ b/extra/ebook-tools/PKGBUILD @@ -0,0 +1,27 @@ +# $Id: PKGBUILD 90915 2010-09-18 23:05:52Z giovanni $ +# Maintainer: Giovanni Scafora <giovanni@archlinux.org> + +pkgname=ebook-tools +pkgver=0.2.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=('cabbd2ef9148a61ca5f6e60ca63e6045') + +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 +} |