Loading istanbul/PKGBUILD +28 Changes for istanbul/PKGBUILD: 28 added lines, 0 removed lines. Original line number Diff line number Diff line # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> pkgname=istanbul pkgver=0.2.2 pkgrel=5 pkgdesc="Desktop Session Recorder" arch=('i686' 'x86_64') url="http://live.gnome.org/Istanbul" license=('GPL') options=('!libtool') depends=('gstreamer0.10' 'gnome-python-extras' 'gstreamer0.10-good-plugins' \ 'gstreamer0.10-python' 'python-xlib' 'libxdamage' 'libxext' 'libsm') makedepends=('intltool' 'gettext') install=istanbul.install source=(http://zaheer.merali.org/istanbul-$pkgver.tar.bz2 python2.patch) md5sums=('8ddcfd5a29dcd10fdafc10af9f66848b' 'f68801fbc1e6063721e6ed72be45429c') sha1sums=('f9649990429ef4fb083057685fec723c466ee4b0' 'b3e667582c28a139b1edd840e7300dadd25e5fee') build() { cd $srcdir/$pkgname-$pkgver patch -p1 -i ../python2.patch ./configure --prefix=/usr --disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas make make prefix=$startdir/pkg/usr install mkdir -p ${startdir}/pkg/usr/share/gconf/schemas gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/usr/etc/gconf/schemas/*.schemas rm -f ${startdir}/pkg/usr/etc/gconf/schemas/*.schemas } istanbul/istanbul.install +31 Changes for istanbul/istanbul.install: 31 added lines, 0 removed lines. Original line number Diff line number Diff line pkgname=istanbul post_install() { export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null } pre_upgrade() { pre_remove $1 } post_upgrade() { post_install $1 } pre_remove() { if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then schemas=(usr/share/gconf/schemas/${pkgname}.schemas) elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas) else schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`) fi export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null } op=$1 shift $op $* istanbul/python2.patch +14 Changes for istanbul/python2.patch: 14 added lines, 0 removed lines. Original line number Diff line number Diff line diff -crB istanbul-0.2.2//bin/istanbul.in istanbul-0.2.2-python2//bin/istanbul.in *** istanbul-0.2.2//bin/istanbul.in 2007-02-23 14:01:12.000000000 +0300 --- istanbul-0.2.2-python2//bin/istanbul.in 2011-07-24 11:40:28.494861557 +0400 *************** *** 1,4 **** ! #!/usr/bin/python # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # --- 1,4 ---- ! #!/usr/bin/env python2 # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # Loading
istanbul/PKGBUILD +28 Changes for istanbul/PKGBUILD: 28 added lines, 0 removed lines. Original line number Diff line number Diff line # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve> pkgname=istanbul pkgver=0.2.2 pkgrel=5 pkgdesc="Desktop Session Recorder" arch=('i686' 'x86_64') url="http://live.gnome.org/Istanbul" license=('GPL') options=('!libtool') depends=('gstreamer0.10' 'gnome-python-extras' 'gstreamer0.10-good-plugins' \ 'gstreamer0.10-python' 'python-xlib' 'libxdamage' 'libxext' 'libsm') makedepends=('intltool' 'gettext') install=istanbul.install source=(http://zaheer.merali.org/istanbul-$pkgver.tar.bz2 python2.patch) md5sums=('8ddcfd5a29dcd10fdafc10af9f66848b' 'f68801fbc1e6063721e6ed72be45429c') sha1sums=('f9649990429ef4fb083057685fec723c466ee4b0' 'b3e667582c28a139b1edd840e7300dadd25e5fee') build() { cd $srcdir/$pkgname-$pkgver patch -p1 -i ../python2.patch ./configure --prefix=/usr --disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas make make prefix=$startdir/pkg/usr install mkdir -p ${startdir}/pkg/usr/share/gconf/schemas gconf-merge-schema ${startdir}/pkg/usr/share/gconf/schemas/${pkgname}.schemas ${startdir}/pkg/usr/etc/gconf/schemas/*.schemas rm -f ${startdir}/pkg/usr/etc/gconf/schemas/*.schemas }
istanbul/istanbul.install +31 Changes for istanbul/istanbul.install: 31 added lines, 0 removed lines. Original line number Diff line number Diff line pkgname=istanbul post_install() { export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` usr/bin/gconftool-2 --makefile-install-rule usr/share/gconf/schemas/${pkgname}.schemas >/dev/null } pre_upgrade() { pre_remove $1 } post_upgrade() { post_install $1 } pre_remove() { if [ -f usr/share/gconf/schemas/${pkgname}.schemas ]; then schemas=(usr/share/gconf/schemas/${pkgname}.schemas) elif [ -f opt/gnome/share/gconf/schemas/${pkgname}.schemas ]; then schemas=(opt/gnome/share/gconf/schemas/${pkgname}.schemas) else schemas=(`pacman -Ql $pkgname | grep 'gconf/schemas/.*schemas$' | awk '{ print $2 }'`) fi export GCONF_CONFIG_SOURCE=`usr/bin/gconftool-2 --get-default-source` usr/bin/gconftool-2 --makefile-uninstall-rule ${schemas[@]} >/dev/null } op=$1 shift $op $*
istanbul/python2.patch +14 Changes for istanbul/python2.patch: 14 added lines, 0 removed lines. Original line number Diff line number Diff line diff -crB istanbul-0.2.2//bin/istanbul.in istanbul-0.2.2-python2//bin/istanbul.in *** istanbul-0.2.2//bin/istanbul.in 2007-02-23 14:01:12.000000000 +0300 --- istanbul-0.2.2-python2//bin/istanbul.in 2011-07-24 11:40:28.494861557 +0400 *************** *** 1,4 **** ! #!/usr/bin/python # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 # --- 1,4 ---- ! #!/usr/bin/env python2 # -*- Mode: Python -*- # vi:si:et:sw=4:sts=4:ts=4 #