[arch-commits] Commit in sparse/repos (community-x86_64 community-x86_64/PKGBUILD)

George Rawlinson grawlinson at gemini.archlinux.org
Sat Apr 9 21:07:36 UTC 2022


    Date: Saturday, April 9, 2022 @ 21:07:36
  Author: grawlinson
Revision: 1183182

archrelease: copy trunk to community-x86_64

Added:
  sparse/repos/community-x86_64/
  sparse/repos/community-x86_64/PKGBUILD
    (from rev 1183181, sparse/trunk/PKGBUILD)

----------+
 PKGBUILD |   48 ++++++++++++++++++++++++++++++++++++++++++++++++
 1 file changed, 48 insertions(+)

Copied: sparse/repos/community-x86_64/PKGBUILD (from rev 1183181, sparse/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2022-04-09 21:07:36 UTC (rev 1183182)
@@ -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=2
+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