# Maintainer: exponential # Contributor: Daniel M. Capella (AUR) _name=fake-useragent pkgname=python3-fake-useragent-bullseye pkgver=0.1.13 pkgrel=0 pkgdesc='Up to date simple useragent faker with real world database (version for bullseye)' arch=('all') url=https://github.com/fake-useragent/fake-useragent license=('Apache') provides=('python3-fake-useragent') conflicts=('python3-fake-useragent') depends=('python3') makedepends=('python3-setuptools') source=("$pkgname-$pkgver.tar.gz::https://github.com/fake-useragent/fake-useragent/archive/refs/tags/$pkgver.tar.gz") b2sums=('8f1a68612353beb7449fb6efddb19649ebcdab8114d1844769ff930ae4350343fa1d10de373899daf7661deba54004bcb20627701a247a10b91af8fce494830b') build() { cd $_name-$pkgver python3 setup.py build } package() { cd $_name-$pkgver python3 setup.py install --root="$pkgdir" --optimize=1 --skip-build --install-layout deb install -Dm644 "LICENSE" "$pkgdir/usr/share/doc/$pkgname/license" install -Dm644 "README.md" "$pkgdir/usr/share/doc/$pkgname/readme" } # vim:set ts=2 sw=2 et: