summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorhrdl2022-08-10 20:29:39 +0200
committerhrdl2022-08-10 20:29:39 +0200
commitc6bc6ce9fd559279159edf425f7d163a0279dd07 (patch)
tree6ad180a9253a435036f434e567f442955481f7d9 /PKGBUILD
parent007b1b865e728898ba0f295cfffd3cd617f3dbcb (diff)
downloadaur-c6bc6ce9fd559279159edf425f7d163a0279dd07.tar.gz
Fix dependencies and move submodule handling to prepare()
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD10
1 files changed, 3 insertions, 7 deletions
diff --git a/PKGBUILD b/PKGBUILD
index e178020cfdf6..a9988ffcb918 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,13 +2,13 @@
pkgname=zotero-translation-server-git
pkgver=20220803.a30a15d
-pkgrel=2
+pkgrel=3
pkgdesc='The Zotero translation server lets you use Zotero translators without the Zotero client.'
arch=('x86_64')
url='https://github.com/zotero/translation-server'
license=('AGPL3')
-depends=('nodejs')
-makedepends=('npm' 'git')
+depends=('npm')
+makedepends=('git')
_src_dir_1=translation-server
_src_dir_2=translate
_src_dir_3=translators
@@ -35,10 +35,6 @@ pkgver() {
prepare() {
cd ${_src_dir_1}
sed -i '/"host"/s/0.0.0.0/127.0.0.1/' config/default.json
-}
-
-build() {
- cd ${_src_dir_1}
git submodule init
git config submodule.modules/translate.url "$srcdir/translate"
git config submodule.modules/translators.url "$srcdir/translators"