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

xzoom 0.3-2

By: a guest on Dec 26th, 2011  |  syntax: Bash  |  size: 0.70 KB  |  views: 84  |  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. # Contributor: Thomas Karmann <thomas@krmnn.de>
  2.  
  3. pkgname=xzoom
  4. pkgver=0.3
  5. pkgrel=2
  6. pkgdesc="xzoom is a screen magnifier"
  7. arch=('i686' 'x86_64')
  8. url="ftp://sunsite.unc.edu/pub/linux/libs/X/"
  9. license=('GPL')
  10. depends=('libxt' 'libxext')
  11. makedepends=('imake')
  12. source=(ftp://sunsite.unc.edu/pub/linux/libs/X/${pkgname}-${pkgver}.tgz)
  13. md5sums=('c6ecc5fade34cf46cbe8c00b93d7ac78')
  14.  
  15. build() {
  16.   cd ${srcdir}/${pkgname}-${pkgver}
  17.   patch -p1 < ../../xzoom_0.3-23.diff
  18.   /usr/bin/xmkmf
  19.   sed -i.eski "s/-O2/${CFLAGS}/" ./Makefile || return 1
  20.   make || return 1
  21.   make DESTDIR=${pkgdir} install || return 1
  22.   make DESTDIR=${pkgdir} install.man || return 1
  23.   gzip -9 ${pkgdir}/usr/share/man/man1/xzoom.1x
  24. }