diff options
author | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-05 17:43:42 -0200 |
---|---|---|
committer | André Fabian Silva Delgado <emulatorman@lavabit.com> | 2013-03-05 17:43:42 -0200 |
commit | 304cb7b9702af939db2dd85b4fcf796a7d90fb03 (patch) | |
tree | 5682ad9930554535b861765bd6629ceb36cc44c5 | |
parent | 213d0d164b9813dad1f95438dc5cf8aae8185041 (diff) |
calibre-libre-0.9.21-3: Added zsh completion
-rw-r--r-- | libre/calibre-libre/PKGBUILD | 5 |
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" \ |