diff options
author | Peter Mattern | 2016-06-28 00:25:40 +0200 |
---|---|---|
committer | Peter Mattern | 2016-06-28 00:26:25 +0200 |
commit | cde886b9d176d7315cd191191adb1fb56ace68b3 (patch) | |
tree | 78eb31e8e4f968ace15ff4d7188396bdf5074f0b | |
parent | 019d364a66b552428bc085f30632c48ac7ac9d1c (diff) | |
download | aur-cde886b9d176d7315cd191191adb1fb56ace68b3.tar.gz |
Use pacman hook instead of install scriptlet
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 17 | ||||
-rw-r--r-- | nomacs-git.install | 11 |
3 files changed, 10 insertions, 23 deletions
@@ -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 @@ -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 df3df28afe33..000000000000 --- a/nomacs-git.install +++ /dev/null @@ -1,11 +0,0 @@ -post_install() { - update-desktop-database -} - -post_upgrade() { - post_install -} - -post_remove() { - post_install -} |