summaryrefslogtreecommitdiff
path: root/community/nomacs/PKGBUILD
diff options
context:
space:
mode:
authorNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
committerNicolás Reynolds <fauno@endefensadelsl.org>2013-12-27 23:55:53 +0000
commit65eeff79fff8a1bfdf67ca51d147384f46f4d5c0 (patch)
treefbfdff322b28d9a3c37e6e31c94caf1d8e48dac1 /community/nomacs/PKGBUILD
parentd53c44f055929b18d7d1b25f8367ee5836c435fc (diff)
Fri Dec 27 23:54:04 UTC 2013
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
}