summaryrefslogtreecommitdiff
path: root/community/xnc/PKGBUILD
blob: 74b6a4f1180ebdf251a91ef3ec4ef750a02ec058 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
# $Id: PKGBUILD 63790 2012-02-05 12:15:33Z ibiru $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

pkgname=xnc
pkgver=5.0.4
pkgrel=6
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
  make DESTDIR="$pkgdir" install
}