summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: ea7aedd479432904e49d872ce1c41243bdd5667d (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
34
# Maintainer: Robert Schiele <rschiele@gmail.com>

pkgname=git-incrypt-git
pkgver=0.9.0.r3.gcb554a2
pkgrel=1
pkgdesc="A git remote helper to encrypt git repositories incrementally"
arch=('any')
url="https://github.com/schiele/git-incrypt/"
license=('GPL2')
depends=('git' 'python-pygit2' 'gnupg')
makedepends=('asciidoc' 'xmlto' 'python-pylint' 'python-pycodestyle' 'man')
source=("git+https://github.com/schiele/git-incrypt.git")
sha256sums=('SKIP')

pkgver() {
    cd git-incrypt
    git describe --long --abbrev=7 | sed 's/^v//;s/\([^-]*-g\)/r\1/;s/-/./g'
}

build() {
    cd git-incrypt
    make clean
    make
}

check() {
    cd git-incrypt
    make test
}

package() {
    cd git-incrypt
    make PKGNAME:="$pkgname" DESTDIR:="$pkgdir" install
}