Created
March 12, 2020 22:15
-
-
Save wezm/2a529531b9510246e11a5734af65e27e to your computer and use it in GitHub Desktop.
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
diff --git a/PKGBUILD b/PKGBUILD | |
index e890744..224afed 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -7,6 +7,7 @@ arch=('i686' 'x86_64') | |
url="https://github.com/tummychow/git-absorb" | |
license=('BSD') | |
depends=( | |
+ 'libgit2' | |
) | |
makedepends=( | |
'cargo' | |
@@ -17,13 +18,13 @@ sha256sums=('c4ef4fa28222773d695aab7711abbfac7e81c35a37eafe45f79d045516df28b1') | |
build() { | |
cd "${pkgname}-${pkgver}" | |
- cargo build --release --locked | |
+ LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo build --release --locked | |
} | |
check() { | |
cd "${pkgname}-${pkgver}" | |
- cargo test --release --locked | |
+ LIBGIT2_SYS_USE_PKG_CONFIG=1 cargo test --release --locked | |
} | |
package() { |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment