General code cleanup

This commit is contained in:
etorres4 2022-03-17 23:04:05 -07:00
parent 4cdb37e41b
commit 18763a8085

View File

@ -17,17 +17,17 @@ source=("${pkgname}::git+file:///home/etorres/Projects/packaging-scripts")
sha256sums=('SKIP') sha256sums=('SKIP')
build() { build() {
cd "$srcdir" cd $srcdir/$pkgname
python setup.py build python setup.py build
} }
check() { check() {
cd "$srcdir" cd $srcdir/$pkgname
python -m unittest python -m unittest
} }
package() { package() {
cd "$srcdir" cd $srcdir/$pkgname
python setup.py install --root="$pkgdir/" --optimize=1 --skip-build python setup.py install --root="$pkgdir/" --optimize=1 --skip-build