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

Andreas Radke andyrtr at archlinux.org
Fri Apr 6 08:56:09 UTC 2018


    Date: Friday, April 6, 2018 @ 08:56:08
  Author: andyrtr
Revision: 321264

upgpkg: libreoffice-still-i18n 5.4.6-2

fix language replaces FS#58135

Modified:
  libreoffice-still-i18n/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-04-06 08:29:01 UTC (rev 321263)
+++ PKGBUILD	2018-04-06 08:56:08 UTC (rev 321264)
@@ -5,7 +5,7 @@
 pkgbase=libreoffice-still-i18n
 
 pkgver=5.4.6
-pkgrel=1
+pkgrel=2
 _rcver=${pkgver}.2
 #_oodlver=${pkgver}.0.beta1
 _oodlver=${pkgver}
@@ -511,6 +511,9 @@
   depends=('libreoffice-still')
   provides=("libreoffice-$1")
   conflicts=("libreoffice-$1")
+  if [[ $1 != ${1,,} ]]; then
+    replaces=(libreoffice-still-$1)
+  fi
 
   cd "$srcdir"/LibreOffice_${_rcver}_Linux_x86_rpm_langpack_$1/RPMS
   mkdir -p "$pkgdir"/usr/lib/libreoffice
@@ -523,9 +526,6 @@
   _locale="${_langa[0]}"
   _helppack="${_langa[2]}"
   _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