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

Caleb Maclennan alerque at gemini.archlinux.org
Sat Jan 22 19:57:42 UTC 2022


    Date: Saturday, January 22, 2022 @ 19:57:42
  Author: alerque
Revision: 1113482

upgpkg: remake 4.3+dbg1.6-1

Modified:
  remake/trunk/PKGBUILD

----------+
 PKGBUILD |   19 ++++++++++---------
 1 file changed, 10 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2022-01-22 19:56:57 UTC (rev 1113481)
+++ PKGBUILD	2022-01-22 19:57:42 UTC (rev 1113482)
@@ -1,9 +1,9 @@
-# Maintainer: Baptiste Jonglez <baptiste--aur at jonglez dot org>
-# Based on extra/make
+# Maintainer: Caleb Maclennan <caleb at alerque.com>
+# Contributor: Baptiste Jonglez <baptiste--aur at jonglez dot org>
 
 pkgname=remake
-_remakever="dbg-1.5"
-pkgver=4.3+dbg1.5
+_remakever=dbg-1.6
+pkgver=4.3+${_remakever/-/}
 pkgrel=1
 pkgdesc="Enhanced GNU Make - tracing, error reporting, debugging, profiling and more"
 arch=('x86_64')
@@ -10,16 +10,17 @@
 url="http://bashdb.sourceforge.net/remake/"
 license=('GPL3')
 depends=('glibc' 'guile')
-source=("https://sourceforge.net/projects/bashdb/files/remake/4.3%2B${_remakever}/remake-4.3%2B${_remakever}.tar.gz")
-sha256sums=('2e6eb709f3e6b85893f14f15e34b4c9b754aceaef0b92bb6ca3a025f10119d76')
+_archive="$pkgname-${pkgver%+*}+$_remakever"
+source=("https://sourceforge.net/projects/bashdb/files/remake/4.3%2B${_remakever}/$_archive.tar.gz")
+sha256sums=('f6a0c6179cd92524ad5dd04787477c0cd45afb5822d977be93d083b810647b87')
 
 prepare() {
-  cd "${pkgname}-4.3+${_remakever}"
+  cd "$_archive"
   autoreconf -fi
 }
 
 build() {
-  cd "${pkgname}-4.3+${_remakever}"
+  cd "$_archive"
   CFLAGS+=' -fcommon' # https://wiki.gentoo.org/wiki/Gcc_10_porting_notes/fno_common
   ./configure --prefix=/usr
   make
@@ -26,7 +27,7 @@
 }
 
 package() {
-  cd "${pkgname}-4.3+${_remakever}"
+  cd "$_archive"
   make DESTDIR="${pkgdir}" install
   rm "$pkgdir"/usr/share/info/make.info{,-1,-2}
 }



More information about the arch-commits mailing list