diff options
-rw-r--r-- | .SRCINFO | 4 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 18 insertions, 4 deletions
@@ -1,6 +1,6 @@ pkgbase = zettlr pkgdesc = A markdown editor for writing academic texts and taking notes - pkgver = 1.7.0 + pkgver = 1.7.1 pkgrel = 1 url = https://www.zettlr.com arch = x86_64 @@ -14,7 +14,7 @@ pkgbase = zettlr optdepends = pandoc: For exporting to various format optdepends = texlive-bin: For Latex support optdepends = ttf-lato: Display output in a more comfortable way - source = git+https://github.com/Zettlr/Zettlr.git#tag=v1.7.0 + source = git+https://github.com/Zettlr/Zettlr.git#tag=v1.7.1 sha1sums = SKIP pkgname = zettlr @@ -1,7 +1,7 @@ # Maintainer: BrLi <brli at chakralinux dot org> pkgname=zettlr -pkgver=1.7.0 +pkgver=1.7.1 pkgrel=1 pkgdesc="A markdown editor for writing academic texts and taking notes" arch=('x86_64') @@ -35,8 +35,8 @@ build() { yarn less yarn handlebars yarn lang:refresh - NODE_ENV=production node node_modules/webpack/bin/webpack.js yarn reveal:build + NODE_ENV=production node node_modules/webpack/bin/webpack.js --progress --colors cd "${srcdir}/Zettlr/source" yarn install --pure-lockfile --cache-folder "${srcdir}/cache" @@ -58,6 +58,20 @@ build() { find . -name "yarn.lock" -exec rm -rfv {} + } +# check() { +# cd "${srcdir}/Zettlr" +# # Require electron module to test +# yarn add --cache-folder "${srcdir}/cache" --link-folder "${srcdir}/link" electron +# # The "test" function in package.json +# node node_modules/mocha/bin/mocha +# # The "test-gui" function in package.json, not useful in our case +# # node scripts/test-gui.js +# # Clean up +# yarn remove electron +# rm yarn.lock +# rm node_modules/.bin -rf +# } + package() { local _destdir=usr/lib/"${pkgname}" install -dm755 "${pkgdir}/${_destdir}" |