makedeb


glow-bin 1.4.1-2


Markdown renderer for the CLI

Click here to go back to the commit logs for glow-bin.

Commit:


Hash: 2eeebf2042c867fc150ed18d5b7c2b025ef5f8f9

Message: Add support for arm64 and i386

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 93d66a6..0f12514 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,14 +1,22 @@
+generated-by = makedeb-makepkg
+
 pkgbase = glow-bin
 	pkgdesc = Markdown renderer for the CLI
 	pkgver = 1.4.1
-	pkgrel = 1
+	pkgrel = 2
 	url = https://github.com/charmbracelet/glow
 	arch = x86_64
+	arch = arm64
+	arch = i386
 	license = MIT
 	depends = libc6
 	provides = glow
 	conflicts = glow
 	source_x86_64 = https://github.com/charmbracelet/glow/releases/download/v1.4.1/glow_1.4.1_linux_x86_64.tar.gz
 	sha256sums_x86_64 = ab7b4cf9ae6e20d6c898688c5f33876297f9ef04616cbceff8e0379df9d06321
+	source_arm64 = https://github.com/charmbracelet/glow/releases/download/v1.4.1/glow_1.4.1_linux_arm64.tar.gz
+	sha256sums_arm64 = f0fd0bc75244875e0e69d1d6bc36e6988b30d90c4bd0c476a611fd8f826c1a51
+	source_i386 = https://github.com/charmbracelet/glow/releases/download/v1.4.1/glow_1.4.1_linux_i386.tar.gz
+	sha256sums_i386 = 06c2c30c7d90b6befe26c6fcb1cd9daff0581383fea5665891e9fa46ebdd36f0
 
 pkgname = glow-bin
diff --git a/PKGBUILD b/PKGBUILD
index 65b3b0c..095c821 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -4,16 +4,20 @@
 
 pkgname=glow-bin
 pkgver=1.4.1
-pkgrel=1
+pkgrel=2
 pkgdesc="Markdown renderer for the CLI"
-arch=('x86_64')
+arch=('x86_64' 'arm64' 'i386')
 url="https://github.com/charmbracelet/${pkgname%-bin}"
 license=('MIT')
 depends=('libc6')
 provides=("${pkgname%-bin}")
 conflicts=("${pkgname%-bin}")
 source_x86_64=("$url/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_linux_x86_64.tar.gz")
+source_arm64=("$url/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_linux_arm64.tar.gz")
+source_i386=("$url/releases/download/v$pkgver/${pkgname%-bin}_${pkgver}_linux_i386.tar.gz")
 sha256sums_x86_64=('ab7b4cf9ae6e20d6c898688c5f33876297f9ef04616cbceff8e0379df9d06321')
+sha256sums_arm64=('f0fd0bc75244875e0e69d1d6bc36e6988b30d90c4bd0c476a611fd8f826c1a51')
+sha256sums_i386=('06c2c30c7d90b6befe26c6fcb1cd9daff0581383fea5665891e9fa46ebdd36f0')
 
 package() {
     install -Dm755 "${pkgname%-bin}" "$pkgdir/usr/bin/${pkgname%-bin}"