blob: f5dddf5e1d8e555b518344bed2d4e9abb101fbf4 (
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
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
|
#Maintainer: aksr <aksr at t-com dot me>
pkgname=smatch-git
pkgver=1.60.r997.g6f737e1f
pkgrel=1
pkgdesc="A static analysis tool for C."
arch=('i686' 'x86_64')
url="http://smatch.sourceforge.net/"
license=('custom: OSL')
groups=()
depends=()
makedepends=('git' 'llvm')
provides=('smatch')
conflicts=('smatch')
replaces=()
backup=()
options=()
install=
source=("$pkgname::git+git://repo.or.cz/smatch.git"
LICENSE)
noextract=()
md5sums=('SKIP'
'6aab00ce8d50d27993f0e2a32bbb0242')
sha1sums=('SKIP'
'287b284f25f6d6f3088dab4d4cdd05c2dc97749f')
sha256sums=('SKIP'
'a9c38cad3d913dcdca3f1977c6df416985bd42344d5360d2948c326cc272effd')
pkgver() {
cd "$srcdir/$pkgname"
git describe --tags | sed -E 's/([^-]*-g)/r\1/;s/-/./g'
}
build() {
cd "$srcdir/$pkgname"
make
}
check() {
cd "$srcdir/$pkgname"
make -k check
}
package() {
cd "$srcdir/$pkgname"
make INSTALL_PREFIX="$pkgdir/usr" install
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|