makedeb


tgpt-bin 2.8.2-0


ChatGPT in terminal without needing API keys

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

Commit:


Hash: 8505b857782af5509769fd9d7fe35ff540f9f3c1

Message: 2.8.2

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 3cc1e65..b0bcc34 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -3,7 +3,7 @@ pkgname = tgpt-bin
 pkgbase = tgpt-bin
 pkgdesc = ChatGPT in terminal without needing API keys
 pkgrel = 0
-pkgver = 2.8.1
+pkgver = 2.8.2
 url = https://github.com/aandrew-me/tgpt
 arch = amd64
 arch = arm64
@@ -12,5 +12,5 @@ conflicts = tgpt
 conflicts = tgpt-git
 license = GPL-3.0
 provides = tgpt
-source = tgpt-2.8.1::https://github.com/aandrew-me/tgpt/releases/download/v2.8.1/tgpt-linux-amd64
-sha256sums = ccb2ecb47c11e19fad24526608aa67bc4aaa6d73fc3f3e383df4b63a4e68804e
+source = tgpt-amd64-2.8.2::https://github.com/aandrew-me/tgpt/releases/download/v2.8.2/tgpt-linux-amd64
+sha256sums = cd781f605a62ae178bedc7e2c7c5f2e778a1436d333c3533b7f55de4655f315d
diff --git a/PKGBUILD b/PKGBUILD
index bab292c..c687d37 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
 # Contributor: George Woodall (AUR) <georgewoodall82@gmail.com>
 pkgname=tgpt-bin
-pkgver=2.8.1
+pkgver=2.8.2
 pkgrel=0
 pkgdesc="ChatGPT in terminal without needing API keys"
 arch=("amd64" "arm64" "i386")
@@ -9,12 +9,13 @@ url="https://github.com/aandrew-me/tgpt"
 license=('GPL-3.0')
 conflicts=('tgpt' 'tgpt-git')
 provides=('tgpt')
-source=("tgpt-${pkgver}::https://github.com/aandrew-me/tgpt/releases/download/v${pkgver}/tgpt-linux-${MAKEDEB_DPKG_ARCHITECTURE}")
-sha256sums=('ccb2ecb47c11e19fad24526608aa67bc4aaa6d73fc3f3e383df4b63a4e68804e')
+source=("tgpt-${MAKEDEB_DPKG_ARCHITECTURE}-${pkgver}::https://github.com/aandrew-me/tgpt/releases/download/v${pkgver}/tgpt-linux-${MAKEDEB_DPKG_ARCHITECTURE}")
+#wget  -o /dev/null -O- https://github.com/aandrew-me/tgpt/releases/tag/v2.8.2 | grep "tgpt-linux-amd64" | cut -d ' ' -f 1
+sha256sums=('cd781f605a62ae178bedc7e2c7c5f2e778a1436d333c3533b7f55de4655f315d')
 
 package() {
     cd "$srcdir"
-    install -Dm755 tgpt-${pkgver} "$pkgdir/usr/bin/tgpt"
+    install -Dm755 tgpt-${MAKEDEB_DPKG_ARCHITECTURE}-${pkgver} "$pkgdir/usr/bin/tgpt"
     install -d "$pkgdir/usr/share/doc/$pkgname"
     ln -s /usr/share/common-licenses/GPL-3 "$pkgdir/usr/share/doc/$pkgname/"
 }