diff options
author | Frank Seifferth | 2019-11-21 12:58:19 +0000 |
---|---|---|
committer | Frank Seifferth | 2019-11-21 13:08:45 +0000 |
commit | e9be8ff4975fd1b56f7d4f9d55d1d7a093bf66db (patch) | |
tree | e8f891e59ddc90e5e910b26f84fc1791b08d74a3 | |
parent | a0847022908e4b1460b001c0d391affe70617153 (diff) | |
download | aur-e9be8ff4975fd1b56f7d4f9d55d1d7a093bf66db.tar.gz |
Fix build issues
Abricotine 0.7.0 depends on an old version of node-spellchecker
that in turn relies on features that have been deprecated in
recent versions of Node.js. Building with `nodejs-lts-dubnium`
works, however. I therefore included `nodejs-lts-dubnium` in
`makedepends`.
-rw-r--r-- | .SRCINFO | 3 | ||||
-rw-r--r-- | PKGBUILD | 11 |
2 files changed, 4 insertions, 10 deletions
@@ -1,11 +1,12 @@ pkgbase = abricotine pkgdesc = A markdown editor with inline preview pkgver = 0.7.0 - pkgrel = 2 + pkgrel = 3 url = http://abricotine.brrd.fr arch = x86_64 license = GPL3 makedepends = npm + makedepends = nodejs-lts-dubnium depends = gconf depends = libxss source = abricotine-0.7.0.tar.gz::https://github.com/brrd/abricotine/archive/0.7.0.tar.gz @@ -3,25 +3,18 @@ pkgname=abricotine pkgver=0.7.0 -pkgrel=2 +pkgrel=3 pkgdesc="A markdown editor with inline preview" arch=('x86_64') url="http://abricotine.brrd.fr" license=('GPL3') depends=('gconf' 'libxss') -makedepends=('npm') +makedepends=('npm' 'nodejs-lts-dubnium') source=("${pkgname}-${pkgver}.tar.gz::https://github.com/brrd/${pkgname}/archive/${pkgver}.tar.gz" "${pkgname}.desktop") sha256sums=('03bc7735be08ceacb412b1fd96d13b8ba14eda629cd8b6c705e8421ee7875442' '164d0042ffe461ca0418709a59be29b433055589b661be4d6555c07df42b383c') -prepare() { - # This is an ugly workaround for fixing outdated dependencies. - cd "${srcdir}/${pkgname^}-${pkgver}" - sed -i 's,"\([0-9]\+\.[0-9]\+\.[0-9]\+"\),"^\1,g' package.json - sed -i 's,"version": "^0.7.0","version": "0.7.0",g' package.json -} - build() { cd "${srcdir}/${pkgname^}-${pkgver}" |