Want more features on Pastebin? Sign Up, it's FREE!
Guest

Untitled

By: a guest on Apr 10th, 2010  |  syntax: None  |  size: 1.29 KB  |  views: 173  |  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. # $Id: PKGBUILD,v 1.2 2005/07/25 12:06:06 kth5 Exp $
  2. # Maintainer: Alexander Baldeck <alexander.baldeck@icomedias.com>
  3. pkgname=xli
  4. pkgver=1.17.0
  5. pkgrel=3
  6. pkgdesc="An image display program for X"
  7. depends=('libxext' 'libpng' 'libjpeg')
  8. makedepends=('imake' 'patch' 'gcc')
  9. arch=(i686 x86_64)
  10. license=('custom')
  11. source=(ftp://ftp2.de.debian.org/debian/pool/main/x/xli/${pkgname}_${pkgver}.orig.tar.gz \
  12.         ftp://ftp2.de.debian.org/debian/pool/main/x/xli/xli_1.17.0-22.diff.gz
  13.         xli_libpng.diff)
  14. url="ftp://ftp.de.debian.org/debian/pool/main/x/xli/"
  15.  
  16. build() {
  17.   cd $startdir/src/${pkgname}-${pkgver}.orig
  18.   patch -Np1 -i ../xli_1.17.0-22.diff
  19.   patch -Np1 -i ../../xli_libpng.diff
  20.   export CFLAGS="-DHAVE_GUNZIP"
  21.   xmkmf
  22.   make -f Makefile.std gcc || return 1
  23.   make DESTDIR=$startdir/pkg install
  24.  
  25.         mkdir -p $startdir/pkg/usr/man/man3/
  26.         install -m644 $startdir/src/${pkgname}-${pkgver}.orig/xli.man $startdir/pkg/usr/man/man3/
  27.         install -m644 $startdir/src/${pkgname}-${pkgver}.orig/xliguide.man $startdir/pkg/usr/man/man3/
  28.         install -m644 $startdir/src/${pkgname}-${pkgver}.orig/xlito.man $startdir/pkg/usr/man/man3/
  29. }
  30. md5sums=('504f916c9a7d062c8f856f1625634ba8'
  31.          'c5a8bac0cd7eac2596d0bbe5be4a26f2'
  32.          'bb72b7d5cf2ffcebf5d8ebab11d27718')
clone this paste RAW Paste Data