summaryrefslogtreecommitdiff
path: root/community/xnc/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/xnc/PKGBUILD')
-rw-r--r--community/xnc/PKGBUILD23
1 files changed, 23 insertions, 0 deletions
diff --git a/community/xnc/PKGBUILD b/community/xnc/PKGBUILD
new file mode 100644
index 000000000..fe520c655
--- /dev/null
+++ b/community/xnc/PKGBUILD
@@ -0,0 +1,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)
+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
+}