diff options
author | Daniel Peukert | 2024-01-28 00:13:51 +0100 |
---|---|---|
committer | Daniel Peukert | 2024-01-28 00:13:51 +0100 |
commit | 8a06cac995caed3bbd0800d756469ef3a4d16ab7 (patch) | |
tree | fcf8bbffce365e133a7ac404d49fecb8e7485111 | |
parent | 3f2c19170eddb412ff2cea4b49412cfbea01b826 (diff) | |
download | aur-8a06cac995caed3bbd0800d756469ef3a4d16ab7.tar.gz |
Sync pkgbuilds repo with AUR
-rw-r--r-- | .gitignore | 28 | ||||
-rw-r--r-- | PKGBUILD | 3 |
2 files changed, 15 insertions, 16 deletions
diff --git a/.gitignore b/.gitignore index 82b3c183d5d4..076d904dd4ac 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/main/ArchLinuxPackages.gitignore +/*.tar +/*.tar.* +/*.rpm +/*.jar +/*.exe +/*.msi +/*.zip +/*.tgz +/*.log +/*.log.* +/*.sig @@ -5,7 +5,6 @@ pkgname="ocaml-$_projectname" pkgver='3.2' pkgrel='1' pkgdesc='Unicode-friendly OCaml lexer generator' -# If you're running on aarch64, you have to add it to the arch array of the ocaml-biniou, ocaml-easy-format and ocaml-yojson AUR dependencies arch=('x86_64' 'aarch64') url="https://github.com/ocaml-community/$_projectname" license=('MIT') @@ -33,5 +32,5 @@ package() { DESTDIR="$pkgdir" dune install --prefix '/usr' --libdir '/usr/lib/ocaml' --docdir '/usr/share/doc' --mandir '/usr/share/man' --release --verbose install -dm755 "$pkgdir/usr/share/licenses/$pkgname" - ln -sf "/usr/share/doc/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/LICENSE" + ln -sf "/usr/share/doc/$pkgname/LICENSE" "$pkgdir/usr/share/licenses/$pkgname/MIT" } |