summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAlfredo Beaumont2018-12-26 19:11:23 +0100
committerAlfredo Beaumont2018-12-26 19:11:23 +0100
commit45f2ba8b1f3a933ccccb1783d57a9fe2289210c4 (patch)
tree06e474a36faa17049b7c329b806d0ba49f28fbd7
parent44dac82236e608e07c65fe533c93487ca1d0fb50 (diff)
downloadaur-45f2ba8b1f3a933ccccb1783d57a9fe2289210c4.tar.gz
Create destination dir before attemting to link the binary
-rw-r--r--PKGBUILD1
1 files changed, 1 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 1ffd8f53dd9..6d243336ad4 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -42,6 +42,7 @@ prepare() {
package() {
mkdir "$pkgdir/opt"
+ mkdir -p "$pkgdir/usr/bin"
cp -pr "$srcdir/$pkgname" "$pkgdir/opt"
ln -s "/opt/stanza/stanza" "$pkgdir/usr/bin/stanza"
}