blob: 5270a29cbde0649f6ea1cede57d85e2c42475f4b (
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
|
# Maintainer: moetayuko <loli at yuko dot moe>
_module=browser_cookie3
pkgname=python-${_module/_/-}
pkgver=0.20.1
pkgrel=2
pkgdesc="Loads cookies used by your web browser into a cookiejar object"
url="https://github.com/borisbabic/browser_cookie3"
depends=('python-lz4' 'python-pycryptodomex' 'python-jeepney')
makedepends=('python-setuptools' 'python-build' 'python-installer' 'python-wheel')
license=('MIT')
arch=('any')
source=("$_module-$pkgver.tar.gz::$url/archive/refs/tags/$pkgver.tar.gz")
sha256sums=('1ac710ae32aa9732f685a76a916a7004be5c0df619c129c29b7858d193b70e6b')
build() {
cd $srcdir/$_module-$pkgver
python -m build --wheel --no-isolation
}
package() {
cd $srcdir/$_module-$pkgver
python -m installer --destdir="$pkgdir" dist/*.whl
install -Dm644 LICENSE $pkgdir/usr/share/licenses/$pkgname/LICENSE
}
|