summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph2019-06-06 19:15:10 +0200
committerChristoph2019-06-06 19:15:10 +0200
commit35b8d7c7b61f3ae37d3255c1ce4c794fa7ea645f (patch)
treefb24bc0f2fac2ee6abbdda098e9a4eaef4afa9dc
parent57e0a19c63983f8a5b547997f10c285d843d9ff3 (diff)
downloadaur-35b8d7c7b61f3ae37d3255c1ce4c794fa7ea645f.tar.gz
fixed pkgb path error 3
-rw-r--r--PKGBUILD8
1 files changed, 4 insertions, 4 deletions
diff --git a/PKGBUILD b/PKGBUILD
index bc8a597b56e..e10dc84905e 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,7 +6,7 @@
pkgname=ferdi-git
_pkgver=5.1.0
pkgver=${_pkgver//-/_}
-pkgrel=1
+pkgrel=2
# Due to the previous "_beta" naming
epoch=1
pkgdesc='Free messaging app for services like WhatsApp, Slack, Messenger and many more. fork removing the non-skippable app delay frequently inviting you to buy a licence'
@@ -46,7 +46,7 @@ build() {
# Better configuration for npm cache and calling installed binaries
export npm_config_cache="$srcdir"/npm_cache
- export PATH="$srcdir/$pkgname/node_modules/.bin:$srcdir/python2_path:$PATH"
+ export PATH="$srcdir/ferdi/node_modules/.bin:$srcdir/python2_path:$PATH"
npm install lerna
lerna bootstrap
@@ -58,8 +58,8 @@ package() {
cd ferdi
# Install the .asar files
- install -dm 755 "$pkgdir"/usr/lib/$pkgname
- cp -r --no-preserve=ownership --preserve=mode out/linux-unpacked/resources "$pkgdir"/usr/lib/$pkgname/
+ install -dm 755 "$pkgdir"/usr/lib/ferdi
+ cp -r --no-preserve=ownership --preserve=mode out/linux-unpacked/resources "$pkgdir"/usr/lib/ferdi/
# Install icon
install -Dm 644 "$srcdir"/ferdi.desktop "$pkgdir"/usr/share/applications/ferdi.desktop