makedeb


python3-fake-useragent-bullseye 0.1.13-0


Up to date simple useragent faker with real world database (version for bullseye)

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for python3-fake-useragent-bullseye.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: Daniel M. Capella (AUR) <polyzen@archlinux.org>

_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: