diff options
author | RubenKelevra | 2022-07-05 18:53:53 +0200 |
---|---|---|
committer | RubenKelevra | 2022-07-05 18:55:37 +0200 |
commit | 7222bbb87239ba7fe54ad91f26571da8198c9b63 (patch) | |
tree | febc927c26ac81ad2193434bfe8899b8db632f15 | |
parent | 229214bba8df7c10458ee7425d56ebeeb8b85b9c (diff) | |
download | aur-gisto.tar.gz |
update to 1.13.4 ; don't expect it to work, just pushing this to avoid that people fetch the binary package fetched previously
-rw-r--r-- | .SRCINFO | 36 | ||||
-rw-r--r-- | PKGBUILD | 54 |
2 files changed, 60 insertions, 30 deletions
@@ -1,17 +1,25 @@ pkgbase = gisto -pkgdesc = Cross-platform gist snippets management desktop application that allows you and your team share code snippets fast and easily. Based on GitHub Gist Infrastructure which means you can use all your existing snippets by connecting your GitHub account. -pkgver = 1.12.12 -pkgrel = 0 -url = http://www.gistoapp.com/ -install = gisto.install -arch = x86_64 -license = MIT -depends = nss -depends = gtk3 -depends = libxss -options = !strip -source = https://github.com/Gisto/Gisto/releases/download/v1.12.12/Gisto-1.12.12-amd64.deb -md5sums = c809d6d6f59b94aea335503129c14abf + pkgdesc = Gisto is a code snippet manager that runs on GitHub Gists and adds additional features such as searching, tagging and sharing gists while including a rich code editor. + pkgver = 1.13.4 + pkgrel = 1 + url = https://github.com/gisto/gisto + install = gisto.install + arch = x86_64 + license = MIT + depends = c-ares + depends = ffmpeg + depends = gtk3 + depends = http-parser + depends = libevent + depends = libvpx + depends = libxslt + depends = libxss + depends = minizip + depends = nss + depends = re2 + depends = snappy + depends = libnotify + source = gisto-1.13.4.tar.gz::https://github.com/gisto/gisto/archive/refs/tags/v1.13.4.tar.gz + b2sums = 532c4c519eccef3f049db277c569761594a407863b0db340ca2fbe3c35f67100f932beaf60a8db062cce6ca7c6ee44b8cba73e12321f0e14fd8ed435331fe6a0 pkgname = gisto - @@ -1,20 +1,42 @@ -# Maintainer: Sasha Khamkov <sanusart@gmail.com> -# Maintainer: xgdgsc <xgdgsc at gmail dot com> +# Maintainer: @RubenKelevra <cyrond@gmail.com> +# Contributor: Sasha Khamkov <sanusart@gmail.com> +# Contributor: xgdgsc <xgdgsc at gmail dot com> + pkgname=gisto -pkgver=1.12.12 -pkgrel=0 -epoch= -pkgdesc="Cross-platform gist snippets management desktop application that allows you and your team share code snippets fast and easily. Based on GitHub Gist Infrastructure which means you can use all your existing snippets by connecting your GitHub account." -arch=("x86_64") -url="http://www.gistoapp.com/" -license=("MIT") -groups=() -options=(!strip) -depends=("nss" "gtk3" "libxss") -# PKGEXT=.tar +_pkgname_capital=Gisto +pkgver=1.13.4 +pkgrel=1 +pkgdesc='Gisto is a code snippet manager that runs on GitHub Gists and adds additional features such as searching, tagging and sharing gists while including a rich code editor.' +arch=('x86_64') +url="https://github.com/$pkgname/$pkgname" +license=('MIT') +builddepends=(npm) +depends=(c-ares ffmpeg gtk3 http-parser libevent libvpx libxslt libxss minizip nss re2 snappy libnotify) install=${pkgname}.install -source=("https://github.com/Gisto/Gisto/releases/download/v$pkgver/Gisto-$pkgver-amd64.deb") -md5sums=('c809d6d6f59b94aea335503129c14abf') + +source=("$pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v${pkgver}.tar.gz") + +b2sums=('532c4c519eccef3f049db277c569761594a407863b0db340ca2fbe3c35f67100f932beaf60a8db062cce6ca7c6ee44b8cba73e12321f0e14fd8ed435331fe6a0') + +prepare() { + cd "$_pkgname_capital-$pkgver" + npm ci --no-audit --progress=false --cache "$srcdir/npm-cache" + +} + +build() { + cd "$_pkgname_capital-$pkgver" + cross-env NODE_ENV=production npm run start:prod + npx electron-builder build --linux pacman --x64 --publish=always +} + + +check() { + cd "$_pkgname_capital-$pkgver" + npm run test +} + + package() { - tar xf data.tar.xz -C "${pkgdir}" + exit 1 } |