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

pkgname=getssl-git
pkgver=2.03.r0.467143b
pkgrel=1
pkgdesc='Obtain SSL certificates from the letsencrypt.org ACME server. Suitable for automating the process on remote servers.'
arch=('any')
url='https://github.com/srvrco/getssl'
license=('GPL2')
depends=('openssl' 'curl' 'bind-tools')
makedepends=('git')
provides=('getssl-git')
conflicts=('getssl')
source=("$pkgname::git+https://github.com/srvrco/getssl.git")
sha256sums=('SKIP')

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

package() {
    cd "$srcdir/$pkgname"
    make DESTDIR="$pkgdir/" install
}