Last active
January 30, 2019 16:57
-
-
Save nullptr/6640490e90b4272c838a6328f7d1e99f to your computer and use it in GitHub Desktop.
Arch AUR record-query-git patch to build on a supported v8 version
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
--- record-query-git/PKGBUILD 2019-01-30 11:56:25.842493990 -0500 | |
+++ record-query-git-v8-bin/PKGBUILD 2019-01-30 11:55:32.073742934 -0500 | |
@@ -1,6 +1,6 @@ | |
# Maintainer: David Flemström <david.flemstrom@gmail.com> | |
pkgname=record-query-git | |
-pkgver=v0.6.0.r7.ge70579c | |
+pkgver=v0.10.4.r50.gd84d4d8 | |
pkgrel=1 | |
epoch= | |
pkgdesc="A tool for doing record analysis and transformation" | |
@@ -8,8 +8,8 @@ | |
url="" | |
license=('Apache-2.0') | |
groups=() | |
-depends=(v8) | |
-makedepends=(rust) | |
+depends=() | |
+makedepends=(wget rust) | |
checkdepends=() | |
optdepends=() | |
provides=() | |
@@ -30,6 +30,11 @@ | |
build() { | |
cd "$srcdir/$pkgname" | |
+ TARGET=x86_64-unknown-linux-gnu | |
+ wget "https://s3-eu-west-1.amazonaws.com/record-query/v8/$TARGET/5.7.441.1/v8-build.tar.gz" | |
+ tar xvf v8-build.tar.gz | |
+ export V8_LIBS=$PWD/v8-build/lib/libv8uber.a | |
+ export V8_SOURCE=$PWD/v8-build | |
cargo build --release | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment