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

Giovanni Scafora giovanni at archlinux.org
Wed Feb 10 14:52:31 UTC 2010


    Date: Wednesday, February 10, 2010 @ 09:52:31
  Author: giovanni
Revision: 68029

Modified:
  ebook-tools/trunk/PKGBUILD	(contents, properties)

----------+
 PKGBUILD |   28 ++++++++++++++--------------
 1 file changed, 14 insertions(+), 14 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2010-02-10 14:43:28 UTC (rev 68028)
+++ PKGBUILD	2010-02-10 14:52:31 UTC (rev 68029)
@@ -1,27 +1,27 @@
-# $ Id: $
-# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+# $Id$
+# Maintainer: Giovanni Scafora <giovanni at 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'
+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")
+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
-	make DESTDIR=$pkgdir install
+  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/ebook-tools/LICENSE
-}
\ No newline at end of file
+  install -D ${srcdir}/${pkgname}-${pkgver}/LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE" || return 1
+}


Property changes on: ebook-tools/trunk/PKGBUILD
___________________________________________________________________
Added: svn:keywords
   + Id




More information about the arch-commits mailing list