summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 404e54c96230784f04a21b51df3fff9f2018b526 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Gavin Lloyd <gavinhungry@gmail.com>

pkgname=acme.sh-git
pkgver=0.1734.8aff2bd
pkgrel=2
pkgdesc='An ACME Shell script, an acme client alternative to certbot'
arch=('any')
url='https://github.com/Neilpang/acme.sh'
license=('GPL3')
makedepends=('git')
source=("${pkgname}::git+${url}.git#branch=master")
sha256sums=('SKIP')

pkgver() {
  cd "${srcdir}/${pkgname}"
  echo "0.$(git rev-list --count HEAD).$(git rev-parse --short HEAD)"
}

package() {
  mkdir -p "${pkgdir}/usr/bin"
  install -m 755 "${srcdir}/${pkgname}/acme.sh" "${pkgdir}/usr/bin/"
}