# Maintainer: Andrew Stubbs pkgname=etcher realver=1.0.0-beta.17 pkgver=${realver//-/_} pkgrel=1 pkgdesc="Burn images to SD cards & USB drives, safe & easy" arch=('i686' 'x86_64') url="http://www.etcher.io/" license=('apache') depends=('gtk2' 'dbus' 'libxi' 'libxcursor' 'libxdamage' 'libxrandr' 'libxcomposite' 'libxext' 'libxfixes' 'libxrender' 'libxtst' 'gconf' 'glib2' 'nss' 'xz') optdepends=('libnotify: for notifications' 'speech-dispatcher: for text-to-speech') source=("etcher" "Etcher.desktop" "etcher.png") source_i686=("https://resin-production-downloads.s3.amazonaws.com/etcher/$realver/Etcher-$realver-linux-x86.zip") source_x86_64=("https://resin-production-downloads.s3.amazonaws.com/etcher/$realver/Etcher-$realver-linux-x64.zip") options=("!strip") md5sums=('8eff5560a3a4cae73698d7eda2d71577' '89f5cf77f164510b1f980820aaa4cf91' '7bd70ef05c6293e36938240be2558091') md5sums_i686=('e585bd96708d79845015cc57d86a3f60') md5sums_x86_64=('40e2b620d2aecb87e44c8675f2028d03') package() { local a=x86 [ "$pkgarch" == "x86_64" ] && a=x64 install -D "$srcdir/etcher" "$pkgdir/usr/bin/etcher" install -D "Etcher-linux-$a.AppImage" "$pkgdir/usr/share/etcher/Etcher-linux-$a.AppImage" install --mode=644 -D "$srcdir/etcher.png" "$pkgdir/usr/share/etcher/etcher.png" install -D "$srcdir/Etcher.desktop" "$pkgdir/usr/share/applications/Etcher.desktop" }