initial import
This commit is contained in:
28
certbot-nginx/PKGBUILD
Normal file
28
certbot-nginx/PKGBUILD
Normal file
@@ -0,0 +1,28 @@
|
||||
# Maintainer: Jesus E. <heckyel@riseup.net>
|
||||
|
||||
pkgname=certbot-nginx
|
||||
pkgver=2.11.0
|
||||
pkgrel=1
|
||||
pkgdesc="Nginx plugin for Certbot"
|
||||
arch=('any')
|
||||
license=('Apache-2.0')
|
||||
url='https://pypi.python.org/pypi/certbot-nginx'
|
||||
depends=('certbot' 'python-acme' 'python-mock' 'python-pyopenssl' 'python-pyparsing'
|
||||
'python-setuptools' 'python-zope-interface')
|
||||
source=("${pkgname}-${pkgver}.tar.gz::https://github.com/certbot/certbot/releases/download/v${pkgver}/certbot_nginx-${pkgver}.tar.gz")
|
||||
sha512sums=('974613df76a6d242496a11f10175b6ef9607e5aded5e730103895a41138af055cd6f5643407e2e5ce19659278e6b1e80c6d90ce33feec069a6f6f255260f8cee')
|
||||
|
||||
prepare() {
|
||||
mv "certbot_nginx-$pkgver" "$pkgname-$pkgver"
|
||||
}
|
||||
|
||||
build() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
python setup.py build
|
||||
}
|
||||
|
||||
package() {
|
||||
cd "$srcdir/$pkgname-$pkgver"
|
||||
python setup.py install --root="$pkgdir"
|
||||
install -Dm644 LICENSE.txt -t "$pkgdir/usr/share/licenses/$pkgname"
|
||||
}
|
||||
Reference in New Issue
Block a user