[arch-commits] Commit in keepassx2/repos (6 files)
Levente Polyak
anthraxx at archlinux.org
Thu Dec 10 17:39:18 UTC 2015
Date: Thursday, December 10, 2015 @ 18:39:17
Author: anthraxx
Revision: 152473
archrelease: copy trunk to community-i686, community-x86_64
Added:
keepassx2/repos/community-i686/
keepassx2/repos/community-i686/PKGBUILD
(from rev 152472, keepassx2/trunk/PKGBUILD)
keepassx2/repos/community-i686/keepassx2.install
(from rev 152472, keepassx2/trunk/keepassx2.install)
keepassx2/repos/community-x86_64/
keepassx2/repos/community-x86_64/PKGBUILD
(from rev 152472, keepassx2/trunk/PKGBUILD)
keepassx2/repos/community-x86_64/keepassx2.install
(from rev 152472, keepassx2/trunk/keepassx2.install)
------------------------------------+
community-i686/PKGBUILD | 48 +++++++++++++++++++++++++++++++++++
community-i686/keepassx2.install | 13 +++++++++
community-x86_64/PKGBUILD | 48 +++++++++++++++++++++++++++++++++++
community-x86_64/keepassx2.install | 13 +++++++++
4 files changed, 122 insertions(+)
Copied: keepassx2/repos/community-i686/PKGBUILD (from rev 152472, keepassx2/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD (rev 0)
+++ community-i686/PKGBUILD 2015-12-10 17:39:17 UTC (rev 152473)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Michael Laß <bevan at bi-co.net>
+# Contributor: Marat "Morion" Talipov <morion.self at gmail.com>
+
+pkgname=keepassx2
+pkgver=2.0
+pkgrel=2
+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')
+makedepends=('intltool' 'cmake' 'optipng')
+options=('!emptydirs')
+install=keepassx2.install
+source=(https://www.keepassx.org/releases/${pkgver}/keepassx-${pkgver}.tar.gz{,.sig})
+sha512sums=('6c8b8ee6a22cab5da5f262b281ed914e9cce99607312124b068a3386d9da560a3584acea4ce1be6700e40087febcc269273ab67ea472b99e6d3f75048d164788'
+ 'SKIP')
+validpgpkeys=('164C70512F7929476764AB56FE22C6FD83135D45') # Felix Geyer <felix at fobos.de>
+
+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)(\.desktop\|\.xml)|\12\2|g' -i share/CMakeLists.txt
+ rename 'keepassx' 'keepassx2' share/linux/keepassx.{desktop,xml}
+ find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
+build() {
+ cd keepassx-${pkgver}/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+check() {
+ cd keepassx-${pkgver}/build
+ make test
+}
+
+package() {
+ cd keepassx-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: keepassx2/repos/community-i686/keepassx2.install (from rev 152472, keepassx2/trunk/keepassx2.install)
===================================================================
--- community-i686/keepassx2.install (rev 0)
+++ community-i686/keepassx2.install 2015-12-10 17:39:17 UTC (rev 152473)
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
Copied: keepassx2/repos/community-x86_64/PKGBUILD (from rev 152472, keepassx2/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD (rev 0)
+++ community-x86_64/PKGBUILD 2015-12-10 17:39:17 UTC (rev 152473)
@@ -0,0 +1,48 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Michael Laß <bevan at bi-co.net>
+# Contributor: Marat "Morion" Talipov <morion.self at gmail.com>
+
+pkgname=keepassx2
+pkgver=2.0
+pkgrel=2
+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')
+makedepends=('intltool' 'cmake' 'optipng')
+options=('!emptydirs')
+install=keepassx2.install
+source=(https://www.keepassx.org/releases/${pkgver}/keepassx-${pkgver}.tar.gz{,.sig})
+sha512sums=('6c8b8ee6a22cab5da5f262b281ed914e9cce99607312124b068a3386d9da560a3584acea4ce1be6700e40087febcc269273ab67ea472b99e6d3f75048d164788'
+ 'SKIP')
+validpgpkeys=('164C70512F7929476764AB56FE22C6FD83135D45') # Felix Geyer <felix at fobos.de>
+
+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)(\.desktop\|\.xml)|\12\2|g' -i share/CMakeLists.txt
+ rename 'keepassx' 'keepassx2' share/linux/keepassx.{desktop,xml}
+ find -name '*.png' -exec optipng -quiet -force -fix {} \;
+}
+
+build() {
+ cd keepassx-${pkgver}/build
+ cmake -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=/usr/lib \
+ -DCMAKE_BUILD_TYPE=Release ..
+ make
+}
+
+check() {
+ cd keepassx-${pkgver}/build
+ make test
+}
+
+package() {
+ cd keepassx-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+}
+
+# vim: ts=2 sw=2 et:
Copied: keepassx2/repos/community-x86_64/keepassx2.install (from rev 152472, keepassx2/trunk/keepassx2.install)
===================================================================
--- community-x86_64/keepassx2.install (rev 0)
+++ community-x86_64/keepassx2.install 2015-12-10 17:39:17 UTC (rev 152473)
@@ -0,0 +1,13 @@
+post_install() {
+ update-desktop-database -q
+ update-mime-database usr/share/mime &> /dev/null
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+}
+
+post_upgrade() {
+ post_install
+}
+
+post_remove() {
+ post_install
+}
More information about the arch-commits
mailing list