[arch-commits] Commit in sparse/repos (2 files)
Evangelos Foutras
foutrelis at gemini.archlinux.org
Wed Jun 22 23:04:52 UTC 2022
Date: Wednesday, June 22, 2022 @ 23:04:52
Author: foutrelis
Revision: 1239198
archrelease: copy trunk to community-staging-x86_64
Added:
sparse/repos/community-staging-x86_64/
sparse/repos/community-staging-x86_64/PKGBUILD
(from rev 1239197, sparse/trunk/PKGBUILD)
----------+
PKGBUILD | 48 ++++++++++++++++++++++++++++++++++++++++++++++++
1 file changed, 48 insertions(+)
Copied: sparse/repos/community-staging-x86_64/PKGBUILD (from rev 1239197, sparse/trunk/PKGBUILD)
===================================================================
--- community-staging-x86_64/PKGBUILD (rev 0)
+++ community-staging-x86_64/PKGBUILD 2022-06-22 23:04:52 UTC (rev 1239198)
@@ -0,0 +1,48 @@
+# Maintainer: George Rawlinson <grawlinson at archlinux.org>
+# Contributor: Omar Sandoval <osandov AT osandov DOT com>
+# Contributor: Bartłomiej Piotrowski <bpiotrowski AT archlinux.org>
+# Contributor: Dan McGee <dpmcgee AT gmail.com>
+
+pkgname=sparse
+pkgver=0.6.4
+pkgrel=3
+pkgdesc='Semantic parser for C'
+arch=('x86_64')
+url='http://sparse.wiki.kernel.org/'
+license=('MIT')
+depends=(
+ 'perl'
+ 'libxml2'
+ 'sqlite'
+)
+makedepends=(
+ 'git'
+ 'llvm'
+ 'gtk3'
+)
+optdepends=('gtk3: for test-inspect')
+_commit='c4706aa764f3ae68258ba60be6325a5662900362'
+source=("git+https://git.kernel.org/pub/scm/devel/sparse/sparse.git#commit=$_commit")
+b2sums=('SKIP')
+
+pkgver() {
+ cd sparse
+
+ git describe --tags | sed 's/^v//'
+}
+
+build() {
+ make -C sparse
+}
+
+check() {
+ make -C sparse check
+}
+
+package() {
+ cd sparse
+
+ make PREFIX=/usr DESTDIR="$pkgdir" install
+
+ install -vDm644 -t "$pkgdir/usr/share/licenses/$pkgname" LICENSE
+}
More information about the arch-commits
mailing list