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

Alexander Rødseth arodseth at archlinux.org
Sun May 30 08:20:09 UTC 2021


    Date: Sunday, May 30, 2021 @ 08:20:09
  Author: arodseth
Revision: 950350

upgpkg: elfkickers 3.2-1

Modified:
  elfkickers/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++---------
 1 file changed, 7 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2021-05-30 08:09:54 UTC (rev 950349)
+++ PKGBUILD	2021-05-30 08:20:09 UTC (rev 950350)
@@ -2,7 +2,7 @@
 # Contributor: Mikko Sysikaski <mikko.sysikaski at gmail.com>
 
 pkgname=elfkickers
-pkgver=3.1.a
+pkgver=3.2
 pkgrel=1
 pkgdesc='Collection of ELF utilities (includes sstrip)'
 arch=(x86_64)
@@ -9,23 +9,21 @@
 url='https://www.muppetlabs.com/~breadbox/software/elfkickers.html'
 license=(GPL)
 makedepends=(setconf)
-source=("https://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-${pkgver/.a/a}.tar.gz")
-sha256sums=('06430880aaf4919c5f99fc629da7000347421668c2cf32bced2d401aac276508')
+source=("https://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-$pkgver.tar.gz")
+b2sums=('d9ed0c6a2a782e7178480436d526674661af1f625788a28c8e41b97cabb1412f083b492fd36778de17ded7d123003dde878a45af9a63cf7c1e7bff860dc3a0d1')
 
 prepare() {
   for tool in elftoc objres; do
-    setconf ELFkickers-${pkgver/.a/a}/$tool/Makefile CFLAGS "-O2 -I ../elfrw $CFLAGS -Wl,-z,relro,-z,now"
-    setconf ELFkickers-${pkgver/.a/a}/$tool/Makefile LDFLAGS "$LDFLAGS -z,relro,-z,now"
+    setconf ELFkickers-$pkgver/$tool/Makefile CFLAGS "-O2 -I ../elfrw $CFLAGS -Wl,-z,relro,-z,now"
+    setconf ELFkickers-$pkgver/$tool/Makefile LDFLAGS "$LDFLAGS -z,relro,-z,now"
   done
 }
 
 build() {
-  make -C ELFkickers-${pkgver/.a/a} -j1
+  make -C ELFkickers-$pkgver -j1
 }
 
 package() {
   install -d "$pkgdir/usr/"{bin,share/man/man1}
-  make -C ELFkickers-${pkgver/.a/a} prefix="$pkgdir/usr" install -j1
+  make -C ELFkickers-$pkgver prefix="$pkgdir/usr" install -j1
 }
-
-# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list