diff options
author | Andreas Hirschauer | 2018-10-27 12:18:45 +0200 |
---|---|---|
committer | Andreas Hirschauer | 2018-10-27 12:18:45 +0200 |
commit | 9f72dcadb3d85bb5e7be2623b7a268aa2544e486 (patch) | |
tree | 5cdbd5653f70f5aaf399317b8a00d46090956fb9 /PKGBUILD | |
download | aur-typora-latest.tar.gz |
Initial Upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..73632f405d82 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,26 @@ +# Maintainer: Andreas Hirschauer <andreas@hirschauer-it.de> +pkgname=typora-latest +pkgver=0.9.60 +pkgrel=1 +pkgdesc="This packet provides the latest tar.gz archive of typora.io" +arch=('x86_64') +license=('custom:"Copyright (c) 2015 Abner Lee All Rights Reserved."') +url="https://typora.io/" +depends=('gconf' 'libxss' 'electron') +optdepends=('noto-fonts-emoji: Or some other emoji font to see emojis') +source=( + "typora.desktop" + "https://typora.io/linux/Typora-linux-x64.tar.gz" +) +md5sums=('c1235956cf0c66dbd26273813cd51646' + '1d3178e10d97d59fcfd1e587c9b2ba88') + +package() { + _src="$srcdir/Typora-linux-x64" + mkdir -p "$pkgdir/opt/typora" + + cp -r "$_src" "$pkgdir/opt/typora" + + install -Dm644 "$_src/LICENSE" "$pkgdir/opt/typora" + install -Dm644 "$srcdir/typora.desktop" "$pkgdir/usr/share/applications/typora.desktop" +} |