makedeb


tgpt-bin 2.7.1-0


ChatGPT in terminal without needing API keys

Viewing /PKGBUILD.

View raw.

Click here to go back to the Git tree for tgpt-bin.

# Maintainer: exponential <echo ZXhwb25lbnRpYWxtYXRyaXhAcHJvdG9ubWFpbC5jb20K | base64 -d>
# Contributor: George Woodall (AUR) <georgewoodall82@gmail.com>
pkgname=tgpt-bin
pkgver=2.7.1
pkgrel=0
pkgdesc="ChatGPT in terminal without needing API keys"
arch=("amd64" "arm64" "i386")
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=('a2f66dd442dbe4655c41eeacef69b5805805f919a923f02cbd9f7a0c91fdbf9e')

package() {
    cd "$srcdir"
    install -Dm755 tgpt-${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/"
}