-
-
Save lmartinez-mirror/40cfba3bc6cf7f9dc05d36cb58a17397 to your computer and use it in GitHub Desktop.
Patch for jaguar-bin
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 aa8c5e9..dd162ce 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -1,16 +1,19 @@ | |
# Maintainer: Florian Loitsch <florian@toit.io> | |
+# Contributor: Luis Martinez <luis dot martinez at disroot dot org> | |
+ | |
pkgname='jaguar-bin' | |
pkgver=1.4.8 | |
-pkgrel=1 | |
+pkgrel=2 | |
pkgdesc="Tool to develop Toit programs for the ESP32" | |
arch=('x86_64') | |
url="https://github.com/toitlang/jaguar" | |
license=('MIT') | |
depends=('gcc-libs') | |
-source=("https://github.com/toitlang/jaguar/releases/download/v$pkgver/jag_linux.tgz") | |
+provides=('jaguar') | |
+conflicts=('jaguar') | |
+source=("$pkgname-$pkgver.tgz::$url/releases/download/v$pkgver/jag_linux.tgz") | |
sha256sums=('8329cc8b44835f2acc0930413faa8baa29e946f92619159ad0b69c33ccca6ffb') | |
package() { | |
- mkdir -p "$pkgdir/usr/bin" | |
- install jag "$pkgdir/usr/bin/jag" | |
+ install -D jag -t "$pkgdir/usr/bin/" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment