[arch-commits] Commit in libreoffice-still-i18n/trunk (PKGBUILD)

Andreas Radke andyrtr at archlinux.org
Wed Mar 21 15:54:22 UTC 2018


    Date: Wednesday, March 21, 2018 @ 15:54:21
  Author: andyrtr
Revision: 319755

don't use capital letters in pkgname - FS#50534

Modified:
  libreoffice-still-i18n/trunk/PKGBUILD

----------+
 PKGBUILD |    5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-03-21 14:49:59 UTC (rev 319754)
+++ PKGBUILD	2018-03-21 15:54:21 UTC (rev 319755)
@@ -522,7 +522,10 @@
   declare -a "_langa=($_lang)"
   _locale="${_langa[0]}"
   _helppack="${_langa[2]}"
-  _pkgname=libreoffice-still-$_locale
+  _pkgname=libreoffice-still-${_locale,,}
+  if [[ $_locale != ${_locale,,} ]]; then
+    replaces=libreoffice-still-$_locale
+  fi
 
   pkgname+=($_pkgname)
   source+=(${_url}/LibreOffice_${_oodlver}_Linux_x86_rpm_langpack_${_locale}.tar.gz{,.asc})



More information about the arch-commits mailing list