summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: 08e761c86ed1c80742097ec376ba087cf58627b4 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
# Maintainer: asas1asas200 <asas1asas200@gmail.com>
pkgname="chatgpt-desktop-bin"
pkgver="1.1.0"
pkgrel=1
pkgdesc="ChatGPT Desktop Application (Mac, Windows and Linux)"
arch=("x86_64")
url="https://github.com/lencx/ChatGPT"
makedepends=("binutils"
             "tar")
depends=("openssl"
         "webkit2gtk"
         "libayatana-appindicator"
		 "hicolor-icon-theme"
		 "cairo"
		 "gtk3"
		 "glib2"
		 "libsoup"
		 "glibc"
		 "gdk-pixbuf2"
		 "gcc-libs"
		 )
provides=("chatgpt-desktop=${pkgver}")
conflicts=('chatgpt-desktop')
license=("Apache")
source=("https://github.com/lencx/ChatGPT/releases/download/v${pkgver}/ChatGPT_${pkgver}_linux_${arch}.deb")
sha256sums=('40290b7290b6fba6b8c58470ffa9bdc20c6077499aa3c058e71d60a69ad15544')
noextract=("chat-gpt_${pkgver}_amd64.deb")

prepare() {
	ar p ChatGPT_${pkgver}_linux_${arch}.deb data.tar.gz | tar zx
}

package() {
	cd $srcdir
	cp -R usr ${pkgdir}
}