summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
author0b1001002022-01-27 15:46:58 +0100
committer0b1001002022-01-27 15:46:58 +0100
commit0ef8adaba207bbe01683bb1b02a1768a54941e16 (patch)
treeb6efc29be8830184d8f77ff42514b37439c9c8c4 /PKGBUILD
parent3d761cf8a73f72ba1c96b008f733542b8df88bb3 (diff)
downloadaur-0ef8adaba207bbe01683bb1b02a1768a54941e16.tar.gz
Cosmetic changes
Change indentation to two spaces Append slash on destination folders
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD16
1 files changed, 9 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 5ff8cc54dd1..393c1658533 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -15,17 +15,19 @@ source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz")
sha512sums=('2b059b763a380e9fe2529a6a9621acbbd180594ea54f1310ba0a8e266373ce1b13a9138bddd8232a77f1265216e0c3d5cb45e4a0c13840929a4e99c41a83829a')
build() {
- cd $pkgname-$pkgver
- python setup.py build
+ cd "$pkgname-$pkgver"
+ python setup.py build
}
check() {
- cd $pkgname-$pkgver
- pytest
+ cd "$pkgname-$pkgver"
+ pytest
}
package() {
- cd $pkgname-$pkgver
- python setup.py install --root="$pkgdir" --optimize=1 --skip-build
- install -Dm644 LICENSE -t "$pkgdir"/usr/share/licenses/$pkgname
+ cd "$pkgname-$pkgver"
+ python setup.py install --root="$pkgdir/" --optimize=1 --skip-build
+ install -Dm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
}
+
+# vim:set ts=2 sw=2 et: