Created
May 16, 2020 15:20
-
-
Save bakpakin/076d91e8be82da15072e27af1d1595b4 to your computer and use it in GitHub Desktop.
Fix pkgbuild skipping static libraries and adds /usr/lib/janet for jpm.
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 479ef5e..fc24851 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -12,6 +12,7 @@ provides=('janet') | |
conflicts=('janet-lang-git') | |
source=("$pkgname-$pkgver.tar.gz::https://github.com/janet-lang/janet/archive/v${pkgver}.tar.gz") | |
sha256sums=('02724d6074a0d6fa53a548e8bdaaf49999f082e30b277c73444900f739a53062') | |
+options=('staticlibs') | |
janet_build='JANET_BUILD=\"f7ee8bd\"' | |
@@ -39,4 +40,6 @@ package() { | |
cp -a examples "${pkgdir}"/usr/share/janet | |
install -Dm644 build/doc.html "${pkgdir}"/usr/share/doc/janet/doc.html | |
+ | |
+ install -Dm644 -t "${pkgdir}"/usr/lib/janet tools/.keep | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment