Skip to content

Instantly share code, notes, and snippets.

@Gabrielgtx
Last active July 6, 2016 03:32
Show Gist options
  • Select an option

  • Save Gabrielgtx/1d0895c18c37856fa021f9934d9240a3 to your computer and use it in GitHub Desktop.

Select an option

Save Gabrielgtx/1d0895c18c37856fa021f9934d9240a3 to your computer and use it in GitHub Desktop.
Burn images to SD cards & USB drives, safe & easy / http://www.etcher.io/

logo

Burn images to SD cards & USB drives, safe & easy.

a burner app that is simple for end users, extensible for developers, and works on any platform.

URL: http://etcher.io

Install:

kcp -i etcher

Product

[Desktop Entry]
Name=Etcher
Exec=pkexec env DISPLAY=$DISPLAY XAUTHORITY=$XAUTHORITY sh -c "kdesu -d etcher -- sh -c"
Comment=Burn images to SD cards & USB drives, safe & easy
Icon=etcher
Type=Application
Categories=System;Utility;Archiving;
Version=0.22
pkgname=etcher
pkgver=1.0.0.10
pkgrel=1
pkgdesc="Burn images to SD cards & USB drives, safe & easy"
url="http://www.etcher.io/"
arch=('x86_64')
license=('GitHub Inc.')
depends=('fuse')
source=("https://resin-production-downloads.s3.amazonaws.com/etcher/1.0.0-beta.${pkgver/*./}/Etcher-linux-x64.AppImage"
"etcher.desktop")
md5sums=('3edf3cfadf1c1a421e731ad4c7976357'
'72b6f038845d37ff7b4efea9ce53bf33')
package() {
install -dm755 "$pkgdir"/usr/{bin,share/{etcher,licenses/etcher}}
install -Dm644 Etcher.desktop "$pkgdir/usr/share/applications/etcher.desktop"
install -Dm644 icon.png "${pkgdir}/usr/share/pixmaps/etcher.png"
cd "$srcdir/usr/bin/"
mv -f LICENSE* "$pkgdir/usr/share/licenses/etcher/"
mv -f * "$pkgdir/usr/share/etcher/"
ln -s /usr/share/etcher/etcher "${pkgdir}/usr/bin/"
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment