summaryrefslogtreecommitdiff
path: root/community/xnc/PKGBUILD
blob: 0f3d3e5b7137dbe99a02cc5dba2c339711fc90df (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
30
31
32
33
# $Id: PKGBUILD 90115 2013-05-06 19:40:24Z foutrelis $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>

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

package() {
  cd "$srcdir/$pkgname-$pkgver"
  make DESTDIR="$pkgdir" install
}