diff options
author | Daniel Peukert | 2023-10-08 12:01:45 +0200 |
---|---|---|
committer | Daniel Peukert | 2023-10-08 12:01:45 +0200 |
commit | d55a338b677d9b4fff63cac0a21ba85f6a74101e (patch) | |
tree | 662635e68f088e4d87c5e5b401d9f02ea7e78ffb | |
parent | 0fd56426b48751deec953d669e0acbbeea9a3ea0 (diff) | |
download | aur-d55a338b677d9b4fff63cac0a21ba85f6a74101e.tar.gz |
Fix mongodb-compass build correctly
-rw-r--r-- | .gitignore | 28 | ||||
-rw-r--r-- | PKGBUILD | 4 |
2 files changed, 14 insertions, 18 deletions
diff --git a/.gitignore b/.gitignore index 82b3c183d5d4..004b0a3a8706 100644 --- a/.gitignore +++ b/.gitignore @@ -1,14 +1,14 @@ -# from https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore -*.tar -*.tar.* -*.rpm -*.jar -*.exe -*.msi -*.zip -*.tgz -*.log -*.log.* -*.sig - -*/ +# Only exclude files from the root of the package repo, as some AUR helpers download sources into the directory of the repo, +# which causes the gitignore file to apply to them too, which breaks some builds +# Based on https://github.com/github/gitignore/blob/master/ArchLinuxPackages.gitignore +/*.tar +/*.tar.* +/*.rpm +/*.jar +/*.exe +/*.msi +/*.zip +/*.tgz +/*.log +/*.log.* +/*.sig @@ -31,10 +31,6 @@ _sourcedirectory="compass-$_pkgver" prepare() { cd "$srcdir/$_sourcedirectory/" - # Due to a bug in lerna, having a git repo in the parent directory is not supported (this is the case in some AUR helpers), - # we init a git repo in our source directory to make sure this doesn't happen - git init - # Disable husky command sed -i '/husky install/d' 'package.json' |