summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a393587f1b9a96e5fc8bd91114c4d237b7956966 (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
35
36
37
38
# Maintainer: Karol Babioch <karol@babioch.de

pkgname=otca-git
pkgver=1.r2.1dd2522
pkgrel=2
pkgdesc="otca is a script supporting you in quickly setting up a simple public-key infrastructure."
arch=('any')
url="https://github.com/kbabioch/otca/"
license=('GPL3')
depends=('openssl')
makedepends=('git')
provides=('otca')
conflicts=('otca')
backup=('etc/otca/otca.cnf')
source=('git+https://github.com/kbabioch/otca.git')
sha256sums=('SKIP')

pkgver() {

    cd "$srcdir/otca"
    git describe --long | sed 's/^v//;s/\([^-]*-\)g/r\1/;s/-/./g'

}

build() {

    #make
    :

}

package() {

    cd "$srcdir/otca"
    make DESTDIR="$pkgdir/" install

}