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

Levente Polyak anthraxx at archlinux.org
Thu Dec 10 22:21:15 UTC 2015


    Date: Thursday, December 10, 2015 @ 23:21:15
  Author: anthraxx
Revision: 152771

upgpkg: keepassx2 2.0-3

upgpkg: keepassx2 2.0-3

Modified:
  keepassx2/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2015-12-10 22:00:11 UTC (rev 152770)
+++ PKGBUILD	2015-12-10 22:21:15 UTC (rev 152771)
@@ -4,12 +4,12 @@
 
 pkgname=keepassx2
 pkgver=2.0
-pkgrel=2
+pkgrel=3
 pkgdesc="Cross platform password manager"
 url="https://www.keepassx.org"
 arch=('i686' 'x86_64')
 license=('GPL2' 'GPL3')
-depends=('libxtst' 'qt4' 'shared-mime-info' 'xdg-utils')
+depends=('libxtst' 'qt4' 'shared-mime-info')
 makedepends=('intltool' 'cmake' 'optipng')
 options=('!emptydirs')
 install=keepassx2.install
@@ -21,8 +21,9 @@
 prepare() {
   cd keepassx-${pkgver}
   mkdir build
-  sed -r 's|([kK]ee[pP]ass[xX])|\12|g' -i CMakeLists.txt share/linux/keepassx.desktop
+  sed -r 's|(keepassx)|\12|g' -i CMakeLists.txt share/linux/keepassx.desktop
   sed -r 's|(keepassx)(\.desktop\|\.xml)|\12\2|g' -i share/CMakeLists.txt
+  sed -r 's|(KeePassX)|\1 2|g' -i share/linux/keepassx.desktop
   rename 'keepassx' 'keepassx2' share/linux/keepassx.{desktop,xml}
   find -name '*.png' -exec optipng -quiet -force -fix {} \;
 }
@@ -43,6 +44,7 @@
 package() {
   cd keepassx-${pkgver}/build
   make DESTDIR="${pkgdir}" install
+  rename 'keepassx' 'keepassx2' "${pkgdir}"/usr/share/icons/hicolor/*/*/keepassx.png
 }
 
 # vim: ts=2 sw=2 et:



More information about the arch-commits mailing list