summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorPeter Mattern2016-06-28 00:25:40 +0200
committerPeter Mattern2016-06-28 00:26:25 +0200
commitcde886b9d176d7315cd191191adb1fb56ace68b3 (patch)
tree78eb31e8e4f968ace15ff4d7188396bdf5074f0b
parent019d364a66b552428bc085f30632c48ac7ac9d1c (diff)
downloadaur-cde886b9d176d7315cd191191adb1fb56ace68b3.tar.gz
Use pacman hook instead of install scriptlet
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD17
-rw-r--r--nomacs-git.install11
3 files changed, 10 insertions, 23 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 5dc6f50053d..adac6fd4e41 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,11 +1,10 @@
# Generated by mksrcinfo v8
-# Mon Apr 25 13:58:44 UTC 2016
+# Mon Jun 27 22:26:14 UTC 2016
pkgbase = nomacs-git
pkgdesc = Free, open source image viewer, which supports multiple platforms.
- pkgver = 3.0.0.233.gc4e8903
+ pkgver = 3.2.0.50.g6e79e97
pkgrel = 1
url = http://nomacs.org
- install = nomacs-git.install
arch = i686
arch = x86_64
license = GPL3
diff --git a/PKGBUILD b/PKGBUILD
index e37fcc2650a..ddb9a9c188b 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,17 +2,16 @@
_pkgname=nomacs
pkgname=$_pkgname-git
-pkgver=3.0.0.233.gc4e8903
+pkgver=3.2.0.50.g6e79e97
pkgrel=1
-pkgdesc="Free, open source image viewer, which supports multiple platforms."
-arch=("i686" "x86_64")
-url="http://nomacs.org"
-license=("GPL3")
-depends=("qt5-svg" "exiv2" "libraw" "opencv" "desktop-file-utils")
-makedepends=("git" "cmake" "qt5-tools")
+pkgdesc='Free, open source image viewer, which supports multiple platforms.'
+arch=('i686' 'x86_64')
+url='http://nomacs.org'
+license=('GPL3')
+depends=('qt5-svg' 'exiv2' 'libraw' 'opencv' 'desktop-file-utils')
+makedepends=('git' 'cmake' 'qt5-tools')
provides=("$_pkgname")
conflicts=("$_pkgname")
-install="$pkgname.install"
source=("git+https://github.com/$_pkgname/$_pkgname.git")
sha256sums=("SKIP")
@@ -22,7 +21,7 @@ pkgver() {
}
build() {
- mkdir -p build
+ rm -Rf build && mkdir build
cd build
cmake "$srcdir/$_pkgname/ImageLounge" \
-DCMAKE_INSTALL_PREFIX=/usr
diff --git a/nomacs-git.install b/nomacs-git.install
deleted file mode 100644
index df3df28afe3..00000000000
--- a/nomacs-git.install
+++ /dev/null
@@ -1,11 +0,0 @@
-post_install() {
- update-desktop-database
-}
-
-post_upgrade() {
- post_install
-}
-
-post_remove() {
- post_install
-}