summarylogtreecommitdiffstats
path: root/PKGBUILD
diff options
context:
space:
mode:
authorKirill Goncharov2019-08-30 02:14:52 +0300
committerKirill Goncharov2019-08-30 02:28:57 +0300
commit41dbff2a6401f07bda41fecbf7daa9463533a396 (patch)
treef19ba2583cef5a34ebbf7f4fcbfe2d7d58fc6118 /PKGBUILD
parente423412061f745959ded4596208658341e20272f (diff)
downloadaur-41dbff2a6401f07bda41fecbf7daa9463533a396.tar.gz
Remove husky from dependencies
If husky remains in dependency list, running 'npm install' will set up unwanted git hooks in joplin-pkgbuild repo.
Diffstat (limited to 'PKGBUILD')
-rw-r--r--PKGBUILD3
1 files changed, 3 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD
index 8432eef0689e..4ee5faccd1e1 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -21,6 +21,9 @@ sha256sums=('60f203c91887c692bf09d4f89c905a08d0aa7e42944983332530405c0e1449c0'
'7aedc76da32f5bc8b7b015c3a87924e9bd6661e3051c84245e965e97348173b6')
build() {
+ # Remove husky (git hooks) from dependencies
+ cd "${srcdir}/${pkgname}-${pkgver}"
+ sed -i '/"husky": ".*"/d' package.json
# Install dependencies for the Tools used on another projects
cd "${srcdir}/${pkgname}-${pkgver}/Tools"