[arch-commits] Commit in keepassxc (5 files)

Balló György bgyorgy at archlinux.org
Sat Feb 18 18:27:29 UTC 2017


    Date: Saturday, February 18, 2017 @ 18:27:28
  Author: bgyorgy
Revision: 213078

archrelease: copy trunk to community-x86_64, community-i686

Added:
  keepassxc/repos/
  keepassxc/repos/community-i686/
  keepassxc/repos/community-i686/PKGBUILD
    (from rev 213077, keepassxc/trunk/PKGBUILD)
  keepassxc/repos/community-x86_64/
  keepassxc/repos/community-x86_64/PKGBUILD
    (from rev 213077, keepassxc/trunk/PKGBUILD)

---------------------------+
 community-i686/PKGBUILD   |   44 ++++++++++++++++++++++++++++++++++++++++++++
 community-x86_64/PKGBUILD |   44 ++++++++++++++++++++++++++++++++++++++++++++
 2 files changed, 88 insertions(+)

Copied: keepassxc/repos/community-i686/PKGBUILD (from rev 213077, keepassxc/trunk/PKGBUILD)
===================================================================
--- repos/community-i686/PKGBUILD	                        (rev 0)
+++ repos/community-i686/PKGBUILD	2017-02-18 18:27:28 UTC (rev 213078)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=keepassxc
+pkgver=2.1.2
+pkgrel=2
+pkgdesc="Cross-platform community-driven port of Keepass password manager"
+arch=(x86_64 i686)
+url="https://keepassxc.org/"
+license=(GPL)
+depends=(hicolor-icon-theme libxtst qt5-x11extras)
+makedepends=(cmake qt5-tools)
+source=("https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"{,.sig})
+sha256sums=('b971888746158b935a0aa267671deb7c18859707df0cf26287c9bcd25b970bc0'
+            'SKIP')
+validpgpkeys=('BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2') # KeePassXC Release <release at keepassxc.org>
+
+prepare() {
+	mkdir -p build
+}
+
+build() {
+	cd build
+	cmake ../$pkgname-$pkgver \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib \
+		-DWITH_XC_AUTOTYPE=ON \
+		-DWITH_XC_HTTP=ON
+	make
+}
+
+check() {
+	cd build
+	# Fails on i686 - https://github.com/keepassxreboot/keepassxc/issues/327
+	if [ $CARCH == x86_64 ]; then
+		make test
+	fi
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+}

Copied: keepassxc/repos/community-x86_64/PKGBUILD (from rev 213077, keepassxc/trunk/PKGBUILD)
===================================================================
--- repos/community-x86_64/PKGBUILD	                        (rev 0)
+++ repos/community-x86_64/PKGBUILD	2017-02-18 18:27:28 UTC (rev 213078)
@@ -0,0 +1,44 @@
+# $Id$
+# Maintainer: Balló György <ballogyor+arch at gmail dot com>
+
+pkgname=keepassxc
+pkgver=2.1.2
+pkgrel=2
+pkgdesc="Cross-platform community-driven port of Keepass password manager"
+arch=(x86_64 i686)
+url="https://keepassxc.org/"
+license=(GPL)
+depends=(hicolor-icon-theme libxtst qt5-x11extras)
+makedepends=(cmake qt5-tools)
+source=("https://github.com/keepassxreboot/$pkgname/releases/download/$pkgver/$pkgname-$pkgver-src.tar.xz"{,.sig})
+sha256sums=('b971888746158b935a0aa267671deb7c18859707df0cf26287c9bcd25b970bc0'
+            'SKIP')
+validpgpkeys=('BF5A669F2272CF4324C1FDA8CFB4C2166397D0D2') # KeePassXC Release <release at keepassxc.org>
+
+prepare() {
+	mkdir -p build
+}
+
+build() {
+	cd build
+	cmake ../$pkgname-$pkgver \
+		-DCMAKE_BUILD_TYPE=Release \
+		-DCMAKE_INSTALL_PREFIX=/usr \
+		-DCMAKE_INSTALL_LIBDIR=lib \
+		-DWITH_XC_AUTOTYPE=ON \
+		-DWITH_XC_HTTP=ON
+	make
+}
+
+check() {
+	cd build
+	# Fails on i686 - https://github.com/keepassxreboot/keepassxc/issues/327
+	if [ $CARCH == x86_64 ]; then
+		make test
+	fi
+}
+
+package() {
+	cd build
+	make DESTDIR="$pkgdir" install
+}



More information about the arch-commits mailing list