[arch-commits] Commit in libdwarf/repos/community-x86_64 (PKGBUILD PKGBUILD)
Massimiliano Torromeo
mtorromeo at gemini.archlinux.org
Tue Dec 28 11:47:33 UTC 2021
Date: Tuesday, December 28, 2021 @ 11:47:33
Author: mtorromeo
Revision: 1085582
archrelease: copy trunk to community-x86_64
Added:
libdwarf/repos/community-x86_64/PKGBUILD
(from rev 1085581, libdwarf/trunk/PKGBUILD)
Deleted:
libdwarf/repos/community-x86_64/PKGBUILD
----------+
PKGBUILD | 82 +++++++++++++++++++++++++++++++------------------------------
1 file changed, 42 insertions(+), 40 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2021-12-28 11:47:18 UTC (rev 1085581)
+++ PKGBUILD 2021-12-28 11:47:33 UTC (rev 1085582)
@@ -1,40 +0,0 @@
-# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
-# Contributor: Alain Kalker <a.c.kalker at gmail.com>
-# Contributor: Marti Raudsepp <marti at juffo.org>
-
-pkgname=libdwarf
-pkgver=20210528
-pkgrel=1
-pkgdesc="A library for handling DWARF Debugging Information Format"
-arch=(x86_64)
-license=('GPL' 'LGPL')
-url="https://www.prevanders.net/dwarf.html"
-depends=('elfutils')
-provides=('libdwarf.so')
-options+=('staticlibs')
-#_commit="245262d6ccaeed17f7564c31b78da2d4df1a3ee0"
-#source=(https://sourceforge.net/code-snapshots/git/l/li/libdwarf/code.git/libdwarf-code-$_commit.zip)
-source=(https://www.prevanders.net/libdwarf-$pkgver.tar.gz)
-sha512sums=('e0f9c88554053ee6c1b1333960891189e7820c4a4ddc302b7e63754a4cdcfc2acb1b4b6083a722d1204a75e994fff3401ecc251b8c3b24090f8cb4046d90f870')
-
-build() {
- cd "$srcdir"/libdwarf-$pkgver
- # cd "$srcdir"/libdwarf-code-$_commit
- ./configure --prefix=/usr --includedir=/usr/include/libdwarf --enable-shared
- make
-}
-
-# check() {
-# cd "$srcdir"/libdwarf-$pkgver
-# # cd "$srcdir"/libdwarf-code-$_commit
-# make check
-# }
-
-package() {
- cd "$srcdir"/libdwarf-$pkgver
- # cd "$srcdir"/libdwarf-code-$_commit
- make DESTDIR="$pkgdir" install
-
- install -dm755 "$pkgdir"/usr/share/doc/$pkgname
- install -m644 README NEWS "$pkgdir"/usr/share/doc/$pkgname/
-}
Copied: libdwarf/repos/community-x86_64/PKGBUILD (from rev 1085581, libdwarf/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2021-12-28 11:47:33 UTC (rev 1085582)
@@ -0,0 +1,42 @@
+# Maintainer: Massimiliano Torromeo <massimiliano.torromeo at gmail.com>
+# Contributor: Alain Kalker <a.c.kalker at gmail.com>
+# Contributor: Marti Raudsepp <marti at juffo.org>
+
+pkgname=libdwarf
+epoch=1
+pkgver=0.3.1
+pkgrel=1
+pkgdesc="A library for handling DWARF Debugging Information Format"
+arch=(x86_64)
+license=('GPL' 'LGPL')
+url="https://www.prevanders.net/dwarf.html"
+depends=('elfutils')
+provides=('libdwarf.so')
+options+=('staticlibs')
+#_commit="245262d6ccaeed17f7564c31b78da2d4df1a3ee0"
+#source=(https://sourceforge.net/code-snapshots/git/l/li/libdwarf/code.git/libdwarf-code-$_commit.zip)
+source=(https://www.prevanders.net/libdwarf-$pkgver.tar.xz)
+sha512sums=('dd82174bcb36c32be564be747898ef09aaaa5ecc84d211bac725edf9ba55008b3942452d6684da79a320289986b45e164bbeefb5a07658daf473b143dfe40f2b')
+
+build() {
+ cd "$srcdir"/libdwarf-$pkgver
+ # cd "$srcdir"/libdwarf-code-$_commit
+ CFLAGS+=" -ffat-lto-objects"
+ ./configure --prefix=/usr --includedir=/usr/include/libdwarf --enable-shared
+ make
+}
+
+check() {
+ cd "$srcdir"/libdwarf-$pkgver
+ # cd "$srcdir"/libdwarf-code-$_commit
+ make check
+}
+
+package() {
+ cd "$srcdir"/libdwarf-$pkgver
+ # cd "$srcdir"/libdwarf-code-$_commit
+ make DESTDIR="$pkgdir" install
+
+ install -dm755 "$pkgdir"/usr/share/doc/$pkgname
+ install -m644 README NEWS "$pkgdir"/usr/share/doc/$pkgname/
+}
More information about the arch-commits
mailing list