summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorChristoph2019-10-01 19:53:21 +0200
committerChristoph2019-10-01 19:53:21 +0200
commitad9e00d015cff357e3376ee2405bb75e90eb38b3 (patch)
tree60002ee24efa8b29c8474298a4cb738d12b183c3
parent47f29d5c67c184240aea83c26149b1d35065e945 (diff)
downloadaur-ad9e00d015cff357e3376ee2405bb75e90eb38b3.tar.gz
fixed recepies not showing, again, this time it works
-rw-r--r--.SRCINFO4
-rw-r--r--PKGBUILD15
2 files changed, 11 insertions, 8 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 1f90f5dbb8a..a8e331ab9d0 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,7 +1,7 @@
pkgbase = ferdi-git
- 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
+ pkgdesc = Free messaging app for services like WhatsApp, Slack, Messenger and many more. Hard fork of Franz
pkgver = 5.3.4
- pkgrel = 4
+ pkgrel = 5
url = https://getferdi.com/
arch = x86_64
arch = i686
diff --git a/PKGBUILD b/PKGBUILD
index 0647513da23..edf8da2e304 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -6,8 +6,8 @@
pkgname=ferdi-git
_pkgver=5.3.4
pkgver=${_pkgver//-/_}
-pkgrel=4
-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'
+pkgrel=5
+pkgdesc='Free messaging app for services like WhatsApp, Slack, Messenger and many more. Hard fork of Franz'
arch=(x86_64 i686)
url='https://getferdi.com/'
license=(Apache)
@@ -64,14 +64,17 @@ build() {
package() {
cd ferdi
# Install the .asar files
- install -Dm 755 out/linux-unpacked/resources/app.asar "$pkgdir/usr/lib/ferdi/resources/app.asar"
+ install -Dm 755 out/linux-unpacked/resources/app.asar "$pkgdir"/usr/lib/ferdi/resources/app.asar
+ install -dm755 "$pkgdir"/usr/lib/ferdi/resources/app.asar.unpacked/recipes/
+ cp -dr --no-preserve=ownership "$srcdir"/recipes "$pkgdir"/usr/lib/ferdi/resources/app.asar.unpacked/
+ chmod -R 755 "$pkgdir"/usr/lib/ferdi/resources/app.asar.unpacked/
# Install icon
- install -Dm 644 "$srcdir/ferdi.desktop" "$pkgdir/usr/share/applications/ferdi.desktop"
- install -Dm 644 build-helpers/images/icon.png "$pkgdir/usr/share/icons/ferdi.png"
+ install -Dm 644 "$srcdir"/ferdi.desktop "$pkgdir"/usr/share/applications/ferdi.desktop
+ install -Dm 644 build-helpers/images/icon.png "$pkgdir"/usr/share/icons/ferdi.png
# Install run script
- install -Dm 755 "$srcdir/ferdi.sh" "$pkgdir/usr/bin/ferdi"
+ install -Dm 755 "$srcdir"/ferdi.sh "$pkgdir"/usr/bin/ferdi
}