Skip to content

Instantly share code, notes, and snippets.

Embed
What would you like to do?
Architecture specific things
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
You can’t perform that action at this time.