diff options
author | Eloy García Almadén | 2021-03-31 08:53:59 +0200 |
---|---|---|
committer | Eloy García Almadén | 2021-03-31 08:53:59 +0200 |
commit | 1f73a375026cb12f7ff21313aa41c85b8260e3cf (patch) | |
tree | 43b74e8bfb6c91e061de08359f4a360a1d8e2dc8 | |
parent | cbf30144dda3a919360269925e97cdb073418f60 (diff) | |
download | aur-1f73a375026cb12f7ff21313aa41c85b8260e3cf.tar.gz |
Adding version to other commands
-rw-r--r-- | PKGBUILD | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -39,10 +39,10 @@ package() { python setup.py install --root="$pkgdir" --optimize=1 --skip-build # Copying bm_main.py - install -Dm644 "$srcdir/$pkgname/$pkgname/bm_main.py" "${pkgdir}/$(python -c "import site; print(site.getsitepackages()[0])")/$pkgname/bm_main.py" + install -Dm644 "$srcdir/$pkgname-$pkgver/$pkgname/bm_main.py" "${pkgdir}/$(python -c "import site; print(site.getsitepackages()[0])")/$pkgname/bm_main.py" # Copying .desktop file and icon echo -e "\n Creating desktop icon. Finishing the installation" - install -Dm644 "$srcdir/$pkgname/packaging/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" - install -Dm644 "$srcdir/$pkgname/packaging/$pkgname.svg" "$pkgdir/opt/$pkgname/gui/$pkgname.svg" + install -Dm644 "$srcdir/$pkgname-$pkgver/packaging/$pkgname.desktop" "$pkgdir/usr/share/applications/$pkgname.desktop" + install -Dm644 "$srcdir/$pkgname-$pkgver/packaging/$pkgname.svg" "$pkgdir/opt/$pkgname/gui/$pkgname.svg" } |