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

pkgname=getssl
pkgver=2.00
pkgrel=2
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')
source=("$pkgname::git+https://github.com/srvrco/getssl.git#tag=v$pkgver")
sha256sums=('SKIP')

package() {
    cd "$srcdir/$pkgname"

    install -Dm755 getssl "$pkgdir/usr/bin/getssl"

    install -dm755 "$pkgdir/usr/share/$pkgname"
    cp -dpr --no-preserve=ownership *_scripts "$pkgdir/usr/share/$pkgname/"
    chmod 755 -R "$pkgdir/usr/share/$pkgname/"
}