blob: 3bf23778e1aae1015b5dac3efe4b213ceff160ef (
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
|
# Maintainer: Sefa Eyeoglu <contact@scrumplex.net>
# Contributor: Gavin Lloyd <gavinhungry@gmail.com>
_branch=master
_pkgname=acme.sh
pkgname=${_pkgname}-git
pkgver=3.0.7.r0.g377a37e4
pkgrel=1
pkgdesc='A pure Unix shell script implementing ACME client protocol'
arch=(any)
url='https://github.com/acmesh-official/acme.sh'
license=('GPL3')
makedepends=('git')
depends=('bash')
provides=($_pkgname)
conflicts=($_pkgname)
source=("${_pkgname}::git+https://github.com/acmesh-official/acme.sh.git#branch=${_branch}")
sha512sums=('SKIP')
pkgver() {
cd "$_pkgname"
git describe --long --tags | sed 's/\([^-]*-g\)/r\1/;s/-/./g'
}
package() {
cd "$_pkgname"
install -d "${pkgdir}/usr/share/acme.sh/deploy" "${pkgdir}/usr/share/acme.sh/dnsapi" "${pkgdir}/usr/bin"
install -Dm755 acme.sh "${pkgdir}/usr/share/acme.sh"
install -Dm755 deploy/*.sh "${pkgdir}/usr/share/acme.sh/deploy"
install -Dm755 dnsapi/*.sh "${pkgdir}/usr/share/acme.sh/dnsapi"
ln -s /usr/share/acme.sh/acme.sh "${pkgdir}/usr/bin/acme.sh"
}
|