summaryrefslogtreecommitdiff
path: root/community/nomacs/PKGBUILD
diff options
context:
space:
mode:
Diffstat (limited to 'community/nomacs/PKGBUILD')
-rw-r--r--community/nomacs/PKGBUILD18
1 files changed, 11 insertions, 7 deletions
diff --git a/community/nomacs/PKGBUILD b/community/nomacs/PKGBUILD
index 2d68c1826..ce73fca29 100644
--- a/community/nomacs/PKGBUILD
+++ b/community/nomacs/PKGBUILD
@@ -1,8 +1,8 @@
-# $Id: PKGBUILD 98765 2013-10-17 21:51:03Z speps $
+# $Id: PKGBUILD 102808 2013-12-20 19:30:50Z speps $
# Maintainer: speps <speps at aur dot archlinux dot org>
pkgname=nomacs
-pkgver=1.6.0.2
+pkgver=1.6.2
pkgrel=1
pkgdesc="A Qt image viewer"
arch=(i686 x86_64)
@@ -11,19 +11,23 @@ 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=('a5556ca94053eec9539c11454f633316')
+source=("http://downloads.sourceforge.net/project/$pkgname/$pkgname-$pkgver/$pkgname-$pkgver-source.tar.bz2")
+md5sums=('3e8782b7bf792933ba673a2e9340841b')
+
+prepare() {
+ cd $pkgname-$pkgver
+ [ -d b ] || mkdir b
+}
build() {
- cd "$srcdir/$pkgname-$pkgver"
- [ -d bld ] || mkdir bld && cd bld
+ cd $pkgname-$pkgver/b
cmake .. -DCMAKE_INSTALL_PREFIX=/usr \
-DQT_QMAKE_EXECUTABLE=/usr/bin/qmake-qt4
make
}
package() {
- cd "$srcdir/$pkgname-$pkgver/bld"
+ cd $pkgname-$pkgver/b
make DESTDIR="$pkgdir/" install
}