# $Id: PKGBUILD 90115 2013-05-06 19:40:24Z foutrelis $ # Maintainer: Sergej Pupykin pkgname=xnc pkgver=5.0.4 pkgrel=7 pkgdesc="X nortern captain file manager" arch=(i686 x86_64 'mips64el') 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) source=(ftp://ftp.archlinux.org/other/community/xnc/xnc-$pkgver.src.tar.gz xnc-gcc44.patch libpng15.patch) md5sums=('62446cdfdf5730f125fb351a658c0bd3' 'c0037a081824bca691e59a4ec68b6686' '7159af1c645fda860f0e5057100651ad') build() { cd "$srcdir/$pkgname-$pkgver" patch -p1 <$srcdir/xnc-gcc44.patch patch -p1 <$srcdir/libpng15.patch ./configure --prefix=/usr --mandir=/usr/share/man --build=$CHOST make } package() { cd "$srcdir/$pkgname-$pkgver" make DESTDIR="$pkgdir" install }