mirror of
https://gitlab.alpinelinux.org/alpine/aports.git
synced 2025-04-12 23:06:40 +02:00
32 lines
1.1 KiB
Text
32 lines
1.1 KiB
Text
maintainer="Hugo Osvaldo Barrera <hugo@whynothugo.nl>"
|
|
pkgname=subdl
|
|
pkgver=0_git20230616
|
|
_commit=da2398546c33da1665dbc2d985b30d959c6f5a0c
|
|
pkgrel=1
|
|
pkgdesc="Command-line tool for downloading subtitles from opensubtitles.org"
|
|
url="https://github.com/alexanderwink/subdl"
|
|
arch="noarch"
|
|
license="GPL-3.0-or-later"
|
|
makedepends="py3-setuptools py3-wheel py3-gpep517 py3-installer"
|
|
subpackages="$pkgname-pyc"
|
|
source="https://github.com/alexanderwink/subdl/archive/$_commit.tar.gz
|
|
0001-Remove-bogus-empty-package.patch
|
|
"
|
|
builddir="$srcdir/$pkgname-$_commit/"
|
|
options="!check" # no tests
|
|
|
|
build() {
|
|
gpep517 build-wheel \
|
|
--wheel-dir dist \
|
|
--output-fd 3 3>&1 >&2
|
|
}
|
|
|
|
package() {
|
|
python3 -m installer -d "$pkgdir" \
|
|
dist/subdl-*-py3-none-any.whl
|
|
}
|
|
|
|
sha512sums="
|
|
d0cb8b970dc10356fa4279fa8beaea819eb128e5c7b2f4160535e357ce37e926b7edb57e1508dd3dd13b1e15accc1e89010c298d9363c4b121a9ecba8fda1f14 da2398546c33da1665dbc2d985b30d959c6f5a0c.tar.gz
|
|
f99839e94522334dd73ba83e396cc5012d8be30abbd477924113b3f6d2f15c8470d0d6d713627a1e47e4fcc1df2d55645dab3ae96c3172cf299ede37f4a69bce 0001-Remove-bogus-empty-package.patch
|
|
"
|