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 Nov 9th, 2010  |  syntax: Bash  |  size: 0.82 KB  |  views: 146  |  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=xf86-video-qxl
  2. pkgver=0.0.20.f14b
  3. pkgrel=7
  4. pkgdesc="Xorg X11 qxl video driver"
  5. arch=(x86_64 i686)
  6. url="http://www.x.org"
  7. license=('MIT')
  8. groups=(xorg-video-drivers)
  9. depends=(xorg-server)
  10. makedepends=(pkgconfig rpmextract)
  11. install=
  12. changelog=
  13. source=(http://ftp.uni-kl.de/pub/linux/fedora/linux/updates/14/SRPMS/xorg-x11-drv-qxl-0.0.20.f14b-7.fc14.src.rpm)
  14.  
  15.  
  16. build() {
  17.   /usr/bin/rpmextract.sh xorg-x11-drv-qxl-0.0.20.f14b-7.fc14.src.rpm || return 1
  18.   bsdtar xf *.tar.bz2 || return 1
  19.   cd $srcdir/$pkgname-$pkgver
  20.   for i in $(ls ../*.patch); do
  21.     msg "Applying patch $i"
  22.     patch -p1 < $i
  23.   done;
  24.   ./configure --prefix=/usr --disable-static
  25.   make
  26. }
  27.  
  28. package() {
  29.   cd "$srcdir/$pkgname-$pkgver"
  30.  
  31.   make DESTDIR="$pkgdir/" INSTALL='install -p' install
  32. }
  33.  
  34. md5sums=('8508a701d7e01977bf8c5bf09d9d3cb1')