aboutsummaryrefslogtreecommitdiffstats
path: root/community/muacme/APKBUILD
blob: b34bab2e108d1cae542dcd855f733f1defeb6721 (plain) (blame)
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
# Contributor: Jakub Jirutka <jakub@jirutka.cz>
# Maintainer: Jakub Jirutka <jakub@jirutka.cz>
pkgname=muacme
pkgver=0.4.0
pkgrel=0
pkgdesc="A convenient wrapper for the ACMEv2 client uacme"
url="https://github.com/jirutka/muacme"
arch="noarch"
license="MIT"
depends="uacme openssl"
install="$pkgname.pre-upgrade $pkgname.post-upgrade"
options="!check"  # no tests provided
source="https://github.com/jirutka/muacme/archive/v$pkgver/$pkgname-$pkgver.tar.gz
	muacme-renew-all.crond
	"
builddir="$srcdir/$pkgname-$pkgver"

package() {
	make install DESTDIR="$pkgdir" prefix=/usr

	install -m 755 -D "$srcdir"/muacme-renew-all.crond \
		"$pkgdir"/etc/periodic/weekly/muacme-renew-all

	install -d -m 755 "$pkgdir"/etc/ssl/uacme
}

sha512sums="1d791fde1dcbc33d3d6cd2890e38a173d72e7176766ab4a2d82255bf45fbc9551c858b2d0c2ed3f4f662b7b90598ac4238f62549848385bb8d09774a29ec5d58  muacme-0.4.0.tar.gz
37082df7ebd8b6ef3f683509b6d3852c6f56bb6903a90bb12b7fa116003e539617e2863abb600ad3484bcc8f2bc537e9d1a172573e6cf73e87983050b5d623bc  muacme-renew-all.crond"