From cc14f0ae9f7b15ffbbd4f00f826918b1a2a0f7c7 Mon Sep 17 00:00:00 2001 From: Christoph Reiter Date: Sat, 27 Jul 2024 19:01:43 +0200 Subject: [PATCH] automake1.17: don't use the version in the package name The version will change in the future, while the "1.17" will stay the same for files and the package name. --- automake1.17/PKGBUILD | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/automake1.17/PKGBUILD b/automake1.17/PKGBUILD index bb0f89e1..3e6700a5 100644 --- a/automake1.17/PKGBUILD +++ b/automake1.17/PKGBUILD @@ -1,7 +1,8 @@ # Maintainer: Yang Kun +_basever=1.17 +pkgname=automake${_basever} pkgver=1.17 -pkgname=automake${pkgver} pkgrel=1 pkgdesc="A GNU tool for automatically creating Makefiles" arch=('any') @@ -86,5 +87,5 @@ package() { rm -rf ${pkgdir}/usr/share/doc # install the versioned info files - install -Dm644 ${srcdir}/automake-${pkgver}/doc/*${pkgver}.info* -t ${pkgdir}/usr/share/info/ + install -Dm644 ${srcdir}/automake-${pkgver}/doc/*${_basever}.info* -t ${pkgdir}/usr/share/info/ }