blob: eb3a80271cf9a39d840e0fb28ba4d7ad434ea731 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: Evangelos Athanasiadis <dyrer@yandex.com>
# Maintainer: Peter Kerschl <git@pmke.de>
pkgname=local-by-flywheel-bin
_pkgname=local-by-flywheel
pkgver=9.1.0
pkgrel=6719
pkgdesc="A program to create a local WordPress development environment."
arch=('x86_64')
url="https://localbyflywheel.com/"
license=('custom:proprietary')
depends=(
'libxcrypt-compat'
'numactl'
'ncurses5-compat-libs'
'libaio'
'gtk3'
'nss'
'libjpeg-turbo'
'libxss'
'libxslt'
)
options=('emptydirs')
source=("https://cdn.localwp.com/releases-stable/$pkgver+$pkgrel/local-$pkgver-linux.rpm")
sha1sums=('ef369b748b61e6ee832897b1921d32afbbdfe42a')
package() {
mv $srcdir/usr $pkgdir/ # /usr & /opt are top-level dirs in the package
mv $srcdir/opt $pkgdir/
#Create symlink the executable to /usr/bin
mkdir "$pkgdir"/usr/bin
ln -s /opt/Local/local "$pkgdir"/usr/bin/$_pkgname
#Setuid on chrome-sandbox
chmod u+s "$pkgdir"/opt/Local/chrome-sandbox
cd $pkgdir/
}
|