diff options
-rw-r--r-- | libre/calibre-libre/PKGBUILD | 13 |
1 files changed, 8 insertions, 5 deletions
diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD index 51f0a0c0a..f7dfe3489 100644 --- a/libre/calibre-libre/PKGBUILD +++ b/libre/calibre-libre/PKGBUILD @@ -1,4 +1,4 @@ -# $Id: PKGBUILD 91009 2013-05-17 10:26:19Z jelle $ +# $Id: PKGBUILD 91579 2013-05-24 14:55:19Z dwallace $ # Maintainer: jelle van der Waa <jelle@vdwaa.nl> # Maintainer: Daniel Wallace <danielwallace at gtmanfred dot com> # Contributor: Giovanni Scafora <giovanni@archlinux.org> @@ -9,7 +9,7 @@ _pkgname=calibre pkgname=calibre-libre -pkgver=0.9.31 +pkgver=0.9.32 pkgrel=1 pkgdesc="Ebook management application, with unar support included and nonfree fonts removed" arch=('i686' 'x86_64' 'mips64el') @@ -30,13 +30,13 @@ install=calibre.install source=("http://calibre-ebook.googlecode.com/files/${_pkgname}-${pkgver}.tar.xz" 'desktop_integration.patch' 'calibre-mount-helper') -md5sums=('19abde7fd5a065cadfaee4ed12568d96' +md5sums=('3b1c89a84872df900b9cfb706027df67' '8353d1878c5a498b3e49eddef473605f' '675cd87d41342119827ef706055491e7') -build() { - cd "${srcdir}/${_pkgname}" +prepare(){ + cd "${srcdir}/${_pkgname}" #rm -rf src/{cherrypy,pyPdf} rm -rf src/cherrypy rm -rf resources/${pkgname}-portable.* @@ -47,7 +47,10 @@ build() { sed -i -e 's:\(#!/usr/bin/env[ ]\+python$\|#![ ]/usr/bin/env[ ]\+python$\|#!/usr/bin/python$\):\12:g' \ $(find . -regex ".*.py\|.*.recipe") +} +build() { + cd "${srcdir}/${_pkgname}" # Remove nonfree fonts cd resources/fonts; \ rm prs500/tt0003m_.ttf; ln -s ../liberation/LiberationSans-Regular.ttf prs500/tt0003m_.ttf; \ |