diff options
author | Daniel Peukert | 2024-01-28 00:13:32 +0100 |
---|---|---|
committer | Daniel Peukert | 2024-01-28 00:13:32 +0100 |
commit | 9e22c50c6575f27653aa0cba3f6b0ecb7c5e506b (patch) | |
tree | 879a61e47f4df3288086d9b304dc43659a7f38fa | |
parent | b4776ea02b04912a46f52422acbdeca6e2eb5400 (diff) | |
download | aur-ocaml-react.tar.gz |
Sync pkgbuilds repo with AUR
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 28 | ||||
-rw-r--r-- | PKGBUILD | 4 |
3 files changed, 17 insertions, 17 deletions
@@ -12,7 +12,7 @@ pkgbase = ocaml-react makedepends = opam depends = ocaml>=4.08.0 options = !strip - source = ocaml-react-1.2.2-3.tar.gz::https://github.com/dbuenzli/react/archive/v1.2.2.tar.gz + source = ocaml-react-1.2.2.tar.gz::https://github.com/dbuenzli/react/archive/v1.2.2.tar.gz sha512sums = ed3a384ea5ae9b4184a985acf38f3aac009e706537209abf8dd86c2d8d749fff6fe40a6a03e9313dd90723e3ff121c4cb55e344212d54f89c81425ea5e07c594 pkgname = ocaml-react 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 @@ -14,7 +14,7 @@ license=('ISC') depends=('ocaml>=4.08.0') makedepends=('ocamlbuild' 'ocaml-findlib' 'ocaml-topkg>=1.0.3' 'opam') options=('!strip') -source=("$pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/dbuenzli/$_projectname/archive/v$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::https://github.com/dbuenzli/$_projectname/archive/v$pkgver.tar.gz") sha512sums=('ed3a384ea5ae9b4184a985acf38f3aac009e706537209abf8dd86c2d8d749fff6fe40a6a03e9313dd90723e3ff121c4cb55e344212d54f89c81425ea5e07c594') _sourcedirectory="$_projectname-$pkgver" @@ -36,5 +36,5 @@ package() { opam-installer --prefix="$pkgdir/usr" --libdir='lib/ocaml' --docdir='share/doc' install -dm755 "$pkgdir/usr/share/licenses/$pkgname" - ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.md" + ln -sf "/usr/share/doc/$pkgname/LICENSE.md" "$pkgdir/usr/share/licenses/$pkgname/ISC" } |