# Maintainer: Kewl # Maintainer: Samuel Walladge pkgname=simplenote-electron-bin pkgver=2.21.0 pkgrel=1 pkgdesc="The simplest way to keep notes" arch=('x86_64' 'armv7h') url="https://github.com/Automattic/simplenote-electron" license=('GPL2') depends=('nss' 'gtk3' 'libxss') provides=('simplenote') source_x86_64=("${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-amd64.deb") source_armv7h=("${url}/releases/download/v${pkgver}/Simplenote-linux-${pkgver}-armv7l.deb") sha256sums_x86_64=('b3ba6bff0ae5f30d8ef0d7ed60a4f3b95e18fb16856dcbbbb12fcb39122c4aef') sha256sums_armv7h=('01b7402a261d211ce14b86ceb89351960601f2846d72f380ac646ace4d75d032') # 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, do not install this package. # This issue has been raised and acknowledged by Automattic in Sep'18: https://github.com/Automattic/simplenote-electron/issues/759 package() { bsdtar -xv -C "${pkgdir}" -f "${srcdir}/data.tar.gz" mkdir -p "${pkgdir}/usr/bin/" ln -s "/opt/Simplenote/${pkgname%-electron-bin}" "${pkgdir}/usr/bin" }