# Maintainer: Samuel Walladge # Maintainer: Kewl pkgname=simplenote-electron-bin _pkgname=simplenote pkgver=1.1.3 pkgrel=4 pkgdesc="The simplest way to keep notes" arch=('x86_64') url="https://github.com/Automattic/simplenote-electron" license=('GPL2') depends=('gcc-libs' 'gconf' 'alsa-lib' 'nss' 'libxtst' 'gtk2' 'libxss') provides=('simplenote') source=("https://github.com/Automattic/simplenote-electron/releases/download/v${pkgver}/Simplenote-linux-${pkgver}.deb") sha256sums=('7ea24983e0a8738a628db9aeccca50b21b098c7725aaf8643416c90ea5e76758') # Warning: the release deb file has been known to be silently modified, # resulting in a different checksum. If the checksum fails to validate, this is # most likely the cause. If you are concerned about the security implications # of this, please do not install this package. The web app at # https://app.simplenote.com/ may better suit. # # This issue has been raised with Automattic on github: https://github.com/Automattic/simplenote-electron/issues/759 # See also related conversation on the aur: https://aur.archlinux.org/packages/simplenote-electron-bin/ package() { bsdtar -xv -C "${pkgdir}" -f "${srcdir}/data.tar.xz" mkdir -p ${pkgdir}/usr/bin/ ln -s /opt/Simplenote/${_pkgname} ${pkgdir}/usr/bin/${_pkgname} }