diff options
-rw-r--r-- | .SRCINFO | 6 | ||||
-rw-r--r-- | PKGBUILD | 17 |
2 files changed, 15 insertions, 8 deletions
@@ -1,14 +1,14 @@ pkgbase = etcher-cli-git pkgdesc = Burn images to SD cards & USB drives, safe & easy - pkgver = v1.4.1.0.g1c43ee1b + pkgver = 1.5.70.r0.g57145436 pkgrel = 1 url = http://www.etcher.io/ arch = x86_64 - license = apache + license = Apache makedepends = npm provides = etcher-cli conflicts = etcher-cli - source = etcher-cli-git::git+https://github.com/resin-io/etcher.git + source = etcher-cli-git::git+https://github.com/balena-io/etcher.git sha256sums = SKIP pkgname = etcher-cli-git @@ -1,22 +1,29 @@ -# Maintainer: Håvard Pettersson <mail@haavard.me> +# Contributor: Lex Black <autumn-wind@web.de> +# Contributor: Håvard Pettersson <mail@haavard.me> # Contributor: Andrew Stubbs <andrew.stubbs@gmail.com> pkgname=etcher-cli-git -pkgver=v1.4.1.0.g1c43ee1b +pkgver=1.5.70.r0.g57145436 pkgrel=1 pkgdesc='Burn images to SD cards & USB drives, safe & easy' arch=(x86_64) url='http://www.etcher.io/' -license=(apache) +license=(Apache) makedepends=(npm) conflicts=(etcher-cli) provides=(etcher-cli) -source=("$pkgname::git+https://github.com/resin-io/etcher.git") +source=("$pkgname::git+https://github.com/balena-io/etcher.git") sha256sums=('SKIP') pkgver() { cd $pkgname - git describe --tags --long | sed 's/-/./g' + git describe --long | sed 's/\([^-]*-g\)/r\1/;s/-/./g;s/v//' +} + +prepare() { + cd $pkgname + git submodule init + git submodule update } build() { |