Pastebin launched a little side project called HostCabi.net, check it out ;-)Pastebin is 300% more awesome when you are logged in. Sign Up, it's FREE!
Guest

xzoom PKGBUILD CFLAGS and man page

By: a guest on Jan 17th, 2011  |  syntax: None  |  size: 0.69 KB  |  hits: 131  |  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=1
  6. pkgdesc="xzoom is a screen magnifier"
  7. arch=('i686')
  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. }