summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: bf2ffc65176798bf9fa19c038e07883ce8fe02d6 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
# Maintainer: Lukas Fürmetz <fuermetz@mailbox.org>
pkgname=krunner-pass
pkgver=1.0.1
pkgrel=2
pkgdesc="A krunner plugin to retrieve a password from the password-store (https://www.passwordstore.org/)"
arch=('any')
url="https://github.com/akermu/krunner-pass"
license=('GPL')
depends=('krunner' 'qt5-base' 'ki18n')
makedepends=('cmake' 'extra-cmake-modules')
source=("https://github.com/akermu/krunner-pass/archive/v${pkgver}.tar.gz")
md5sums=("513742ab38f7378fbc73605108c07eb2")

build() {
  mkdir -p build
  cd build
  cmake ../${pkgname}-${pkgver} -DCMAKE_INSTALL_PREFIX=`kf5-config --prefix` -DQT_PLUGIN_INSTALL_DIR=`kf5-config --qt-plugins` -DCMAKE_BUILD_TYPE=Release
  make
}

package() {
  cd build
  make install DESTDIR="${pkgdir}"
}