blob: d08e6bc614adbeb7f1a8db20d559f47a5f4134c5 (
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
|
# Maintainer: Shane Blackthorne <arch@blackthorne.dev>
pkgname=lexy
pkgver=0.1.0
pkgrel=1
pkgdesc="A CLI tool to fetch tutorials from Learn X in Y Minutes"
arch=('x86_64')
url="https://github.com/antoniorodr/lexy"
license=('MIT')
depends=('bat' 'python>=3.13' 'python-beautifulsoup4' 'python-click' 'python-requests' 'python-typer' )
makedepends=('git' 'python-build' 'python-installer' 'python-wheel' 'python-setuptools')
source=("$pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz")
sha256sums=('SKIP')
build() {
cd $pkgname-$pkgver || exit
msg2 "Building package..."
python -m build --wheel --no-isolation
}
package() {
cd $pkgname-$pkgver || exit
msg2 "Installing package..."
python -m installer --destdir="$pkgdir" dist/*.whl
}
|