1 # Maintainer: George Rawlinson <grawlinson@archlinux.org>
2 # Contributor: Omar Sandoval <osandov AT osandov DOT com>
3 # Contributor: Bartłomiej Piotrowski <bpiotrowski AT archlinux.org>
4 # Contributor: Dan McGee <dpmcgee AT gmail.com>
9 pkgdesc='Semantic parser for C'
11 url='http://sparse.wiki.kernel.org/'
24 'llvm14-libs: for sparse-llvm'
26 'gtk3: for test-inspect'
28 _commit='c4706aa764f3ae68258ba60be6325a5662900362'
29 source=("git+https://git.kernel.org/pub/scm/devel/sparse/sparse.git#commit=$_commit"
32 'd13e86d816c0ec3244ac566057fe1830555263989471d5ecc9f6d52bf4b2b26fc7835bd4f2f0e601a903890b25e61e7fc3ee663f88c43c4fa3cfdca1789a167c')
37 git describe --tags | sed 's/^v//'
43 patch -Np1 -i ../llvm14.patch
57 make PREFIX=/usr DESTDIR="$pkgdir" install
59 install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE