summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 554f6a73da7066bafea6ac1499e74784997c1dc3 (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
# Maintainer: Sam Stuewe <halosghost at archlinux dot info>

pkgname=uacme
pkgver=v1.0.17
pkgrel=2
pkgdesc='An ACMEv2 client written in plain C code with minimal dependencies'
arch=('i686' 'x86_64')
url='https://github.com/ndilieto/uacme/'
makedepends=('asciidoc')
depends=('curl' 'gnutls')
license=('GPL')
source=("https://github.com/ndilieto/$pkgname/archive/$pkgver.tar.gz")
md5sums=('41bbf128aff602a0b59d67c1e405eece') # not upstream

build() {
  cd "$pkgname-${pkgver//v/}"

  make
}

prepare() {
  cd "$pkgname-${pkgver//v/}"

  ./configure --prefix='/usr'
}

package() {
  cd "$pkgname-${pkgver//v/}"

  make DESTDIR="$pkgdir" PREFIX='/usr' install
}

# vim:set ts=2 sw=2 et: