Pastebin launched a little side project called VERYVIRAL.com, check it out ;-) Want more features on Pastebin? Sign Up, it's FREE!
Guest

[HASCIICAM] By SpepS

By: a guest on Mar 5th, 2011  |  syntax: None  |  size: 0.87 KB  |  views: 67  |  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 : schuay <jakob.gruber@gmail.com>
  2. # Contributor: rennero <rennero@bastardi.net>
  3. # Contributor: SpepS <dreamspepser at yahoo dot it>
  4.  
  5. pkgname=hasciicam
  6. pkgver=1.1.1
  7. pkgrel=1
  8. pkgdesc="Renders video input as ascii (either to the terminal, to a text file, or a live webpage)"
  9. arch=('i686' 'x86_64')
  10. url="http://ascii.dyne.org/"
  11. license=('GPL')
  12. depends=('aalib' 'libv4l')
  13. install="$pkgname.install"
  14. source=("ftp://ftp.dyne.org/hasciicam/releases/${pkgname}_$pkgver.orig.tar.gz")
  15. md5sums=('2c36dbde02424a755a6230465b31da3b')
  16.  
  17. build() {
  18.   cd "$srcdir/$pkgname-$pkgver"
  19.  
  20.   # install icons in /usr/share/pixmaps
  21.   sed -i "s|icons|pixmaps|g" share/Makefile.*
  22.  
  23.   ./configure --prefix=/usr
  24.   make
  25. }
  26.  
  27. package() {
  28.   cd "$srcdir/$pkgname-$pkgver"
  29.  
  30.   make prefix="$pkgdir/usr" install
  31.  
  32.   # Remove unneeded debian menu
  33.   rm -rf "$pkgdir/usr/share/menu"
  34. }
clone this paste RAW Paste Data