blob: 4fc357c8a0bb332432927d147dc717b86b020cd1 (
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: Debucquoy Anthony (tonitch) <d.tonitch@gmail.com>
pkgname=python-textual_imageview
_name=${pkgname#python-}
pkgver=0.1.1
pkgrel=1
pkgdesc="A simple terminal-based image viewer."
url="https://github.com/adamviola/textual-imageview"
license=('MIT')
arch=('any')
depends=('python' 'python-pillow' 'python-rich' 'python-textual')
makedepends=('python-build' 'python-installer' 'python-setuptools' 'python-setuptools-scm' 'python-wheel')
source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name//-/_}/${_name//-/_}-$pkgver.tar.gz")
build() {
cd "$_name-$pkgver"
python -m build --wheel --no-isolation
}
package() {
cd "$_name-$pkgver"
python -m installer --destdir="$pkgdir/" dist/*.whl
}
sha256sums=('4299d8ed677db0adb8fe945687470cf1421dcafd2a5dddab54b6ee8ef2ab3320')
|