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

Jerome Leclanche jleclanche at archlinux.org
Thu Apr 16 14:41:50 UTC 2020


    Date: Thursday, April 16, 2020 @ 14:41:49
  Author: jleclanche
Revision: 615332

upgpkg: gnucobol 3.0rc1-1: Upstream release 3.0rc1

Modified:
  gnucobol/trunk/PKGBUILD

----------+
 PKGBUILD |    7 ++++---
 1 file changed, 4 insertions(+), 3 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-04-16 14:36:38 UTC (rev 615331)
+++ PKGBUILD	2020-04-16 14:41:49 UTC (rev 615332)
@@ -1,5 +1,6 @@
 pkgname=gnucobol
 pkgver=3.0rc1
+_tarver="3.0-rc1"
 pkgdesc="The open source GNU COBOL compiler"
 pkgrel=1
 arch=("i686" "x86_64")
@@ -8,11 +9,11 @@
 depends=("db" "gmp")
 makedepends=("gcc" "help2man")
 options=("!libtool")
-source=("$pkgname-$pkgver.tar.xz"::"http://sourceforge.net/projects/open-cobol/files/$pkgname/3.0/$pkgname-3.0-rc1.tar.xz")
+source=("$pkgname-$pkgver.tar.xz"::"http://sourceforge.net/projects/open-cobol/files/$pkgname/3.0/$pkgname-$_tarver.tar.xz")
 sha256sums=("bf76441ee7f8dc9aeb78291231f32273eafc4ec827f26840846a257a04bbc594")
 
 build() {
-	cd "$srcdir/$pkgname-$pkgver"
+	cd "$srcdir/$pkgname-$_tarver"
 
 	./configure --prefix=/usr --infodir=/usr/share/info
 	make
@@ -19,7 +20,7 @@
 }
 
 package() {
-	cd "$srcdir/$pkgname-$pkgver"
+	cd "$srcdir/$pkgname-$_tarver"
 	make DESTDIR="$pkgdir" install
 }
 


More information about the arch-commits mailing list