diff options
author | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
---|---|---|
committer | root <root@rshg054.dnsready.net> | 2013-07-19 01:10:32 -0700 |
commit | 8fbc0076a4827ddc6af92e0b9daa4c4c31450808 (patch) | |
tree | 03fd0e2921ebd53228d9a93e32ed3976b636cbea /community/nomacs | |
parent | e445a313723389ba9ee1fded025c567dae5b21ea (diff) |
Fri Jul 19 01:09:18 PDT 2013
Diffstat (limited to 'community/nomacs')
-rw-r--r-- | community/nomacs/PKGBUILD | 30 | ||||
-rw-r--r-- | community/nomacs/nomacs.install | 11 |
2 files changed, 41 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: diff --git a/community/nomacs/nomacs.install b/community/nomacs/nomacs.install new file mode 100644 index 000000000..e111ef946 --- /dev/null +++ b/community/nomacs/nomacs.install @@ -0,0 +1,11 @@ +post_install() { + update-desktop-database -q +} + +post_upgrade() { + post_install +} + +post_remove() { + post_install +} |