summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEloy García Almadén2021-03-31 08:53:59 +0200
committerEloy García Almadén2021-03-31 08:53:59 +0200
commit1f73a375026cb12f7ff21313aa41c85b8260e3cf (patch)
tree43b74e8bfb6c91e061de08359f4a360a1d8e2dc8
parentcbf30144dda3a919360269925e97cdb073418f60 (diff)
downloadaur-1f73a375026cb12f7ff21313aa41c85b8260e3cf.tar.gz
Adding version to other commands
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index ffde5e32cc89..c80794db6677 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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"
}