blob: b36b1c95020869f107ce87a2c38707ff485c82b6 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
|
# Maintainer: dude <brrtsm@gmail.com>
pkgname=python2-vulndb
pkgver=0.1.0
pkgrel=1
pkgdesc="Vulnerability Database"
url='https://github.com/vulndb/python-sdk/'
arch=('any')
license=('custom:BSD-3-Clause')
depends=('python2')
makedepends=('python2-setuptools')
source=(${pkgver}.tar.gz::https://files.pythonhosted.org/packages/b6/8e/e5dc89c7d916615f44d8854d471e93965ab25282df2818d239ff8e759fed/vulndb-${pkgver}.tar.gz)
sha256sums=('8f1f5e806adeaaea3c97094bcea8b21ac90b40d5432d0dc9760796e624decf78')
package() {
cd "vulndb-${pkgver}"
python2 setup.py install --root="${pkgdir}" --optimize=1
install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
}
|