[arch-commits] Commit in revelation/trunk (PKGBUILD)
Allan McRae
allan at archlinux.org
Fri Oct 1 15:08:13 UTC 2010
Date: Friday, October 1, 2010 @ 11:08:12
Author: allan
Revision: 92871
upgpkg: revelation 0.4.11-7
python2 rebuild
Modified:
revelation/trunk/PKGBUILD
----------+
PKGBUILD | 19 +++++++++++++------
1 file changed, 13 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2010-10-01 14:54:15 UTC (rev 92870)
+++ PKGBUILD 2010-10-01 15:08:12 UTC (rev 92871)
@@ -3,7 +3,7 @@
pkgname=revelation
pkgver=0.4.11
-pkgrel=6
+pkgrel=7
pkgdesc="Password manager for the GNOME 2 desktop"
arch=(i686 x86_64)
license=('GPL')
@@ -18,16 +18,23 @@
build() {
cd "${srcdir}/${pkgname}-${pkgver}"
- patch -Np1 -i "${srcdir}/fs12034.patch" || return 1
+ patch -Np1 -i "${srcdir}/fs12034.patch"
- sed -i -e 's/gnome-python-extras/gnome-python-desktop/g' configure || return 1
+ sed -i -e 's/gnome-python-extras/gnome-python-desktop/g' configure
./configure --prefix=/usr --sysconfdir=/etc \
--libexecdir=/usr/lib/revelation \
--localstatedir=/var \
- --disable-mime-update --disable-desktop-update || return 1
- make || return 1
- make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install || return 1
+ --disable-mime-update --disable-desktop-update \
+ --with-python-include=/usr/include/python2.7
+ make
+ make GCONF_DISABLE_MAKEFILE_SCHEMA_INSTALL=1 DESTDIR="${pkgdir}" install
+ sed -i "s|#!/usr/bin/env python$|#!/usr/bin/env python2|" \
+ $pkgdir/usr/bin/revelation \
+ $pkgdir/usr/lib/python2.7/site-packages/revelation/bundle/PBKDFv2.py \
+ $pkgdir/usr/lib/revelation/revelation-applet
+
+
install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain revelation ${pkgdir}/etc/gconf/schemas/*.schemas || return 1
rm -f ${pkgdir}/etc/gconf/schemas/*.schemas
More information about the arch-commits
mailing list