[arch-commits] Commit in splint/trunk (PKGBUILD)

Sergej Pupykin spupykin at archlinux.org
Mon Jan 29 16:03:46 UTC 2018


    Date: Monday, January 29, 2018 @ 16:03:41
  Author: spupykin
Revision: 287800

upgpkg: splint 3.1.2.git20180129-1

Modified:
  splint/trunk/PKGBUILD

----------+
 PKGBUILD |   27 ++++++++++++++++-----------
 1 file changed, 16 insertions(+), 11 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-01-29 16:02:57 UTC (rev 287799)
+++ PKGBUILD	2018-01-29 16:03:41 UTC (rev 287800)
@@ -3,28 +3,33 @@
 # Contributor: William Rea <sillywilly at gmail.com>
 
 pkgname=splint
-pkgver=3.1.2
-pkgrel=4
+pkgver=3.1.2.git20180129
+pkgrel=1
+_commit=3fb908d0d8a4daa26dc770e1f2aa133f93100503
 pkgdesc="A tool for statically checking C programs for security vulnerabilities and coding mistakes"
 arch=('x86_64')
-url="http://www.splint.org/"
+url="http://repo.or.cz/splint-patched.git"
 license=('GPL')
 depends=('flex')
-source=("http://www.splint.org/downloads/${pkgname}-${pkgver}.src.tgz"
-    	'splint.sh')
-md5sums=('25f47d70bd9c8bdddf6b03de5949c4fd'
-         '0efb6341b384dc44590989fe3678c96c')
+makedepends=('git')
 options=('!makeflags')
+source=("git+https://repo.or.cz/splint-patched.git#commit=${_commit}"
+	'splint.sh')
+sha256sums=('SKIP'
+            'ea90b733037ef1ad25a0a5f39cbb33ca747dabd3b2bfd9d087f3981bc6990b61')
 
 build() {
-  cd "${srcdir}"/$pkgname-$pkgver
+  cd "${srcdir}"/splint-patched
+  automake --add-missing || true
+  autoreconf || true
+  automake --add-missing
+  autoreconf
   ./configure --prefix=/usr --mandir=/usr/share/man
-  make LDFLAGS="$LDFLAGS -lfl"
+  make -j1
 }
 
 package() {
-  cd "${srcdir}"/$pkgname-$pkgver
+  cd "${srcdir}"/splint-patched
   make DESTDIR="${pkgdir}" install
-
   install -D -m755 "${srcdir}"/splint.sh "${pkgdir}"/etc/profile.d/splint.sh
 }



More information about the arch-commits mailing list