summaryrefslogtreecommitdiff
path: root/libre/icedove-libre/PKGBUILD
diff options
context:
space:
mode:
authorAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-21 01:16:19 -0300
committerAndré Fabian Silva Delgado <emulatorman@lavabit.com>2013-05-21 01:16:19 -0300
commitbabd861e61a5c29e76f56b4fd5e21b636c24f275 (patch)
tree32f7d1af8b17e486f037acc9ba250831d904c26c /libre/icedove-libre/PKGBUILD
parent30a52e21bd5ead4c9c5be0b87e1fa6481dd25633 (diff)
downloadabslibre-babd861e61a5c29e76f56b4fd5e21b636c24f275.tar.gz
abslibre-babd861e61a5c29e76f56b4fd5e21b636c24f275.tar.bz2
abslibre-babd861e61a5c29e76f56b4fd5e21b636c24f275.zip
icedove-libre: add python2-virtualenv dep
Diffstat (limited to 'libre/icedove-libre/PKGBUILD')
-rw-r--r--libre/icedove-libre/PKGBUILD7
1 files changed, 5 insertions, 2 deletions
diff --git a/libre/icedove-libre/PKGBUILD b/libre/icedove-libre/PKGBUILD
index fb2bbde66..8473cadd8 100644
--- a/libre/icedove-libre/PKGBUILD
+++ b/libre/icedove-libre/PKGBUILD
@@ -17,7 +17,7 @@ arch=('i686' 'x86_64' 'mips64el')
license=('MPL' 'GPL' 'LGPL')
url="http://packages.debian.org/sid/${_pkgname}"
depends=('alsa-lib' 'dbus-glib' 'desktop-file-utils' 'gtk2' 'hicolor-icon-theme' 'hunspell' 'libevent' 'libnotify' 'libvpx' 'libxt' 'mime-types' 'mozilla-common' 'mozilla-searchplugins' 'nss' 'sqlite' 'startup-notification')
-makedepends=('unzip-libre' 'zip' 'pkg-config' 'python2' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt')
+makedepends=('unzip-libre' 'zip' 'pkg-config' 'python2' 'python2-virtualenv' 'wireless_tools' 'yasm' 'mesa' 'autoconf2.13' 'quilt')
optdepends=('libcanberra: for sound support')
replaces=('thunderbird')
conflicts=('thunderbird')
@@ -88,6 +88,9 @@ prepare() {
# configure script misdetects the preprocessor without an optimization level
# https://bugs.archlinux.org/task/34644
sed -i '/ac_cpp=/s/$CPPFLAGS/& -O2/' configure
+
+ # Fix virtualenv path
+ sed -i 's|/usr/share/pyshared/virtualenv.py|/usr/lib/python2.7/site-packages/virtualenv.py|' mozilla/configure
}
build() {
@@ -120,5 +123,5 @@ package() {
ln -sf /usr/lib/mozilla/searchplugins "${pkgdir}/usr/lib/${_pkgname}/searchplugins"
# We don't want the development stuff
- rm -r "${pkgdir}"/usr/{include,lib/$_pkgname-devel,share/idl}
+ rm -r "${pkgdir}"/usr/{include,lib/${_pkgname}-devel,share/idl}
}