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

Alexander Rødseth arodseth at archlinux.org
Fri Nov 29 10:56:41 UTC 2019


    Date: Friday, November 29, 2019 @ 10:56:41
  Author: arodseth
Revision: 534342

upgpkg: elfkickers 3.1.a-1

Modified:
  elfkickers/trunk/PKGBUILD

----------+
 PKGBUILD |   12 ++++++------
 1 file changed, 6 insertions(+), 6 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-11-29 10:38:36 UTC (rev 534341)
+++ PKGBUILD	2019-11-29 10:56:41 UTC (rev 534342)
@@ -2,7 +2,7 @@
 # Contributor: Mikko Sysikaski <mikko.sysikaski at gmail.com>
 
 pkgname=elfkickers
-pkgver=3.1a
+pkgver=3.1.a
 pkgrel=1
 pkgdesc='Collection of ELF utilities (includes sstrip)'
 arch=(x86_64)
@@ -9,23 +9,23 @@
 url='https://www.muppetlabs.com/~breadbox/software/elfkickers.html'
 license=(GPL)
 makedepends=(setconf)
-source=("https://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-$pkgver.tar.gz")
+source=("https://www.muppetlabs.com/~breadbox/pub/software/ELFkickers-${pkgver/.a/a}.tar.gz")
 sha256sums=('06430880aaf4919c5f99fc629da7000347421668c2cf32bced2d401aac276508')
 
 prepare() {
   for tool in elftoc objres; do
-    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"
+    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"
   done
 }
 
 build() {
-  make -C ELFkickers-$pkgver -j1
+  make -C ELFkickers-${pkgver/.a/a} -j1
 }
 
 package() {
   install -d "$pkgdir/usr/"{bin,share/man/man1}
-  make -C ELFkickers-$pkgver prefix="$pkgdir/usr" install -j1
+  make -C ELFkickers-${pkgver/.a/a} prefix="$pkgdir/usr" install -j1
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list