# Maintainer: Jonathan Duck pkgname=typora pkgver=0.9.78 pkgrel=2 pkgdesc="Typora will give you a seamless experience as both a reader and a writer." arch=('x86_64') filename="${pkgname}_${pkgver}_amd64.deb" license=('custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."') url="https://typora.io/" depends=('gconf' 'libxss') optdepends=( 'noto-fonts-emoji: Or some other emoji font to see emojis' 'pandoc: Import/export for extra file formats') source=("https://typora.io/./linux/$filename") md5sums=('7c1ae51c9ec07d3b8bc8c94e0307ba55') package() { bsdtar -xf data.tar.xz -C "$pkgdir/" rm -rf "$pkgdir/usr/share/lintian/" chmod 4755 "$pkgdir/usr/share/typora/chrome-sandbox" sed -i '/Change Log/d' "$pkgdir/usr/share/applications/typora.desktop" find "$pkgdir" -type d -exec chmod 755 {} \; }