summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: a78a82fc1aa2933814172f0e9a3d944431800d4d (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
# Maintainer: Matthias Gliwka <mg@cerebuild.com>

pkgname=codota-bin
pkgver=0.7.2
pkgrel=1
pkgdesc="Codota: Artificial pair programmer that learns from existing code (official binary version)"
arch=('x86_64')
url="https://www.codota.com/"
license=('custom: EULA')
provides=('codota')
depends=('libxss' 'gcc-libs-multilib' 'gtk2' 'alsa-lib' 'gconf' 'nss' 'libxtst')
source=('http://assets.codota.com/terms/codota_terms.pdf' 'https://d3h4gxz94r12wi.cloudfront.net/linux/x64/Codota_0.7.2_amd64.deb')
sha256sums=('e03cb9d2867609cd2b7dd5f755dec43a72462628e1b8ab64fbe1629194210a36' 'e6b977edd5366288e40c25f75629a60fa017bae2b0dffcb0eb81f68975ad7cd2')

package() {
	# extract deb file
	cd "${srcdir}"
	tar xf data.tar.xz -C "${pkgdir}"

	# install license file
	install -Dm644 codota_terms.pdf "${pkgdir}"/usr/share/licenses/${pkgname}/LICENSE.pdf
}