This week only. Pastebin PRO Accounts Christmas Special! Don't miss out!Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: 4javier on Nov 1st, 2012  |  syntax: None  |  size: 1.44 KB  |  views: 96  |  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: Cedric Girard <girard.cedric@gmail.com>
  2. # Contributor: Florian Pritz <flo@xinu.at>
  3. # Contributor: Adam Hani Schakaki (krzd) <krzd@krzd.net>
  4. # Contributor: Det <nimetonmaili at gmail a-dot com>
  5. # Contributor: catalyst <catalyst@xaker.ru>
  6. # Contributor: Devin Cofer <ranguvar{AT]archlinux[DOT}us>
  7. # Contributor: jackobw
  8. # Contributor: Gianni Vialetto <g dot vialetto at gmail dot com>
  9. # Contributor: 4javier <4javiereg4 _at_ gmail _dot_ com>
  10.  
  11. pkgname=cairo-compmgr
  12. pkgver=0.3.1
  13. pkgrel=2
  14. epoch=2
  15. pkgdesc="A Cairo based composite manager"
  16. arch=(i686 x86_64)
  17. url="https://github.com/gandalfn/Cairo-Composite-Manager"
  18. license=(LGPL)
  19. makedepends=(gettext gtk-doc "intltool>=0.41" git)
  20. depends=("gtk2>=2.16.0" "vala>=0.16" libsm gconf)
  21. install=cairo-compmgr.install
  22. options=(!libtool)
  23. source=(https://github.com/downloads/gandalfn/Cairo-Composite-Manager/$pkgname-$pkgver.tar.bz2)
  24. md5sums=('4ef285e0735b1a61b5db2205a2d8f8b3')
  25.          
  26.  
  27. build() {
  28.   cd "$srcdir/$pkgname-$pkgver"
  29.   sed -i -e 's/libvala-0.16/libvala-0.18/' -e 's/VALA_REQUIRED=0.16.0/VALA_REQUIRED=0.18.0/' configure.ac
  30.   ./autogen.sh --prefix=/usr LIBS="-ldl -lgmodule-2.0"
  31.   make
  32.  
  33. }
  34.  
  35. package() {
  36.   cd "$srcdir/$pkgname-$pkgver"
  37.  
  38.   make DESTDIR="$pkgdir" install
  39.   mkdir -p "$pkgdir/usr/share/gconf/schemas/"
  40.   gconf-merge-schema "$pkgdir/usr/share/gconf/schemas/cairo-compmgr.schemas" "$pkgdir/etc/gconf/schemas/*.schemas"
  41.   rm -rf "$pkgdir/etc/gconf/schemas/"
  42. }
clone this paste RAW Paste Data