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 13th, 2010  |  syntax: Bash  |  size: 0.95 KB  |  views: 123  |  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: Moritz Lüdecke <ritze@skweez.net>
  2. # Contributor: boenki <boenki at gmx dot de>
  3.  
  4. pkgname=cover-thumbnailer
  5. pkgver=0.8.1
  6. pkgrel=3
  7. pkgdesc="A Python script which displays music album covers in nautilus, preview of pictures which are in a folder and more."
  8. url="http://software.flogisoft.com/cover-thumbnailer/en/"
  9. license=('GPL3')
  10. arch=('any')
  11. depends=('python-imaging' 'python2-gconf')
  12. makedepends=('gettext')
  13. install=${pkgname}.install
  14. source=(http://download.flogisoft.com/files/Software/Cover_thumbnailer/${pkgname}_${pkgver}_src.tar.gz)
  15. md5sums=('df8776bc8b1079d973670e03b45a607d')
  16.  
  17. build() {
  18.         cd $srcdir/$pkgname-$pkgver
  19.         sed -i "s|#!/usr/bin/python|#!/usr/bin/python2|g" ${pkgname}{,-gui}.py
  20.  
  21.         ./install.sh -p $pkgdir
  22.  
  23.         install -m755 -d "${pkgdir}/usr/share/gconf/schemas"
  24.         gconf-merge-schema "${pkgdir}/usr/share/gconf/schemas/${pkgname}.schemas" --domain cover-thumbnailer ${pkgdir}/usr/share/${pkgname}/${pkgname}.schema
  25. }
clone this paste RAW Paste Data