summarylogtreecommitdiffstats
path: root/PKGBUILD
blob: c0462e66a8db1b6de53fef10f89a6680f047843e (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
# Generated by debtap
# Maintainer: yangster-electron
# Contributor: yangster-electron
pkgname=yangster-electron
pkgver=0.1.1
pkgrel=1
pkgdesc="Yangster Electron"
arch=('x86_64')
url="https://github.com/theia-ide/yangster-electron#readme"
license=('APACHE')
groups=('')
depends=('alsa-lib' 'atk' 'cairo' 'dbus' 'desktop-file-utils' 'electron2' 'expat' 'fontconfig' 'freetype2' 'gcc-libs' 'gconf' 'gdk-pixbuf2' 'glib2' 'glibc' 'gtk2' 'hicolor-icon-theme' 'libappindicator-gtk2' 'libcups' 'libcurl-gnutls' 'libnotify' 'libx11' 'libxcb' 'libxcomposite' 'libxcursor' 'libxdamage' 'libxext' 'libxfixes' 'libxi' 'libxrandr' 'libxrender' 'libxss' 'libxtst' 'nspr' 'nss' 'pango' 'zlib')
options=('!strip' '!emptydirs')
install=${pkgname}.install
source_x86_64=("https://github.com/theia-ide/${pkgname}/releases/download/v${pkgver}/${pkgname}_${pkgver}_amd64.deb")
sha512sums_x86_64=('2a4253e5f4e1ad895fb038751e044c725a9d8775251f7450f4a3260d0d52831407456e030919916e341ac37dbf3201b7901f7716eef968f4de487bcc739f44ae')

package(){

	# Extract package data
	tar xf data.tar.xz -C "${pkgdir}"

	install -D -m644 "${pkgdir}/opt/Yangster/resources/app/node_modules/yauzl/LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
	install -D -m644 "${pkgdir}/opt/Yangster/resources/app/node_modules/reflect-metadata/CopyrightNotice.txt" "${pkgdir}/usr/share/licenses/${pkgname}/COPYRIGHT"

}