Package Details: ferdium-nightly-bin 7.0.1.nightly.4-1

Git Clone URL: https://aur.archlinux.org/ferdium-nightly-bin.git (read-only, click to copy)
Package Base: ferdium-nightly-bin
Description: A messaging browser that allows you to combine your favorite messaging services into one application (nightly binary release).
Upstream URL: https://ferdium.org
Licenses: Apache
Conflicts: ferdium, ferdium-beta, ferdium-beta-bin, ferdium-bin, ferdium-electron, ferdium-git, ferdium-nightly
Provides: ferdium
Submitter: cedricroijakkers
Maintainer: cedricroijakkers
Last Packager: cedricroijakkers
Votes: 2
Popularity: 0.072480
First Submitted: 2022-09-02 09:33 (UTC)
Last Updated: 2024-11-30 03:29 (UTC)

Latest Comments

cedricroijakkers commented on 2024-02-23 11:22 (UTC)

@carlosala: Yep, the problem is that the official 29.0.1 package of Electron is very broken for some people, see https://gitlab.archlinux.org/archlinux/packaging/packages/electron29/-/issues/1

I managed to work around it for now, by installing the older electron29-bin package instead of the official electron29 while they are working on a fix.

carlosala commented on 2024-02-23 10:44 (UTC)

In my case there's a core dump in latest version with 6.7.1.nightly.23. Anyone else reproduces?

cedricroijakkers commented on 2023-08-16 07:05 (UTC)

@carlosala: I have noticed the stripping seems to take longer than before, but it does finish for me and the package can be installed afterwards.

carlosala commented on 2023-08-14 19:03 (UTC)

When installing the package from scratch, it hangs in Stripping unneeded symbols.... Does anyone have the same issue?

jsimon0 commented on 2022-10-13 15:47 (UTC)

For those using arm64, this (while I haven't tested it) should actually work on that architecture. Needs to be aarch64 instead of arm64.

# Maintainer: Cedric Roijakkers <cedric [the at sign goes here] roijakkers [the dot sign goes here] be>.
# Inspired from the PKGBUILD for ferdi-bin.

_pkgname='ferdium'
pkgname="$_pkgname-nightly-bin"
pkgverorg='6.2.1-nightly.19'
pkgver='6.2.1.nightly.19'
pkgrel='1'
pkgdesc='A messaging browser that allows you to combine your favorite messaging services into one application (nightly binary release).'
arch=('x86_64' 'armv7l' 'aarch64')
url="https://$_pkgname.org"
license=('Apache')
depends=('nss' 'atk' 'at-spi2-atk' 'libcups' 'libdrm' 'gdk-pixbuf2' 'gtk3' 'alsa-lib' 'c-ares' 'ffmpeg' 'libevent' 'libxkbfile' 'libxslt' 'minizip' 're2' 'snappy')
provides=(
    'ferdium'
)
conflicts=(
    'ferdium'
    'ferdium-bin'
    'ferdium-nightly-bin'
    'ferdium-nightly'
    'ferdium-git'
)
_releaseurl="https://github.com/$_pkgname/$_pkgname-app/releases/download/v$pkgverorg"
source_x86_64=("$pkgname-$pkgverorg-$pkgrel-amd64.zip::${_releaseurl}/Ferdium-linux-${pkgverorg}-amd64.deb")
source_armv7l=("$pkgname-$pkgverorg-$pkgrel-armv7l.zip::${_releaseurl}/Ferdium-linux-${pkgverorg}-armv7l.deb")
source_aarch64=("$pkgname-$pkgverorg-$pkgrel-aarch64.zip::${_releaseurl}/Ferdium-linux-${pkgverorg}-arm64.deb")
sha512sums_x86_64=('9842cf6e06f82fb11f176fa7f2407833b566e133b2fd0d537540ed8f8852fc47473c83b68638bbb71df7cb7a79b64a7d05e375eec6821ccba7e18783227a73b4')
sha512sums_armv7l=('dbe44143b9cd4c6a27ab3b924b9baae54aac781387effb71ef48ffc8c48f517cd07659b856e4e8daf048b63fea659a83b4c84beb53693ad76e77d4060fe0381f')
sha512sums_aarch64=('b2563565e4430a547ffdce974d6fef95686da94287a9b34e56089b2c8631e499ed38a2eaeac05f146a01d0ae3ab1f21887ac4842493263bc673862b61ecd23c5')

_sourcedirectory="$pkgname-$pkgverorg-$pkgrel"

prepare() {
    cd "$srcdir/"
    mkdir -p "$_sourcedirectory/"
    bsdtar -xf 'data.tar.xz' -C "$_sourcedirectory/"

    cd "$srcdir/$_sourcedirectory/"
    sed -E -i -e "s|Exec=/opt/${_pkgname^}/$_pkgname|Exec=/usr/bin/$_pkgname|" "usr/share/applications/$_pkgname.desktop"
}

package() {
    cd "$srcdir/$_sourcedirectory/"

    install -dm755 "$pkgdir/opt/"
    cp -r --no-preserve=ownership --preserve=mode "opt/${_pkgname^}/" "$pkgdir/opt/$pkgname/"

    chmod u+s "$pkgdir/opt/$pkgname/chrome-sandbox"

    install -dm755 "$pkgdir/usr/bin/"
    ln -sf "/opt/$pkgname/$_pkgname" "$pkgdir/usr/bin/$_pkgname"

    install -Dm644 "usr/share/applications/$_pkgname.desktop" "$pkgdir/usr/share/applications/$_pkgname.desktop"
    for _size in 16 24 32 48 64 96 128 256 512 1024; do
        install -Dm644 "usr/share/icons/hicolor/${_size}x${_size}/apps/$_pkgname.png" "$pkgdir/usr/share/icons/hicolor/${_size}x${_size}/apps/$_pkgname.png"
    done

    install -dm755 "$pkgdir/usr/share/licenses/$pkgname/"
    for _license in 'LICENSE.electron.txt' 'LICENSES.chromium.html'; do
        ln -sf "/opt/$pkgname/$_license" "$pkgdir/usr/share/licenses/$pkgname/$_license"
    done
}