summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 4a1f2ec22c779decf25fc322cacdd7bfc72dbbb2 (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
25
26
27
28
29
30
31
32
# Maintainer: Ainola
# Contributor: jfranco
# Contributor: George Rawlinson

pkgname=plasma5-applets-plasma-pass-git
pkgver=r30.f0ffe06
pkgrel=1
pkgdesc='Plasma applet for pass.'
url="https://cgit.kde.org/scratch/dvratil/plasma-pass.git"
arch=('x86_64' 'i686')
license=('GPL2')
depends=('pass' 'plasma-framework' 'kitemmodels')
makedepends=('extra-cmake-modules' 'git')
provides=('plasma5-applets-plasma-pass')
source=("git+https://anongit.kde.org/scratch/dvratil/plasma-pass.git")
sha256sums=('SKIP')

pkgver() {
    cd plasma-pass
    printf "r%s.%s" "$(git rev-list --count HEAD)" "$(git rev-parse --short HEAD)"
}

build() {
    mkdir -p plasma-pass/build
    cd plasma-pass/build
    cmake .. -DCMAKE_INSTALL_PREFIX=/usr
}

package(){
    cd plasma-pass/build
    make DESTDIR="$pkgdir" install
}