# $Id: PKGBUILD 82 2009-07-17 19:56:55Z aaron $ # Maintainer: Sergej Pupykin pkgname=xnc pkgver=5.0.4 pkgrel=2 pkgdesc="X nortern captain file manager" arch=(i686 x86_64) url="http://xnc.jinr.ru/" license=('GPL') depends=('gcc-libs' 'libpng' 'libtiff' 'libsm' 'libxext' 'libjpeg>=7') makedepends=('libxt') options=('!makeflags') source=(http://xnc.jinr.ru/src-5/xnc-$pkgver.src.tar.gz xnc-gcc44.patch) md5sums=('62446cdfdf5730f125fb351a658c0bd3' '60673809f2db3a8d9939e9f38ade59d2') build() { cd "$srcdir/$pkgname-$pkgver" patch -p0 < ../xnc-gcc44.patch || return 1 ./configure --prefix=/usr --mandir=/usr/share/man || return 1 make || return 1 make DESTDIR="$pkgdir" install || return 1 }