summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorAgorgianitis Loukas2019-09-21 03:38:41 +0300
committerAgorgianitis Loukas2019-09-21 03:38:41 +0300
commit77908352418221a9410ad93fd7a1d0edfc9fcea5 (patch)
tree4547c7d80f5f820e25dde1f281f8bbefc9614c38
parentc2afd3e7b5ca6a2428f51dc36fbce8471759206e (diff)
downloadaur-77908352418221a9410ad93fd7a1d0edfc9fcea5.tar.gz
Updated PKGBUILD to work with multi level examples directory
-rw-r--r--PKGBUILD4
1 files changed, 3 insertions, 1 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8a524edf10a..5552097b28c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,7 +33,9 @@ build() {
package() {
cd "$srcdir/${pkgname%-VCS}"
install -D -m644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
- install -D -m755 examples/* -t "$pkgdir/usr/share/$pkgname/examples/"
install -D -m755 bin/glslViewer "$pkgdir/usr/bin/glslviewer"
install -D -m755 bin/glslLoader "$pkgdir/usr/bin/glslloader"
+ mkdir -p "$pkgdir/usr/share/$pkgname/examples/"
+ cp -R examples/* "$pkgdir/usr/share/$pkgname/examples/"
+ chmod -R 755 "$pkgdir/usr/share/$pkgname/examples/"
}