blob: 95e65eeeabb8463aef8aa15c2ac389fcca4f0425 (
plain)
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
29
|
# Maintainer GI_Jack <GI_Jack@hackermail.com>
# Contributer: Paul Taylor <bao7uo at gmail dot com>
# Contributer: BlackArch
pkgname='python-bs4'
_pkgname='bs4'
pkgver='0.0.1'
pkgrel=2
pkgdesc='Beautiful Soup. bs4 name required by CrackMapExec trunk'
arch=('any')
url='https://pypi.python.org/pypi/bs4/'
license=('custom:unknown')
depends=('python' 'python-beautifulsoup4')
makedepends=('python-setuptools')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('36ecea1fd7cc5c0c6e4a1ff075df26d50da647b75376626cc186e2212886dd3a')
build() {
cd "$srcdir/${_pkgname}-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/${_pkgname}-$pkgver"
python setup.py install --prefix=/usr --root="$pkgdir" --optimize=1
}
|