summarylogtreecommitdiffstats
path: root/.SRCINFO
diff options
context:
space:
mode:
authorCaleb Maclennan2020-04-01 15:49:07 +0300
committerCaleb Maclennan2020-04-01 20:11:38 +0300
commitd570a442fa854e203b56a0eaa4076bd597a118df (patch)
treea7590477470813aa4670ad41be4801bb2dd1768a /.SRCINFO
parent9816e149c30bdf7ab052c2843de9552a4c1b4375 (diff)
downloadaur-d570a442fa854e203b56a0eaa4076bd597a118df.tar.gz
Overhaul in line with Arch packaging guidelines
* NEVER ADD or REMOVE files in *_install() hooks! * Use system Electron. This is an early adaptation of this and could use a lot of optimization. It currently builds stuff it doesn't use, bundles quite a few things that could be stripped out, and generally makes a nuisance of itself, but at least it uses the system default electron. Besides being 2 major versions plus lots of patches ahead and staying secure as Arch Linux updates the system, it also shaves 50+ MB off the package size and 166+ MB off the installed size. * Add missing libsecret dependency. * Use current upstream URL. * Remove makedeps that are part of base-devel. * Don't duplicate a mess of provides/conflicts, the -bin and -git packages take tare of this the other direction and pacman maps it even between each other. * Drop obsolete mime/desktop updates, these are handled by hooks. * Use system yarn for build rather than dynamically fetching it at build time. * Python 2 is not a dependency, node-gyp is which now uses Python 3. Depend directly on the thing we need to build. * Don't provide() a duplicate of the package name. * Don't let build stuff happen in prepare(). * Install LICENSE and documentation files.
Diffstat (limited to '.SRCINFO')
-rw-r--r--.SRCINFO23
1 files changed, 12 insertions, 11 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 48c87063c34..9c07904ac38 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,21 +1,22 @@
pkgbase = marktext
pkgdesc = A simple and elegant open-source markdown editor that focused on speed and usability
pkgver = 0.16.1
- pkgrel = 1
- url = https://github.com/marktext/marktext
- install = marktext.install
+ pkgrel = 2
+ url = https://marktext.app
arch = x86_64
license = MIT
+ makedepends = jq
+ makedepends = moreutils
makedepends = nodejs
- makedepends = npm
- makedepends = python2
- makedepends = tar
+ makedepends = node-gyp
+ makedepends = yarn
+ depends = electron
depends = libxkbfile
- provides = marktext
- conflicts = marktext-bin
- conflicts = marktext-git
- source = https://github.com/marktext/marktext/archive/v0.16.1.tar.gz
- sha512sums = b2ef1fa46cef87bac056e2655565122fba323d0af38166654e078c538de2297949ed8fe1d222791734341f30e86be1b3644e2dd4839d1de216f40af25a10165a
+ depends = libsecret
+ source = marktext-0.16.1.tar.gz::https://github.com/marktext/marktext/archive/v0.16.1.tar.gz
+ source = marktext.sh
+ sha256sums = a00aa0caf26ab6e24e6cd5fef2a2a03e2ef46d0bf185c6971d9f00207223633e
+ sha256sums = 5716d0879a683d390caf8c90a9b373cc536256821d80498d0f983a1ac0f364ab
pkgname = marktext