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 Dec 17th, 2011  |  syntax: Bash  |  size: 0.73 KB  |  views: 36  |  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. # Contributor: Nicolas Bigaouette <bigaouette@gmail.com>
  2. # Maintainer: Stefan Husmann <stefan-husmann@t-online.de>
  3.  
  4. pkgname=xsvg
  5. pkgver=0.2.1
  6. pkgrel=2
  7. pkgdesc="A viewer of SVG files"
  8. url="http://cairographics.org/"
  9. license=('custom')
  10. depends=('libsvg-cairo')
  11. arch=('i686' 'x86_64')
  12. source=("http://cairographics.org/snapshots/$pkgname-$pkgver.tar.gz" "xsvg.patch")
  13. md5sums=('f20409e87d9bff3c4d698d8c0e9e9f2b'
  14.          '8d24078a6ba24a54e205cc5d67ea4483')
  15. build() {
  16.   cd $srcdir/$pkgname-$pkgver
  17.   patch -p1 -i $srcdir/xsvg.patch
  18.   autoreconf
  19.   ./configure --prefix=/usr
  20.   make
  21. }
  22. package() {
  23.   cd $srcdir/$pkgname-$pkgver
  24.   make prefix=${pkgdir}/usr install
  25.   install -Dm644 COPYING ${pkgdir}/usr/share/licenses/$pkgname
  26. }