diff options
author | Matthew Joyce | 2017-06-27 08:45:13 +0100 |
---|---|---|
committer | Matthew Joyce | 2017-06-27 08:45:13 +0100 |
commit | 5889b269368d56a5f299feaa0e3f61038e8e8894 (patch) | |
tree | d3c3f4679fe3150dc6b574ede888c27c871ead55 | |
parent | eba20d5b3b30245066f4d2f8c37ddc308230a83d (diff) | |
download | aur-5889b269368d56a5f299feaa0e3f61038e8e8894.tar.gz |
Fix naming issue
-rw-r--r-- | PKGBUILD | 12 |
1 files changed, 6 insertions, 6 deletions
@@ -12,25 +12,25 @@ source=("git+https://bitbucket.org/plas/thonny.git") sha256sums=('SKIP') pkgver() { - cd "$pkgname" + cd "$srcdir/thonny" echo "r$(git rev-list --count HEAD).$(git rev-parse --short HEAD)" } package() { cd "$srcdir" - install -Dm 755 "$pkgname/packaging/linux/thonny" "$pkgdir/usr/bin/thonny" + install -Dm 755 "thonny/packaging/linux/thonny" "$pkgdir/usr/bin/thonny" - sed -i 's|$target_dir|/usr|' "$pkgname/packaging/linux/Thonny.desktop" - install -Dm 644 "$pkgname/packaging/linux/Thonny.desktop" \ + sed -i 's|$target_dir|/usr|' "thonny/packaging/linux/Thonny.desktop" + install -Dm 644 "thonny/packaging/linux/Thonny.desktop" \ "$pkgdir/usr/share/applications/thonny.desktop" - install -Dm 644 "$pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + install -Dm 644 "thonny/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/thonny" \ + cp -dr --no-preserve=ownership "thonny/thonny" \ "$pkgdir/usr/lib/python3.6/site-packages" pip3 install --install-option="--prefix=$pkgdir/usr" --force distro tkinterhtml |