[arch-commits] Commit in libelfin/repos/community-x86_64 (4 files)

Anatol Pomozov anatolik at archlinux.org
Wed Dec 18 18:13:14 UTC 2019


    Date: Wednesday, December 18, 2019 @ 18:13:13
  Author: anatolik
Revision: 538044

archrelease: copy trunk to community-x86_64

Added:
  libelfin/repos/community-x86_64/PKGBUILD
    (from rev 538043, libelfin/trunk/PKGBUILD)
  libelfin/repos/community-x86_64/reproducible.patch
    (from rev 538043, libelfin/trunk/reproducible.patch)
Deleted:
  libelfin/repos/community-x86_64/PKGBUILD
  libelfin/repos/community-x86_64/reproducible.patch

--------------------+
 PKGBUILD           |   64 ++++++++++++++++++-----------------
 reproducible.patch |   92 +++++++++++++++++++++++++--------------------------
 2 files changed, 80 insertions(+), 76 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2019-12-18 18:12:36 UTC (rev 538043)
+++ PKGBUILD	2019-12-18 18:13:13 UTC (rev 538044)
@@ -1,30 +0,0 @@
-# Maintainer: Anatol Pomozov <anatol.pomozov at gmail>
-
-pkgname=libelfin
-pkgver=0.3
-pkgrel=1
-pkgdesc='C++11 ELF/DWARF parser'
-arch=(x86_64)
-url='https://github.com/aclements/libelfin'
-license=(MIT)
-depends=(gcc-libs)
-makedepends=(python)
-source=(libelfin-$pkgver.zip::https://github.com/aclements/libelfin/archive/v$pkgver.zip
-        reproducible.patch)
-sha256sums=('e85c9edd583a59a08b97c34e5f385162fb32135cd09977aaefbc1bbcac9d51e7'
-            '152a7eab55b4de3cefa0020066ff82bdbc307a695bfe8362d4d8055cbbf654d8')
-
-prepare() {
-  cd libelfin-$pkgver
-  patch -p1 < ../reproducible.patch
-}
-
-build() {
-  cd libelfin-$pkgver
-  VER=$pkgver make
-}
-
-package() {
-  cd libelfin-$pkgver
-  VER=$pkgver PREFIX=$pkgdir/usr make install
-}

Copied: libelfin/repos/community-x86_64/PKGBUILD (from rev 538043, libelfin/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2019-12-18 18:13:13 UTC (rev 538044)
@@ -0,0 +1,34 @@
+# Maintainer: Anatol Pomozov <anatol.pomozov at gmail>
+
+pkgname=libelfin
+pkgver=0.3
+pkgrel=2
+pkgdesc='C++11 ELF/DWARF parser'
+arch=(x86_64)
+url='https://github.com/aclements/libelfin'
+license=(MIT)
+depends=(gcc-libs)
+makedepends=(python)
+source=(libelfin-$pkgver.zip::https://github.com/aclements/libelfin/archive/v$pkgver.zip
+	make_prefix.patch::https://github.com/aclements/libelfin/commit/6e26e3bb6feeb851d87c74c9cd39a2374b9bab0a.patch
+        reproducible.patch)
+sha256sums=('e85c9edd583a59a08b97c34e5f385162fb32135cd09977aaefbc1bbcac9d51e7'
+            '9f6ed990971de640c9e1dd2c1b79b973915d53e5b330a367aee3f93d2cf18ed4'
+            '152a7eab55b4de3cefa0020066ff82bdbc307a695bfe8362d4d8055cbbf654d8')
+
+prepare() {
+  cd libelfin-$pkgver
+  patch -p1 < ../reproducible.patch
+
+  patch -p1 < ../make_prefix.patch # https://github.com/aclements/libelfin/pull/42
+}
+
+build() {
+  cd libelfin-$pkgver
+  VER=$pkgver make
+}
+
+package() {
+  cd libelfin-$pkgver
+  VER=$pkgver PREFIX=/usr DESTDIR="$pkgdir" make install
+}

Deleted: reproducible.patch
===================================================================
--- reproducible.patch	2019-12-18 18:12:36 UTC (rev 538043)
+++ reproducible.patch	2019-12-18 18:13:13 UTC (rev 538044)
@@ -1,46 +0,0 @@
-diff --git a/Makefile b/Makefile
-index 30c8a14..c3311a2 100644
---- a/Makefile
-+++ b/Makefile
-@@ -1,3 +1,5 @@
-+export
-+
- all:
- 	$(MAKE) -C elf
- 	$(MAKE) -C dwarf
-diff --git a/dwarf/Makefile b/dwarf/Makefile
-index 71456bd..707b412 100644
---- a/dwarf/Makefile
-+++ b/dwarf/Makefile
-@@ -43,14 +43,13 @@ CLEAN += libdwarf++.so
- # Create pkg-config for local library and headers. This will be
- # transformed in to the correct global pkg-config by install.
- libdwarf++.pc: always
--	@(VER=$$(git describe --match 'v*' | sed -e s/^v//); \
--	  echo "libdir=$$PWD"; \
-+	  @(echo "libdir=$$PWD"; \
- 	  echo "includedir=$$PWD"; \
- 	  echo ""; \
- 	  echo "Name: libdwarf++"; \
- 	  echo "Description: C++11 DWARF library"; \
--	  echo "Version: $$VER"; \
--	  echo "Requires: libelf++ = $$VER"; \
-+	  echo "Version: $(VER)"; \
-+	  echo "Requires: libelf++ = $(VER)"; \
- 	  echo "Libs: -L\$${libdir} -ldwarf++"; \
- 	  echo "Cflags: -I\$${includedir}") > $@
- CLEAN += libdwarf++.pc
-diff --git a/elf/Makefile b/elf/Makefile
-index 9c7c224..42061b7 100644
---- a/elf/Makefile
-+++ b/elf/Makefile
-@@ -42,8 +42,7 @@ CLEAN += libelf++.so
- # Create pkg-config for local library and headers. This will be
- # transformed in to the correct global pkg-config by install.
- libelf++.pc: always
--	@(VER=$$(git describe --match 'v*' | sed -e s/^v//); \
--	  echo "libdir=$$PWD"; \
-+	  @(echo "libdir=$$PWD"; \
- 	  echo "includedir=$$PWD"; \
- 	  echo ""; \
- 	  echo "Name: libelf++"; \

Copied: libelfin/repos/community-x86_64/reproducible.patch (from rev 538043, libelfin/trunk/reproducible.patch)
===================================================================
--- reproducible.patch	                        (rev 0)
+++ reproducible.patch	2019-12-18 18:13:13 UTC (rev 538044)
@@ -0,0 +1,46 @@
+diff --git a/Makefile b/Makefile
+index 30c8a14..c3311a2 100644
+--- a/Makefile
++++ b/Makefile
+@@ -1,3 +1,5 @@
++export
++
+ all:
+ 	$(MAKE) -C elf
+ 	$(MAKE) -C dwarf
+diff --git a/dwarf/Makefile b/dwarf/Makefile
+index 71456bd..707b412 100644
+--- a/dwarf/Makefile
++++ b/dwarf/Makefile
+@@ -43,14 +43,13 @@ CLEAN += libdwarf++.so
+ # Create pkg-config for local library and headers. This will be
+ # transformed in to the correct global pkg-config by install.
+ libdwarf++.pc: always
+-	@(VER=$$(git describe --match 'v*' | sed -e s/^v//); \
+-	  echo "libdir=$$PWD"; \
++	  @(echo "libdir=$$PWD"; \
+ 	  echo "includedir=$$PWD"; \
+ 	  echo ""; \
+ 	  echo "Name: libdwarf++"; \
+ 	  echo "Description: C++11 DWARF library"; \
+-	  echo "Version: $$VER"; \
+-	  echo "Requires: libelf++ = $$VER"; \
++	  echo "Version: $(VER)"; \
++	  echo "Requires: libelf++ = $(VER)"; \
+ 	  echo "Libs: -L\$${libdir} -ldwarf++"; \
+ 	  echo "Cflags: -I\$${includedir}") > $@
+ CLEAN += libdwarf++.pc
+diff --git a/elf/Makefile b/elf/Makefile
+index 9c7c224..42061b7 100644
+--- a/elf/Makefile
++++ b/elf/Makefile
+@@ -42,8 +42,7 @@ CLEAN += libelf++.so
+ # Create pkg-config for local library and headers. This will be
+ # transformed in to the correct global pkg-config by install.
+ libelf++.pc: always
+-	@(VER=$$(git describe --match 'v*' | sed -e s/^v//); \
+-	  echo "libdir=$$PWD"; \
++	  @(echo "libdir=$$PWD"; \
+ 	  echo "includedir=$$PWD"; \
+ 	  echo ""; \
+ 	  echo "Name: libelf++"; \



More information about the arch-commits mailing list