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

w_scan PKGBUILD

By: a guest on Jun 14th, 2010  |  syntax: Bash  |  size: 0.81 KB  |  views: 219  |  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=w_scan
  2. pkgver=20100529
  3. pkgrel=1
  4. arch=(i686 x86_64)
  5. pkgdesc="Scans for DVB channels without the need for initial tuning data"
  6. url="http://wirbel.htpc-forum.de"
  7. license="GPL"
  8. depends=('glibc')
  9. backup=()
  10. source=(http://wirbel.htpc-forum.de/w_scan/$pkgname-$pkgver.tar.bz2)
  11. md5sums=('e0826ea2fb237b5f8049e18c9a125045')
  12.  
  13. build() {
  14.     cd $startdir/src/$pkgname-$pkgver
  15.  
  16.     mkdir -p $pkgdir/usr/bin
  17.     mkdir -p $pkgdir/usr/share/w_scan
  18.  
  19.     ./configure --prefix=$pkgdir/usr || return 1
  20.  
  21.     make || return 1
  22.  
  23.     make install || return 1
  24.  
  25.     install -m 644 pci.ids $startdir/pkg/usr/share/w_scan
  26.     install -m 644 pci.classes $startdir/pkg/usr/share/w_scan
  27.     install -m 644 usb.ids $startdir/pkg/usr/share/w_scan
  28.     install -m 644 usb.classes $startdir/pkg/usr/share/w_scan
  29.     cp README $startdir/pkg/usr/share/w_scan
  30. }
clone this paste RAW Paste Data