diff options
author | Marat Moustafine | 2017-01-29 18:29:13 +0300 |
---|---|---|
committer | Marat Moustafine | 2017-01-29 18:29:13 +0300 |
commit | 7ceffc2837544f845d0ee5482dc1fb79f4da6a3e (patch) | |
tree | e019574ed2cb3adc5af30507562e98f8b132fb48 | |
parent | 6694b14f8a368be5465e00367c22a8aaffa4fb4f (diff) | |
download | aur-7ceffc2837544f845d0ee5482dc1fb79f4da6a3e.tar.gz |
Update version
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 6 | ||||
-rw-r--r-- | pvs-studio.install | 2 |
3 files changed, 7 insertions, 7 deletions
@@ -1,6 +1,6 @@ pkgbase = pvs-studio pkgdesc = Static code analyzer for C, C++ and C# - pkgver = 6.12.20591.1 + pkgver = 6.13.20904.1 pkgrel = 1 url = http://www.viva64.com/en/pvs-studio install = pvs-studio.install @@ -10,8 +10,8 @@ pkgbase = pvs-studio depends = qemu-headless-arch-extra optdepends = how-to-use-pvs-studio-free: for adding special comments to a source code options = !strip - source = http://files.viva64.com/pvs-studio-6.12.20591.1-x86_64.tgz - sha256sums = 9ceb8d10f3236020be01d7ba815f610a08ee70f969d842f64394d9a191679073 + source = http://files.viva64.com/pvs-studio-6.13.20904.1-x86_64.tgz + sha256sums = 85b0404d2b7a96dc0fb95820a3250e8820e22b95570d2c6f56907a92f6ca7243 source_i686 = pvs-studio.binfmt.d sha256sums_i686 = fd7b1f7b48aa84205c1c0f60f630f1a33504e0e4904c5b0e8ae2477494899c97 @@ -1,7 +1,7 @@ # Maintainer: Marat Moustafine <moustafine-@t-tuta-d.t-io> pkgname=pvs-studio -pkgver=6.12.20591.1 +pkgver=6.13.20904.1 pkgrel=1 pkgdesc='Static code analyzer for C, C++ and C#' arch=('i686' 'x86_64') @@ -13,11 +13,11 @@ options=('!strip') install=$pkgname.install source=(http://files.viva64.com/$pkgname-$pkgver-${arch[1]}.tgz) source_i686=($pkgname.binfmt.d) -sha256sums=('9ceb8d10f3236020be01d7ba815f610a08ee70f969d842f64394d9a191679073') +sha256sums=('85b0404d2b7a96dc0fb95820a3250e8820e22b95570d2c6f56907a92f6ca7243') sha256sums_i686=('fd7b1f7b48aa84205c1c0f60f630f1a33504e0e4904c5b0e8ae2477494899c97') package() { - if [ $CARCH == i686 ]; then + if [ $CARCH == ${arch[0]} ]; then install -Dm644 $pkgname.binfmt.d $pkgdir/usr/lib/binfmt.d/$pkgname.conf fi diff --git a/pvs-studio.install b/pvs-studio.install index 94d424006eb2..a9e06d0737da 100644 --- a/pvs-studio.install +++ b/pvs-studio.install @@ -9,7 +9,7 @@ post_upgrade() { } post_remove() { - if [ -f /proc/sys/fs/binfmt_misc/pvs-studio ]; then + if [ $(uname -m) == i686 ] && [ -f /proc/sys/fs/binfmt_misc/pvs-studio ]; then echo -1 > /proc/sys/fs/binfmt_misc/pvs-studio fi } |