Created
March 26, 2016 22:37
-
-
Save Narrat/cc16f622e6b4b2250977 to your computer and use it in GitHub Desktop.
Architecture specific things
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 a0decf8..245149c 100644 | |
--- a/PKGBUILD | |
+++ b/PKGBUILD | |
@@ -20,15 +20,11 @@ optdepends=("google-chrome: to enable Live Preview" | |
provides=("brackets=$pkgver") | |
conflicts=('brackets' 'brackets-git') | |
install=$pkgname.install | |
+source_i686=("https://github.com/adobe/$_pkgname/releases/download/release-$pkgver/Brackets.Release.$pkgver.32-bit.deb") | |
+source_x86_64=("https://github.com/adobe/$_pkgname/releases/download/release-$pkgver/Brackets.Release.$pkgver.64-bit.deb") | |
+sha512sums_i686=('3cda0049a10504e26faf5d750b1cd35f4161147cb7d71f0f9fb22fd274d1b18cdb27b0c95694620d22d61203200ab487ee05206d855048bf991951a289f579f0') | |
+sha512sums_x86_64=('e3fba356a6b152e8d27b521ae2be69cc51b935c04f67a448c3f23be4267f40176e1344ef06fd8172ed0927d990ba50c5babde930f713bb9e5e5e912d63787e0c') | |
-if [[ $CARCH == "x86_64" ]]; then | |
- _arch=64 | |
-sha512sums=('e3fba356a6b152e8d27b521ae2be69cc51b935c04f67a448c3f23be4267f40176e1344ef06fd8172ed0927d990ba50c5babde930f713bb9e5e5e912d63787e0c') | |
-elif [[ $CARCH == "i686" ]]; then | |
- _arch=32 | |
-fi | |
- | |
-source=("https://github.com/adobe/$_pkgname/releases/download/release-$pkgver/Brackets.Release.$pkgver.$_arch-bit.deb") | |
prepare() { | |
cd $srcdir |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment