diff options
author | M.Reynolds | 2017-09-17 20:33:07 -0400 |
---|---|---|
committer | M.Reynolds | 2017-09-17 20:33:07 -0400 |
commit | 2860b5e6c9084045f3710a1e4577effdcce65a1f (patch) | |
tree | ba72786e2b2cb84a7e764258ae05bfbd8a6fae69 /PKGBUILD | |
parent | 2ea91723b4d2cf25324dd0189c1c3620a68eca93 (diff) | |
download | aur-2860b5e6c9084045f3710a1e4577effdcce65a1f.tar.gz |
Change tab formatting
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 44 |
1 files changed, 22 insertions, 22 deletions
@@ -1,4 +1,4 @@ -# Maintainer: M.Reynolds <blackboxnetworkproject@gmail.com> +# Maintainer: M.Reynolds <blackboxnetworkproject@gmail.com> pkgname=thonny pkgver=2.1.11 @@ -12,25 +12,25 @@ source=("https://bitbucket.org/plas/$pkgname/downloads/$pkgname-$pkgver-x86_64.t sha256sums=('00f6a8b6a8fa5ba6cd21079057889125f608177f45c7a3e30b0ea4f4192d3bf8') package() { - - cd "$srcdir" - - # Correct install path for binary and icon file - sed -i 's|$target_dir|/usr|' "$pkgname/templates/Thonny.desktop" - - install -Dm 644 "$pkgname/templates/Thonny.desktop" \ - "$pkgdir/usr/share/applications/thonny.desktop" - - install -Dm 755 "$pkgname/bin/thonny" "$pkgdir/usr/bin/thonny" - - install -Dm 644 "$pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" - - # Install.py currently does not allow for setting root for creating a package - # Files must by copied manually for now in section below. - install -d 644 "$pkgdir/usr/lib/python3.6/site-packages/thonny" - cp -dr --no-preserve=ownership "$pkgname/lib/python3.6/site-packages/thonny" \ - "$pkgdir/usr/lib/python3.6/site-packages" - - install -Dm 644 "$pkgname/lib/python3.6/site-packages/distro.py" \ - "$pkgdir/usr/lib/python3.6/site-packages/distro.py" + + cd "$srcdir" + + # Correct install path for binary and icon file + sed -i 's|$target_dir|/usr|' "$pkgname/templates/Thonny.desktop" + + install -Dm 644 "$pkgname/templates/Thonny.desktop" \ + "$pkgdir/usr/share/applications/thonny.desktop" + + install -Dm 755 "$pkgname/bin/thonny" "$pkgdir/usr/bin/thonny" + + install -Dm 644 "$pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + + # Install.py currently does not allow for setting root for creating a package + # Files must by copied manually for now in section below. + install -d 644 "$pkgdir/usr/lib/python3.6/site-packages/thonny" + cp -dr --no-preserve=ownership "$pkgname/lib/python3.6/site-packages/thonny" \ + "$pkgdir/usr/lib/python3.6/site-packages" + + install -Dm 644 "$pkgname/lib/python3.6/site-packages/distro.py" \ + "$pkgdir/usr/lib/python3.6/site-packages/distro.py" } |