mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2026-05-06 04:46:42 +02:00
community/certbot: modernize
This commit is contained in:
parent
5e1e4689a1
commit
b2aaa90db4
@ -27,10 +27,8 @@ makedepends="python3-dev"
|
||||
replaces="letsencrypt"
|
||||
subpackages="py3-acme:acme $pkgname-nginx $pkgname-apache $pkgname-postfix"
|
||||
source="certbot-$pkgver.tar.gz::https://github.com/certbot/certbot/archive/v$pkgver.tar.gz"
|
||||
builddir="$srcdir"/$pkgname-$pkgver
|
||||
|
||||
build() {
|
||||
cd "$builddir"
|
||||
local i
|
||||
for i in . $subpackages; do
|
||||
cd "$builddir"/${i##*:}
|
||||
@ -39,7 +37,6 @@ build() {
|
||||
}
|
||||
|
||||
check() {
|
||||
cd "$builddir"
|
||||
local i
|
||||
for i in . $subpackages; do
|
||||
cd "$builddir"/${i##*:}
|
||||
@ -48,7 +45,6 @@ check() {
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$builddir"
|
||||
python3 setup.py install --prefix=/usr --root="$pkgdir"
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user