diff options
author | Daniel Peukert | 2024-01-28 00:09:24 +0100 |
---|---|---|
committer | Daniel Peukert | 2024-01-28 00:09:24 +0100 |
commit | 0efe9c6af40a42e8b997c1245e517ec5b5cf3691 (patch) | |
tree | 1c345d13f989593571eb090d3c45ef84b5b6388f | |
parent | f26464203b3205509891af1b3f97effa4a116ab2 (diff) | |
download | aur-0efe9c6af40a42e8b997c1245e517ec5b5cf3691.tar.gz |
Sync pkgbuilds repo with AUR
-rw-r--r-- | .SRCINFO | 2 | ||||
-rw-r--r-- | .gitignore | 28 | ||||
-rw-r--r-- | PKGBUILD | 5 |
3 files changed, 17 insertions, 18 deletions
@@ -13,7 +13,7 @@ pkgbase = ocaml-ounit depends = ocaml-seq depends = ocaml-stdlib-shims options = !strip - source = ocaml-ounit-2.2.7-2.tar.gz::https://github.com/gildor478/ounit/archive/v2.2.7.tar.gz + source = ocaml-ounit-2.2.7.tar.gz::https://github.com/gildor478/ounit/archive/v2.2.7.tar.gz sha512sums = b2cefed53127f724c099391eefe1bce3b43cad5d6b629b5f1e9446b58892639de758f5dbcbd5efb6c409ce77ed01d06693989a3ba909cf79c36c2554c1473396 pkgname = ocaml-ounit 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 @@ -12,14 +12,13 @@ pkgname="ocaml-$_projectname" pkgver='2.2.7' pkgrel='2' pkgdesc='Unit testing framework for OCaml' -# If you're running on aarch64, you have to add it to the arch array of the cppo, ocaml-biniou, ocaml-easy-format and ocaml-yojson AUR dependencies arch=('x86_64' 'aarch64') url="https://github.com/gildor478/$_projectname" license=('MIT') depends=('ocaml>=4.04.0' 'ocaml-lwt>=2.5.2' 'ocaml-seq' 'ocaml-stdlib-shims') makedepends=('dune>=3.0.0' 'ocaml-findlib') options=('!strip') -source=("$pkgname-$pkgver-$pkgrel.tar.gz::$url/archive/v$pkgver.tar.gz") +source=("$pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz") sha512sums=('b2cefed53127f724c099391eefe1bce3b43cad5d6b629b5f1e9446b58892639de758f5dbcbd5efb6c409ce77ed01d06693989a3ba909cf79c36c2554c1473396') _sourcedirectory="$_projectname-$pkgver" @@ -39,5 +38,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.txt" "$pkgdir/usr/share/licenses/$pkgname/LICENSE.txt" + ln -sf "/usr/share/doc/$pkgname/LICENSE.txt" "$pkgdir/usr/share/licenses/$pkgname/MIT" } |