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 Nov 22nd, 2013  |  syntax: Bash  |  size: 1.36 KB  |  views: 110  |  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: Alexander De Sousa <archaur.xandy21@spamgourmet.com>
  2. # Contributor: zhuqin <zhuqin83@gmail.com>
  3.  
  4. pkgname=gtk-engine-murrine-git
  5. _gitname=murrine
  6. pkgver=405.dd71244
  7. pkgrel=1
  8. pkgdesc="GTK2 Murrine engine, development code."
  9. arch=('i686' 'x86_64')
  10. license=('LGPLv3')
  11. depends=('gtk2')
  12. makedepends=('git' 'intltool')
  13. url="http://cimitan.com/murrine/"
  14. conflicts=('gtk-engine-murrine')
  15. provides=('gtk-engine-murrine')
  16. options=(!libtool)
  17. source=("git://git.gnome.org/murrine"
  18.         automake-1.12.patch
  19.         automake-1.13.patch
  20.         automake-1.14.patch)
  21. md5sums=('SKIP'
  22.         'e3b5930627f1e1773a020219e0880dc0'
  23.         '9d3409060ced1b970323c59f379b4bdd'
  24.         '25473d6b2f8d36936de766b62be683c1')
  25.  
  26. pkgver() {
  27.   cd $_gitname
  28.   echo $(git rev-list --count HEAD).$(git rev-parse --short HEAD)
  29. }
  30.  
  31. build() {
  32.   cd "$srcdir"
  33.  
  34.   rm -rf "$srcdir/$_gitname-build"
  35.   git clone "$srcdir/$_gitname" "$srcdir/$_gitname-build"
  36.   cd "$srcdir/$_gitname-build"
  37.  
  38.   msg2 "Patching..."
  39.   patch -Nup1 -i ../automake-1.12.patch
  40.   patch -Nup1 -i ../automake-1.13.patch
  41.   patch -Nup1 -i ../automake-1.14.patch
  42.   msg2 "Starting build..."
  43.   ./autogen.sh \
  44.    --prefix=/usr \
  45.    --enable-animation \
  46.    --enable-animationrtl
  47.   make
  48. }
  49.  
  50. package() {
  51.   cd "$srcdir/$_gitname-build"
  52.   make DESTDIR="$pkgdir" install
  53. }
  54.  
  55. # vim: set ft=sh ts=2 sw=2 et:
clone this paste RAW Paste Data