Want more features on Pastebin? Sign Up, it's FREE!
Guest

shutter 0.87

By: a guest on Feb 12th, 2011  |  syntax: None  |  size: 1.02 KB  |  views: 215  |  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. pkgname=shutter
  2. pkgver=0.87
  3. pkgrel=1
  4. pkgdesc="A featureful screenshot tool (formerly gscrot)"
  5. arch=('i686' 'x86_64')
  6. url="http://shutter-project.org/"
  7. license=('GPL3')
  8. depends=('gconf-perl' 'imagemagick' 'libxml-perl' 'perl-gnome2-wnck'
  9.          'perl-goo-canvas' 'perl-gtk2-imageview' 'perl-locale-gettext'
  10.          'perl-net-dbus' 'perl-www-mechanize' 'perl-x11-protocol'
  11.          'perl-xml-simple' 'perl-libwww>=5.827' 'perl-proc-processtable' 'librsvg' 'perl-gtk2-unique')
  12. optdepends=('gnome-web-photo: web screenshot support' 'bc: needed for plugins')
  13. source=(http://$pkgname-project.org/wp-content/uploads/releases/tars/$pkgname-$pkgver.tar.gz)
  14. md5sums=('7f7dfa7e4b5a4b9f7d267ad9ba949b8f')
  15.  
  16. build() {
  17.   cd "$srcdir/$pkgname-$pkgver"
  18.   install -Dm755 bin/$pkgname "$pkgdir/usr/bin/$pkgname"
  19.   cp -r share "$pkgdir/usr/"
  20.  
  21.   find "$pkgdir/usr/share" -type d -exec chmod 755 '{}' \;
  22.   find "$pkgdir/usr/share" -type f -exec chmod 644 '{}' \;
  23.   find "$pkgdir" -path '*plugins*' -type f ! -name '*.*' -exec chmod 755 '{}' \;
  24. }
clone this paste RAW Paste Data