[arch-commits] Commit in ebook-tools/trunk (PKGBUILD)

Pierre Schmitz pierre at archlinux.org
Tue Jul 15 22:29:53 UTC 2008


    Date: Tuesday, July 15, 2008 @ 18:29:53
  Author: pierre
Revision: 5393

upgpkg: ebook-tools 0.1.1-1

Modified:
  ebook-tools/trunk/PKGBUILD

----------+
 PKGBUILD |   27 +++++++++++++++++++++++++++
 1 file changed, 27 insertions(+)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2008-07-15 22:22:39 UTC (rev 5392)
+++ PKGBUILD	2008-07-15 22:29:53 UTC (rev 5393)
@@ -0,0 +1,27 @@
+# $ Id: $
+# Maintainer: Pierre Schmitz <pierre at 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
+}
\ No newline at end of file





More information about the arch-commits mailing list