summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 64198b274a72c0b85265159e053aa7681fdd70d1 (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
33
# Maintainer: Ainola
# Contributor: jfranco
# Contributor: George Rawlinson

pkgname=plasma5-applets-plasma-pass-git
pkgver=r52.049822b
pkgrel=1
pkgdesc='Plasma applet for pass'
url="https://cgit.kde.org/scratch/dvratil/plasma-pass.git"
arch=('x86_64')
license=('GPL2')
depends=('pass' 'plasma-framework' 'kitemmodels')
makedepends=('extra-cmake-modules' 'git')
provides=('plasma5-applets-plasma-pass')
conflicts=('plasma5-applets-plasma-pass')
source=("git+https://anongit.kde.org/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
}