makedeb


tgpt-bin 2.8.1-0


ChatGPT in terminal without needing API keys

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

Commit:


Hash: 2018fe278cf65de340ff1347afd54453fc64bdf0

Message: 1.3.0 and minor fix

Diff


diff --git a/.SRCINFO b/.SRCINFO
index 4995fb4..c4b71ef 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 = 1.2.1
+pkgver = 1.3.0
 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 = https://github.com/aandrew-me/tgpt/releases/download/v1.2.1/tgpt-linux-amd64
-b2sums = c812e296c9a17d107cb6cd403952f0565ddc771b438ef4a7dc78c526a92118f0c2e1c4f6e24e804f79c69f501dcff6e8201ec9fd55e83d9f6cdcd7ea513246d8
+source = tgpt-1.3.0::https://github.com/aandrew-me/tgpt/releases/download/v1.3.0/tgpt-linux-amd64
+b2sums = 07917624613fce092f4c0f8ce36362f871bca910d76d0db86dd760c3662307182f0dc10f2e4d372349c3ad0003c9a7267bebe75835c86ac4c1365bf9b297db1c
diff --git a/PKGBUILD b/PKGBUILD
index b22c521..b4a8d8a 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=1.2.1
+pkgver=1.3.0
 pkgrel=0
 pkgdesc="ChatGPT in terminal without needing API keys"
 arch=("amd64" "arm64" "i386")
@@ -9,10 +9,10 @@ url="https://github.com/aandrew-me/tgpt"
 license=('GPL-3.0')
 conflicts=('tgpt' 'tgpt-git')
 provides=('tgpt')
-source=("https://github.com/aandrew-me/tgpt/releases/download/v${pkgver}/tgpt-linux-${MAKEDEB_DPKG_ARCHITECTURE}")
-b2sums=('c812e296c9a17d107cb6cd403952f0565ddc771b438ef4a7dc78c526a92118f0c2e1c4f6e24e804f79c69f501dcff6e8201ec9fd55e83d9f6cdcd7ea513246d8')
+source=("tgpt-${pkgver}::https://github.com/aandrew-me/tgpt/releases/download/v${pkgver}/tgpt-linux-${MAKEDEB_DPKG_ARCHITECTURE}")
+b2sums=('07917624613fce092f4c0f8ce36362f871bca910d76d0db86dd760c3662307182f0dc10f2e4d372349c3ad0003c9a7267bebe75835c86ac4c1365bf9b297db1c')
 
 package() {
     cd "$srcdir"
-    install -Dm755 tgpt-linux-${MAKEDEB_DPKG_ARCHITECTURE} "$pkgdir/usr/bin/tgpt"
+    install -Dm755 tgpt-${pkgver} "$pkgdir/usr/bin/tgpt"
 }