diff options
author | Étienne Deparis | 2022-09-21 11:47:49 +0200 |
---|---|---|
committer | Étienne Deparis | 2022-09-21 11:47:49 +0200 |
commit | 793c16a88d5d6ca40faafdd1b3939898c27233f7 (patch) | |
tree | 842f97cb18fd6ad8ca6156bbf55dc584a83b3713 | |
parent | d02607ca41318b4924104f1a26beef8df6a32789 (diff) | |
download | aur-nimbus-git.tar.gz |
Protect srcdir and pkgdir variables when they contain whitespaces
-rw-r--r-- | .SRCINFO | 7 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 8 insertions, 10 deletions
@@ -1,9 +1,9 @@ -# Generated by makepkg 5.1.3 -# Fri Aug 16 16:37:31 UTC 2019 +# Generated by makepkg 6.0.1 +# Wed Sep 21 09:47:22 UTC 2022 pkgbase = nimbus-git pkgdesc = The default OpenIndiana theme pkgver = 1.0.r7.g172733a - pkgrel = 1 + pkgrel = 2 url = https://github.com/OpenIndiana/nimbus arch = any license = GPL @@ -23,4 +23,3 @@ pkgbase = nimbus-git sha256sums = 1e4ab3a16451487528622556f586e1ac007accc5e9bf51181824f96b9740a207 pkgname = nimbus-git - @@ -3,7 +3,7 @@ pkgname=nimbus-git _gitname=nimbus pkgver=1.0.r7.g172733a -pkgrel=1 +pkgrel=2 pkgdesc="The default OpenIndiana theme" arch=("any") url="https://github.com/OpenIndiana/nimbus" @@ -42,10 +42,9 @@ build() { } package() { - cd "$srcdir" - make -C "${_gitname}" install DESTDIR=$pkgdir + make -C "${_gitname}" install DESTDIR="$pkgdir" - install -d -m755 $pkgdir/usr/share/mate-panel/pixmaps/nimbus - install -m644 bottom-panel-image.png $pkgdir/usr/share/mate-panel/pixmaps/nimbus/bottom-panel-image.png - install -m644 top-panel-image.png $pkgdir/usr/share/mate-panel/pixmaps/nimbus/top-panel-image.png + install -d -m755 "$pkgdir/usr/share/mate-panel/pixmaps/nimbus" + install -m644 bottom-panel-image.png "$pkgdir/usr/share/mate-panel/pixmaps/nimbus/bottom-panel-image.png" + install -m644 top-panel-image.png "$pkgdir/usr/share/mate-panel/pixmaps/nimbus/top-panel-image.png" } |