[arch-commits] Commit in nomacs/trunk (PKGBUILD nomacs.install)
Antonio Rojas
arojas at archlinux.org
Sun Aug 7 11:28:55 UTC 2016
Date: Sunday, August 7, 2016 @ 11:28:55
Author: arojas
Revision: 185852
Hooks rebuild, update to 3.4
Modified:
nomacs/trunk/PKGBUILD
Deleted:
nomacs/trunk/nomacs.install
----------------+
PKGBUILD | 25 ++++++++++---------------
nomacs.install | 11 -----------
2 files changed, 10 insertions(+), 26 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2016-08-07 11:16:40 UTC (rev 185851)
+++ PKGBUILD 2016-08-07 11:28:55 UTC (rev 185852)
@@ -2,35 +2,30 @@
# Maintainer: speps <speps at aur dot archlinux dot org>
pkgname=nomacs
-pkgver=3.0.0
-pkgrel=2
+pkgver=3.4
+_pluginver=3ff8f79305beabcdf0e2418868fe99f1abe26b7e
+pkgrel=1
pkgdesc="A Qt image viewer"
arch=(i686 x86_64)
url="http://www.nomacs.org/"
license=('GPL3')
#depends=('qt4' 'exiv2' 'libraw' 'opencv')
-depends=('qt5-svg' 'exiv2' 'libraw' 'opencv' 'desktop-file-utils')
+depends=('qt5-svg' 'exiv2' 'libraw' 'opencv')
makedepends=('cmake' 'qt5-tools')
-install="$pkgname.install"
-source=("https://github.com/nomacs/nomacs/releases/download/$pkgver/nomacs-$pkgver-source.tar.bz2"
- "https://github.com/nomacs/nomacs-plugins/archive/207cb0f5fb13907bf1ccf3549ad72768841cec63.zip"
- nomacs-opencv3.patch)
-md5sums=('e1630a4371d0e0f8aba9358ab20d43e5'
- 'bbe351379e24c51e691b390a9c867719'
- '0b51fcf4de8ee1debd1b8fadef2dd11d')
+source=("$pkgname-$pkgver::https://github.com/nomacs/nomacs/archive/$pkgver.tar.gz"
+ "https://github.com/nomacs/nomacs-plugins/archive/$_pluginver.zip")
+md5sums=('5f1a6586f51cebd01cb2ab71b38de649'
+ '0b3451952d30633de6f4abd17ad388b9')
prepare() {
- mv nomacs-plugins-207cb0f5fb13907bf1ccf3549ad72768841cec63 $pkgname-$pkgver/plugins
+ mv nomacs-plugins-$_pluginver $pkgname-$pkgver/ImageLounge/plugins
cd $pkgname-$pkgver
[ -d b ] || mkdir b
-
-# Fix opencv 3 detection (Gentoo)
- patch -p2 -i ../nomacs-opencv3.patch
}
build() {
cd $pkgname-$pkgver/b
- cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+ cmake ../ImageLounge -DCMAKE_INSTALL_PREFIX=/usr
make -j1
}
Deleted: nomacs.install
===================================================================
--- nomacs.install 2016-08-07 11:16:40 UTC (rev 185851)
+++ nomacs.install 2016-08-07 11:28:55 UTC (rev 185852)
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database -q
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}
More information about the arch-commits
mailing list