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

Sven-Hendrik Haase svenstaro at archlinux.org
Sun May 13 20:58:52 UTC 2018


    Date: Sunday, May 13, 2018 @ 20:58:51
  Author: svenstaro
Revision: 321684

archrelease: copy trunk to community-x86_64

Added:
  kcov/repos/community-x86_64/PKGBUILD
    (from rev 321683, kcov/trunk/PKGBUILD)
Deleted:
  kcov/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   75 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 37 insertions(+), 38 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2018-05-13 20:58:37 UTC (rev 321683)
+++ PKGBUILD	2018-05-13 20:58:51 UTC (rev 321684)
@@ -1,38 +0,0 @@
-# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
-# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
-
-pkgname=kcov
-pkgver=34
-pkgrel=1
-pkgdesc="Code coverage tester for compiled programs, Python scripts and shell scripts"
-arch=('i686' 'x86_64')
-url="http://simonkagstrom.github.com/kcov/index.html"
-license=('GPL2')
-depends=('elfutils' 'curl')
-makedepends=('cmake' 'python2')
-source=("https://github.com/SimonKagstrom/kcov/archive/v${pkgver}.tar.gz")
-sha512sums=('63ea8e47f00e53b55be4c37697a7f0b78c15f887a40fc0679d7e92f1561bd379a526a82179ee243838fe6f6bd5b89c9eb76716cdb5add7bfb0f312176422a346')
-
-build() {
-  cd $pkgname-$pkgver
-
-  sed -i 's/env python$/env python2/' src/bin-to-c-source.py
-  sed -i 's/env python$/env python2/' src/engines/python-helper.py
-
-
-  mkdir -p build && cd build
-  # Strip --as-needed, because dl is linked before dw,
-  # but is actually used by dw, so we can't strip it before
-  export LDFLAGS="${LDFLAGS/--as-needed,/}"
-  cmake -DCMAKE_INSTALL_PREFIX=/usr DCMAKE_C_FLAGS="-ldl -D__FOO_BAR_BAZ__" ..
-  make
-}
-
-package() {
-  cd $pkgname-$pkgver/build
-
-  make DESTDIR="$pkgdir/" install
-  make clean
-}
-
-# vim:set ts=2 sw=2 et:

Copied: kcov/repos/community-x86_64/PKGBUILD (from rev 321683, kcov/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2018-05-13 20:58:51 UTC (rev 321684)
@@ -0,0 +1,37 @@
+# Maintainer: Sven-Hendrik Haase <sh at lutzhaase.com>
+# Contributor: Jan-Erik Rediger <badboy at archlinux dot us>
+
+pkgname=kcov
+pkgver=35
+pkgrel=1
+pkgdesc="Code coverage tester for compiled programs, Python scripts and shell scripts"
+arch=('x86_64')
+url="http://simonkagstrom.github.com/kcov/index.html"
+license=('GPL2')
+depends=('elfutils' 'curl')
+makedepends=('cmake' 'python')
+source=("https://github.com/SimonKagstrom/kcov/archive/v${pkgver}.tar.gz")
+sha512sums=('a9e04b782eb8444ee4d13be3ceed8a0edd68f0ec3b0e01535730b5d5590e43dbe3fd6485d03df9a57ec6ba9c0440b3208b47dc29e2175816bfe7112004df9fb3')
+
+prepare() {
+  cd $pkgname-$pkgver
+
+  rm -rf build
+  mkdir -p build
+}
+
+build() {
+  cd $pkgname-$pkgver/build
+
+  cmake .. -DCMAKE_INSTALL_PREFIX=/usr
+  make
+}
+
+package() {
+  cd $pkgname-$pkgver/build
+
+  make DESTDIR="$pkgdir/" install
+  make clean
+}
+
+# vim:set ts=2 sw=2 et:



More information about the arch-commits mailing list