diff options
author | Erich Eckner <git@eckner.net> | 2021-05-17 22:36:50 +0200 |
---|---|---|
committer | Erich Eckner <git@eckner.net> | 2021-05-17 22:36:50 +0200 |
commit | d1f6a35ec4e445623cb6e80d9f000744d7278d9f (patch) | |
tree | b612991d73cdcad45a16e5de8ac9b9eeabcdc0e8 /h2o | |
parent | 58c925b230e7015d04b3be16e9be5353274c687e (diff) | |
download | archlinuxewe-d1f6a35ec4e445623cb6e80d9f000744d7278d9f.tar.xz |
h2o: ruby -> ruby2.7
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" |