summaryrefslogtreecommitdiff
path: root/community/xnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xnc/PKGBUILD')
-rw-r--r--community/xnc/PKGBUILD13
1 files changed, 9 insertions, 4 deletions
diff --git a/community/xnc/PKGBUILD b/community/xnc/PKGBUILD
index b26a556c6..bba6b27df 100644
--- a/community/xnc/PKGBUILD
+++ b/community/xnc/PKGBUILD
@@ -1,9 +1,9 @@
-# $Id: PKGBUILD 58678 2011-11-17 15:02:45Z spupykin $
+# $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=4
+pkgrel=6
pkgdesc="X nortern captain file manager"
arch=(i686 x86_64)
url="http://xnc.jinr.ru/"
@@ -11,13 +11,18 @@ 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=(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')
+ '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
make DESTDIR="$pkgdir" install