# Maintainer: Jonathan Duck pkgname=typora pkgver=0.9.64 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') source=("https://typora.io/./linux/$filename") md5sums=('738a35cef36448f5a1c3cbcb3fd93c45') package() { bsdtar -xf data.tar.xz -C "$pkgdir/" rm -rf "$pkgdir/usr/share/lintian/" sed -i '/Change Log/d' "$pkgdir/usr/share/applications/typora.desktop" find "$pkgdir" -type d -exec chmod 755 {} \; }