blob: 1b737b3d0a10fe5c67cb3755f87cf61910ba4908 (
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
|
# $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:
|