Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Sep 12th, 2011  |  syntax: Bash  |  size: 1.64 KB  |  views: 74  |  expires: Never
download  |  raw  |  embed  |  report abuse  |  print
Text below is selected. Please press Ctrl+C to copy to your clipboard. (⌘+C on Mac)
  1. # Maintainer: Sebastien Luttringer <seblu+arch@seblu.net>
  2. # Contributor: Angel 'angvp' Velasquez <angvp[at]archlinux.com.ve>
  3.  
  4. pkgname=istanbul
  5. pkgver=0.2.2
  6. pkgrel=6
  7. pkgdesc='Desktop Session Recorder'
  8. arch=('i686' 'x86_64')
  9. url='http://live.gnome.org/Istanbul'
  10. license=('GPL')
  11. options=('!libtool')
  12. depends=(
  13.   'pygtk'
  14.   'gnome-python-extras'
  15.   'gstreamer0.10'
  16.   'gstreamer0.10-python'
  17.   'gstreamer0.10-base-plugins'
  18.   'python2-gconf'
  19.   'python-xlib'
  20.   'libxdamage'
  21.   'libxext'
  22.   'libsm'
  23. )
  24. makedepends=(
  25.   'intltool'
  26.   'gettext'
  27. )
  28. install=istanbul.install
  29. source=(
  30.   "http://zaheer.merali.org/istanbul-$pkgver.tar.bz2"
  31.   "http://ftp.de.debian.org/debian/pool/main/i/istanbul/istanbul_0.2.2-8.diff.gz"
  32.   'm4.patch'
  33. )
  34. md5sums=(
  35.   '8ddcfd5a29dcd10fdafc10af9f66848b'
  36.   '26f5e7b1c86e6fc82511787d671803a2'
  37.   '24aeec6ca57d88771b9befc46d772af7'
  38. )
  39. sha1sums=(
  40.   'f9649990429ef4fb083057685fec723c466ee4b0'
  41.   '7aa0d40c59cb64c0a5c7fd28a3cdf4843545a71e'
  42.   '0c8a69ff267c1232da91a767ad31ff084fc45b3e'
  43. )
  44.  
  45. build() {
  46.   cd $pkgname-$pkgver
  47.  
  48.   patch -p1 -i ../istanbul_0.2.2-8.diff
  49.   while read f; do
  50.     patch -Np1 -i debian/patches/$f
  51.   done < debian/patches/series
  52.   patch -p1 -i ../m4.patch
  53.  
  54.   ./configure --prefix=/usr --disable-schemas-install --with-gconf-schema-file-dir=/usr/share/gconf/schemas
  55.   make
  56. }
  57.  
  58. package() {
  59.   cd $pkgname-$pkgver
  60.   make prefix="$pkgdir/usr" install
  61.  
  62.   install -d -m 755 "$pkgdir/usr/share/gconf/schemas"
  63.   gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/$pkgname.schemas" "$pkgdir"/usr/etc/gconf/schemas/*.schemas
  64.   rm -f "$pkgdir"/usr/etc/gconf/schemas/*.schemas
  65. }
  66.  
  67. # vim:set ts=2 sw=2 ft=sh et: