diff options
Diffstat (limited to 'h2o')
-rw-r--r-- | h2o/PKGBUILD | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/h2o/PKGBUILD b/h2o/PKGBUILD index a656826b7..201428532 100644 --- a/h2o/PKGBUILD +++ b/h2o/PKGBUILD @@ -16,7 +16,7 @@ _pinned_dependencies=( 'zlib=1:1.2.11' ) depends=('libuv' 'libyaml' 'wslay' "${_pinned_dependencies[@]}") -makedepends=('cmake' 'libtool' 'make' 'pkg-config' 'ruby') +makedepends=('cmake' 'libtool' 'make' 'pkg-config' 'ruby2.7') url="https://github.com/h2o/h2o" license=('MIT') source=("$pkgname-$pkgver.tar.gz::https://github.com/h2o/$pkgname/archive/v$pkgver.tar.gz" @@ -27,6 +27,11 @@ backup=('etc/h2o.conf') provides=('h2o' 'libh2o') conflicts=('libh2o') +prepare() { + export PATH="$srcdir:$PATH" + ln -s /usr/bin/ruby-2.7 "$srcdir/ruby" +} + build() { cd "$srcdir/$pkgname-$pkgver" |