summaryrefslogtreecommitdiff
path: root/libre/calibre-libre
diff options
context:
space:
mode:
authorMichał Masłowski <mtjm@mtjm.eu>2013-03-07 18:15:36 +0100
committerMichał Masłowski <mtjm@mtjm.eu>2013-03-07 18:15:36 +0100
commit0283bf9b81466b1a86f02c6279c919c56eb082dd (patch)
tree4298bf8cb4950f4a58f4deb03ac0def1cb325a2b /libre/calibre-libre
parentdf471b30a42ca1d555c06397d0236f28d692d768 (diff)
parentb5251e5f2b6f0e35b67f9e99252a1b3d4ed098bf (diff)
downloadabslibre-0283bf9b81466b1a86f02c6279c919c56eb082dd.tar.gz
abslibre-0283bf9b81466b1a86f02c6279c919c56eb082dd.tar.bz2
abslibre-0283bf9b81466b1a86f02c6279c919c56eb082dd.zip
Merge branch 'master' of git+ssh://parabola-git/srv/git/abslibre
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" \