blob: f7041dc5a2cdb85ac1fe79c04b5025c521c665f8 (
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 93593 2013-07-06 18:56:13Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>
pkgname=nomacs
pkgver=1.2.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=('0fdef67b960276375024f270dfaa4b93')
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:
|