summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorDaniel Peukert2024-01-28 00:15:29 +0100
committerDaniel Peukert2024-01-28 00:15:29 +0100
commit5b06e15c7140888a885d68bb690ecd3fa19b7d7f (patch)
treec465947616a663cb8857c421e4d5ef3b87695dc8
parent26b4be16bc53d1658a3cb2f0d48f5f6b1a44ff4b (diff)
downloadaur-ocaml-uchar.tar.gz
Sync pkgbuilds repo with AUR
-rw-r--r--.SRCINFO4
-rw-r--r--.gitignore28
-rw-r--r--PKGBUILD4
3 files changed, 18 insertions, 18 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7985d881c0f8..69ecf615a681 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -5,14 +5,14 @@ pkgbase = ocaml-uchar
url = https://github.com/ocaml/uchar
arch = x86_64
arch = aarch64
- license = custom:LGPL2.1 with linking exception
+ license = LGPL-2.1-only WITH OCaml-LGPL-linking-exception
makedepends = ocamlbuild
makedepends = ocaml-findlib
makedepends = ocaml-topkg
makedepends = opam
depends = ocaml>=3.12.0
options = !strip
- source = ocaml-uchar-0.0.2-2.tar.gz::https://github.com/ocaml/uchar/archive/v0.0.2.tar.gz
+ source = ocaml-uchar-0.0.2.tar.gz::https://github.com/ocaml/uchar/archive/v0.0.2.tar.gz
sha512sums = 487a9706cf9dfc9b9c94442a51766cc211687d6ebcb4dd3c94d09cb1ed6d7fd61e966e91a4121fe2d1681b2fd6bfee9079d3bccccdb6d65ba2111524ab5dd1bc
pkgname = ocaml-uchar
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
diff --git a/PKGBUILD b/PKGBUILD
index ad0cbdd96c62..81488661fc17 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -7,11 +7,11 @@ pkgrel='2'
pkgdesc="Compatibility library for OCaml's Uchar module"
arch=('x86_64' 'aarch64')
url="https://github.com/ocaml/$_projectname"
-license=('custom:LGPL2.1 with linking exception')
+license=('LGPL-2.1-only WITH OCaml-LGPL-linking-exception')
depends=('ocaml>=3.12.0')
makedepends=('ocamlbuild' 'ocaml-findlib' 'ocaml-topkg' 'opam')
options=('!strip')
-source=("$pkgname-$pkgver-$pkgrel.tar.gz::https://github.com/ocaml/$_projectname/archive/v$pkgver.tar.gz")
+source=("$pkgname-$pkgver.tar.gz::https://github.com/ocaml/$_projectname/archive/v$pkgver.tar.gz")
sha512sums=('487a9706cf9dfc9b9c94442a51766cc211687d6ebcb4dd3c94d09cb1ed6d7fd61e966e91a4121fe2d1681b2fd6bfee9079d3bccccdb6d65ba2111524ab5dd1bc')
_sourcedirectory="$_projectname-$pkgver"