summaryrefslogtreecommitdiff
path: root/libre/calibre-libre
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-05 17:43:42 -0200
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-03-05 17:43:42 -0200
commit304cb7b9702af939db2dd85b4fcf796a7d90fb03 (patch)
tree5682ad9930554535b861765bd6629ceb36cc44c5 /libre/calibre-libre
parent213d0d164b9813dad1f95438dc5cf8aae8185041 (diff)
downloadabslibre-304cb7b9702af939db2dd85b4fcf796a7d90fb03.tar.gz
abslibre-304cb7b9702af939db2dd85b4fcf796a7d90fb03.tar.bz2
abslibre-304cb7b9702af939db2dd85b4fcf796a7d90fb03.zip
calibre-libre-0.9.21-3: Added zsh completion
Diffstat (limited to 'libre/calibre-libre')
-rw-r--r--libre/calibre-libre/PKGBUILD5
1 files changed, 4 insertions, 1 deletions
diff --git a/libre/calibre-libre/PKGBUILD b/libre/calibre-libre/PKGBUILD
index ba4ff1d0c..0c90c3a5c 100644
--- a/libre/calibre-libre/PKGBUILD
+++ b/libre/calibre-libre/PKGBUILD
@@ -2,12 +2,13 @@
# Maintainer: Giovanni Scafora <giovanni@archlinux.org>
# Contributor: Petrov Roman <nwhisper@gmail.com>
# Contributor: Andrea Fagiani <andfagiani _at_ gmail dot com>
+# Contributor: Larry Hajali <larryhaja@gmail.com>
# Maintainer (Parabola): André Silva <emulatorman@lavabit.com>
_pkgname=calibre
pkgname=calibre-libre
pkgver=0.9.21
-pkgrel=2
+pkgrel=3
pkgdesc="Ebook management application (unar support included instead of libunrar and without nonfree fonts)"
arch=('i686' 'x86_64')
url="http://calibre-ebook.com/"
@@ -36,6 +37,7 @@ build() {
#rm -rf src/{cherrypy,pyPdf}
rm -rf src/cherrypy
+ rm -rf resources/${pkgname}-portable.*
sed -i -e "s/ldflags = shlex.split(ldflags)/ldflags = shlex.split(ldflags) + ['-fPIC']/" setup/extensions.py
# Fix for calibre-0.8.58
@@ -72,6 +74,7 @@ package() {
sed -i -e "s|(prefix=.*)|(prefix='$pkgdir/usr')|g" setup/install.py
install -d "${pkgdir}/usr/lib/python2.7/site-packages"
+ install -d "${pkgdir}/usr/share/zsh/site-functions"
LANG='en_US.UTF-8' python2 setup.py install --root="${pkgdir}" --prefix=/usr \
--staging-bindir="${pkgdir}/usr/bin" \
--staging-libdir="${pkgdir}/usr/lib" \