blob: 020ff1880cb782ed18e7e324fb493fea5da4199d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
|
pkgname=how-to-use-pvs-studio-free
pkgver=7.37
pkgrel=1
pkgdesc='An utility that adds special comments to a source code for analyzing the code by PVS-Studio for free'
arch=('x86_64')
url=https://github.com/viva64/$pkgname
license=('Apache-2.0')
depends=(
gcc-libs
glibc
)
makedepends=(cmake)
source=(
"$pkgname-$pkgver.tar.gz::$url/releases/download/$pkgver/${pkgname}_Source_code.tar.gz"
)
sha256sums=('ef8b96043518db5a7a36a1939fc8f54d47fe68200a709e503bb99380e9fefaaa')
build () {
cd $pkgname
cmake -B build -S .\
-DCMAKE_BUILD_TYPE=None \
-DCMAKE_INSTALL_PREFIX=/usr \
cmake --build build
}
package() {
cd $pkgname
DESTDIR="$pkgdir" cmake --install build
}
|