summaryrefslogtreecommitdiff
path: root/community/nomacs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nomacs/PKGBUILD')
-rw-r--r--community/nomacs/PKGBUILD30
1 files changed, 30 insertions, 0 deletions
diff --git a/community/nomacs/PKGBUILD b/community/nomacs/PKGBUILD
new file mode 100644
index 000000000..1b737b3d0
--- /dev/null
+++ b/community/nomacs/PKGBUILD
@@ -0,0 +1,30 @@
+# $Id: PKGBUILD 94002 2013-07-13 00:27:24Z speps $
+# Maintainer: speps <speps at aur dot archlinux dot org>
+
+pkgname=nomacs
+pkgver=1.4.0
+pkgrel=1
+pkgdesc="A Qt image viewer"
+arch=(i686 x86_64)
+url="http://www.nomacs.org/"
+license=('GPL3')
+depends=('qt4' 'exiv2' 'libraw' 'opencv')
+makedepends=('cmake')
+install="$pkgname.install"
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-source.tar.bz2")
+md5sums=('ede84986dce5f67c270bb5ff7354e867')
+
+build() {
+ cd "$srcdir/$pkgname-$pkgver"
+ [ -d bld ] || mkdir bld && cd bld
+ cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
+ -DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
+ make
+}
+
+package() {
+ cd "$srcdir/$pkgname-$pkgver/bld"
+ make DESTDIR="$pkgdir/" install
+}
+
+# vim:set ts=2 sw=2 et: