summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorkitsunyan2018-01-28 05:34:56 +0300
committerkitsunyan2018-01-28 05:34:56 +0300
commit4acb377a2b10dfd887d868947e20cc6df9f44340 (patch)
tree0b7fb36a766ae580b1373a18a495cb7a6fe31085
parentb2fd25635d1abd9edc67b028dda184222220873d (diff)
downloadaur-4acb377a2b10dfd887d868947e20cc6df9f44340.tar.gz
Move from /usr/share/webapps to /usr/lib
-rw-r--r--PKGBUILD6
1 files changed, 3 insertions, 3 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 0aa7661df9ec..005d0b8dcb6e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -33,14 +33,14 @@ build() {
package() {
cd "$srcdir/drawio-$pkgver"
- mkdir -p "$pkgdir/usr/share/webapps"
- cp -rp . "$pkgdir/usr/share/webapps/draw.io"
+ mkdir -p "$pkgdir/usr/lib"
+ cp -rp . "$pkgdir/usr/lib/draw.io"
# create run script
mkdir -p "$pkgdir/usr/bin"
printf '%s\n' \
'#!/bin/sh' \
- 'exec electron /usr/share/webapps/draw.io "$@"' \
+ 'exec electron /usr/lib/draw.io "$@"' \
> "$pkgdir/usr/bin/draw.io"
chmod a+x "$pkgdir/usr/bin/draw.io"