diff options
author | STommydx | 2019-02-17 02:54:56 +0800 |
---|---|---|
committer | STommydx | 2019-02-17 02:54:56 +0800 |
commit | ba4e62db8b76cb40204bd3b864fa13b66cbbd15d (patch) | |
tree | 82898ab41d86baa944043b6209a687e716673231 /PKGBUILD | |
download | aur-ba4e62db8b76cb40204bd3b864fa13b66cbbd15d.tar.gz |
Initial commit
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..4c44e935977a --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,32 @@ +# Maintainer: Tommy Li <ttoo74@gmail.com> +pkgname=python-certipy +_name=${pkgname#python-} +pkgver=0.1.2 +pkgrel=1 +pkgdesc="A simple python tool for creating certificate authorities and certificates on the fly" +arch=(any) +url="https://github.com/LLNL/certipy" +license=('BSD') +depends=("python" "python-pyopenssl") +makedepends=("python-pypandoc") +checkdepends=() +optdepends=() +options=() +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('3461c5ff28eda977185132d4c6d4393989c7dd996ba8c780b07b9b4e679d455a') + +prepare() { + # fix permission error + chmod -R u+rwX,go+rX,go-w "$_name-$pkgver" +} + +build() { + cd "$_name-$pkgver" + python setup.py build +} + +package() { + cd "$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 --skip-build +} + |