diff options
author | Håvard Pettersson | 2018-04-13 12:13:28 +0200 |
---|---|---|
committer | Håvard Pettersson | 2018-04-13 12:27:27 +0200 |
commit | 0fc75cf8de0a26e6be2fb470616712ab7e56d092 (patch) | |
tree | 07677a3a5d502661f6939782b49136d7445a324a | |
parent | 24f0969c21b7e6a1fc00ce01cd3d8e92300af2a7 (diff) | |
download | aur-0fc75cf8de0a26e6be2fb470616712ab7e56d092.tar.gz |
v1.4.1
-rw-r--r-- | .SRCINFO | 10 | ||||
-rw-r--r-- | PKGBUILD | 41 |
2 files changed, 31 insertions, 20 deletions
@@ -1,12 +1,11 @@ -# Generated by mksrcinfo v8 -# Wed Jan 24 09:43:52 UTC 2018 pkgbase = etcher pkgdesc = Burn images to SD cards & USB drives, safe & easy - pkgver = 1.3.1 + pkgver = 1.4.1 pkgrel = 1 url = http://www.etcher.io/ arch = x86_64 license = apache + makedepends = npm depends = gtk2 depends = libxtst depends = libxss @@ -15,9 +14,8 @@ pkgbase = etcher depends = alsa-lib optdepends = libnotify: for notifications optdepends = speech-dispatcher: for text-to-speech - options = !strip - source_x86_64 = https://github.com/resin-io/etcher/releases/download/v1.3.1/etcher-electron_1.3.1_amd64.deb - sha256sums_x86_64 = 366a083b6009ae75830fd920a947812ab9c7ec3a2039dc1b8524d28640b8179d + source = https://github.com/resin-io/etcher/archive/v1.4.1.tar.gz + sha256sums = 41bb2e325b45e5adc00e32bd2c0b1e9bbd0f8dfe328e8237fc7d4175fde2bd60 pkgname = etcher @@ -1,21 +1,34 @@ -# Maintainer: Andrew Stubbs <andrew.stubbs@gmail.com> +# Maintainer: Håvard Pettersson <mail@haavard.me> +# Contributor: Andrew Stubbs <andrew.stubbs@gmail.com> + pkgname=etcher -_realver=1.3.1 -pkgver=${_realver//-/_} +pkgver=1.4.1 pkgrel=1 -pkgdesc="Burn images to SD cards & USB drives, safe & easy" -arch=('x86_64') -url="http://www.etcher.io/" -license=('apache') -depends=('gtk2' 'libxtst' 'libxss' 'gconf' 'nss' 'alsa-lib') +pkgdesc='Burn images to SD cards & USB drives, safe & easy' +arch=(x86_64) +url='http://www.etcher.io/' +license=(apache) +depends=(gtk2 libxtst libxss gconf nss alsa-lib) optdepends=('libnotify: for notifications' - 'speech-dispatcher: for text-to-speech') -source_x86_64=("https://github.com/resin-io/etcher/releases/download/v${_realver}/etcher-electron_${_realver}_amd64.deb") -options=("!strip") -sha256sums_x86_64=('366a083b6009ae75830fd920a947812ab9c7ec3a2039dc1b8524d28640b8179d') + 'speech-dispatcher: for text-to-speech') +makedepends=(npm) +source=("https://github.com/resin-io/etcher/archive/v$pkgver.tar.gz") +sha256sums=('41bb2e325b45e5adc00e32bd2c0b1e9bbd0f8dfe328e8237fc7d4175fde2bd60') +build() { + cd etcher-$pkgver + make electron-develop + make electron-installer-debian RELEASE_TYPE=production +} package() { - cd "$pkgdir" - tar xf "$srcdir/data.tar.xz" + cd etcher-$pkgver/dist + + ar x etcher-electron_${pkgver}_amd64.deb data.tar.xz + tar -xf data.tar.xz -C "$pkgdir" + + mkdir -p "$pkgdir"/usr/bin + ln -s /opt/Etcher/etcher-electron "$pkgdir"/usr/bin/etcher-electron } + +# vim:set ts=2 sw=2 et: |