summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD22
-rw-r--r--passwordmanager.install8
3 files changed, 21 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 55d39506116..8cacf59751a 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,12 +1,15 @@
+# Generated by mksrcinfo v8
+# Sun Dec 27 22:05:21 UTC 2015
pkgbase = passwordmanager
pkgdesc = A simple password store using AES-256-CBC encryption via OpenSSL.
- pkgver = 2.0.9
+ pkgver = 2.1.0
pkgrel = 1
url = https://github.com/Martchus/passwordmanager
install = passwordmanager.install
arch = i686
arch = x86_64
license = GPL
+ makedepends = cmake
makedepends = qt5-tools
depends = qt5-base
depends = qtutilities
@@ -15,8 +18,8 @@ pkgbase = passwordmanager
depends = libxkbcommon-x11
depends = desktop-file-utils
depends = xdg-utils
- source = passwordmanager-2.0.9.tar.gz::https://github.com/Martchus/passwordmanager/archive/v2.0.9.tar.gz
- sha256sums = a6086f9dd394064368dd0098f01be163bccd6aa00e7c093f5a2cbf1b5951c176
+ source = passwordmanager-2.1.0.tar.gz::https://github.com/Martchus/passwordmanager/archive/v2.1.0.tar.gz
+ sha256sums = 85b436cf43d1bc9cd83ef1f756d85870b3c066aa1103ef290a364ed0c642e907
pkgname = passwordmanager
diff --git a/PKGBUILD b/PKGBUILD
index c254ff5f78e..3db1cafeb5e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,25 +1,25 @@
# Maintainer: Martchus <martchus@gmx.net>
+_reponame=passwordmanager
pkgname=passwordmanager
-pkgver=2.0.9
+pkgver=2.1.0
pkgrel=1
arch=('i686' 'x86_64')
pkgdesc="A simple password store using AES-256-CBC encryption via OpenSSL."
license=('GPL')
depends=('qt5-base' 'qtutilities' 'passwordfile' 'openssl' 'libxkbcommon-x11' 'desktop-file-utils' 'xdg-utils')
-makedepends=('qt5-tools')
+makedepends=('cmake' 'qt5-tools')
install=${pkgname}.install
-url="https://github.com/Martchus/passwordmanager"
-source=("passwordmanager-${pkgver}.tar.gz::https://github.com/Martchus/passwordmanager/archive/v${pkgver}.tar.gz")
-_reponame=passwordmanager
-sha256sums=('a6086f9dd394064368dd0098f01be163bccd6aa00e7c093f5a2cbf1b5951c176')
+url="https://github.com/Martchus/${_reponame}"
+source=("passwordmanager-${pkgver}.tar.gz::https://github.com/Martchus/${_reponame}/archive/v${pkgver}.tar.gz")
+sha256sums=('85b436cf43d1bc9cd83ef1f756d85870b3c066aa1103ef290a364ed0c642e907')
build() {
- cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
- INSTALL_ROOT=$pkgdir/usr/ qmake-qt5 "$pkgname.pro"
- make
+ cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
+ cmake -DCMAKE_BUILD_TYPE=Release -DCMAKE_INSTALL_PREFIX="${pkgdir}/usr"
+ make
}
package() {
- cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
- make install
+ cd "$srcdir/${PROJECT_DIR_NAME:-$_reponame-$pkgver}"
+ make install
}
diff --git a/passwordmanager.install b/passwordmanager.install
index 5495fb1b5d2..5c501dc4991 100644
--- a/passwordmanager.install
+++ b/passwordmanager.install
@@ -1,12 +1,12 @@
post_install() {
- xdg-icon-resource forceupdate --theme hicolor &> /dev/null
- update-desktop-database -q
+ xdg-icon-resource forceupdate --theme hicolor &> /dev/null
+ update-desktop-database -q
}
post_upgrade() {
- post_install
+ post_install
}
post_remove() {
- post_install
+ post_install
}