Skip to content

Instantly share code, notes, and snippets.

@SalvatoreNoschese
Last active October 22, 2025 18:30
Show Gist options
  • Select an option

  • Save SalvatoreNoschese/fbbcf69143ca6015b178e29db50ff83c to your computer and use it in GitHub Desktop.

Select an option

Save SalvatoreNoschese/fbbcf69143ca6015b178e29db50ff83c to your computer and use it in GitHub Desktop.
local-by-flywheel-noaur
# Maintainer: Salvatore Noschese <info@salvatorenoschese.it>
pkgname=local-by-flywheel-noaur
_pkgname=local-by-flywheel
pkgver=9.2.9
pkgrel=6887
pkgdesc="A program to create a local WordPress development environment."
arch=('x86_64')
url="https://localbyflywheel.com/"
license=('custom:proprietary')
depends=(
'libxcrypt-compat'
'numactl'
'ncurses'
'libaio'
'gtk3'
'nss'
'libjpeg-turbo'
'libxss'
'libxslt'
)
conflicts=(
'ncurses5-compat-libs'
'local-by-flywheel-bin'
)
options=('!debug' 'emptydirs')
source=("https://cdn.localwp.com/releases-stable/$pkgver+$pkgrel/local-$pkgver-linux.rpm")
sha1sums=('78869bb2d96500230de68ad24cc4340dbf21ae61')
package() {
mv $srcdir/usr $pkgdir/ # /usr & /opt are top-level dirs in the package
mv $srcdir/opt $pkgdir/
# Create symlink for the executable to /usr/bin
mkdir -p "$pkgdir"/usr/bin
ln -s /opt/Local/local "$pkgdir"/usr/bin/$_pkgname
# Setuid on chrome-sandbox
chmod u+s "$pkgdir"/opt/Local/chrome-sandbox
# Create symlinks for ncurses libraries
mkdir -p "$pkgdir"/usr/lib
ln -s /usr/lib/libncursesw.so.6 "$pkgdir"/usr/lib/libncurses.so.5
ln -s /usr/lib/libncursesw.so.6 "$pkgdir"/usr/lib/libtinfo.so.5
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment