From 0c235c929c04d0d9268b8afd211bba0abd36ad04 Mon Sep 17 00:00:00 2001 From: demostanis Date: Fri, 23 Oct 2020 11:50:25 +0200 Subject: Added sums to PKGBUILD --- PKGBUILD/python-archinstall/PKGBUILD | 22 +++++++++++++++------- 1 file changed, 15 insertions(+), 7 deletions(-) diff --git a/PKGBUILD/python-archinstall/PKGBUILD b/PKGBUILD/python-archinstall/PKGBUILD index 6fa0f044..50ae9ac9 100644 --- a/PKGBUILD/python-archinstall/PKGBUILD +++ b/PKGBUILD/python-archinstall/PKGBUILD @@ -1,26 +1,34 @@ -# Maintainer: Anton Hvornum anton@hvornum.se -# Contributor: Anton Hvornum anton@hvornum.se +# Maintainer: Anton Hvornum +# Contributor: demostanis worlds + pkgname="python-archinstall" pkgver="2.0.5" 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}") -md5sums=('SKIP') arch=('x86_64') -source=("${pkgname}-v${pkgver}-x86_64.tar.gz::https://github.com/Torxed/archinstall/archive/v$pkgver.tar.gz") depends=('python>=3.8') -optdepends=('pyttsx3: Adds text-to-speach support for log/screen output.') +makedepends=('python-setuptools') +optdepends=('pyttsx3: Adds text-to-speech support for log/screen output.') +md5sums=('a23ec87d901d9dc28a8a36dd7427200f') build() { cd "archinstall-${pkgver}" - python3 setup.py build + python setup.py build } package() { cd "archinstall-${pkgver}" - python setup.py install --prefix=/usr --root="${pkgdir}" --optimize=1 + python setup.py install \ + --prefix=/usr \ + --root="${pkgdir}" \ + --optimize=1 } + +# vim:ft=sh + -- cgit v1.2.3-70-g09d2