# Maintainer: Anton Hvornum # Contributor: demostanis worlds pkgname="python-archinstall" pkgver="2.1.1" pkgdesc="Installs ${pkgname} as a python library." pkgrel=1 url="https://github.com/Torxed/archinstall" source=("${pkgname}-v${pkgver}-x86_64.tar.gz::https://github.com/Torxed/archinstall/archive/v$pkgver.tar.gz") license=('GPLv3') provides=("${pkgname}") arch=('x86_64') depends=('python>=3.8') makedepends=('python-setuptools') optdepends=('pyttsx3: Adds text-to-speech support for log/screen output.') sha256sums=('53c00f7e7ad245cd2cbbf041b5a735df2fc29454c24b1d369f678cc0610b7cea') build() { cd "archinstall-${pkgver}" python setup.py build } package() { cd "archinstall-${pkgver}" python setup.py install \ --prefix=/usr \ --root="${pkgdir}" \ --optimize=1 } # vim:ft=sh