summaryrefslogtreecommitdiff
path: root/community/xnc/PKGBUILD
blob: edb37f89795b72119075353a66a524f1a660ce5e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
# $Id: PKGBUILD 8981 2010-01-23 01:17:11Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=xnc
pkgver=5.0.4
pkgrel=3
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)
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
}