mirror of
https://github.com/archlinux/aur.git
synced 2026-02-20 20:43:47 +01:00
Update to 2.0.2
This commit is contained in:
parent
2002631a50
commit
9b237f22b1
2 changed files with 13 additions and 6 deletions
6
.SRCINFO
6
.SRCINFO
|
|
@ -1,7 +1,7 @@
|
|||
pkgbase = ocaml-yojson
|
||||
pkgdesc = Low level JSON binary for OCaml
|
||||
pkgver = 1.7.0
|
||||
pkgrel = 5
|
||||
pkgver = 2.0.2
|
||||
pkgrel = 1
|
||||
url = https://github.com/ocaml-community/yojson
|
||||
arch = x86_64
|
||||
license = BSD
|
||||
|
|
@ -14,7 +14,7 @@ pkgbase = ocaml-yojson
|
|||
conflicts = ocaml-yojson
|
||||
options = !strip
|
||||
options = staticlibs
|
||||
source = https://github.com/ocaml-community/yojson/releases/download/1.7.0/yojson-1.7.0.tbz
|
||||
source = https://github.com/ocaml-community/yojson/releases/download/2.0.2/yojson-2.0.2.tbz
|
||||
sha256sums = 656fc65f794186274f8b961dc38daba9e2de2fc993829291defbda2186812cc6
|
||||
|
||||
pkgname = ocaml-yojson
|
||||
|
|
|
|||
13
PKGBUILD
13
PKGBUILD
|
|
@ -3,8 +3,8 @@
|
|||
|
||||
_pkgname=yojson
|
||||
pkgname=ocaml-${_pkgname}
|
||||
pkgver=1.7.0
|
||||
pkgrel=5
|
||||
pkgver=2.0.2
|
||||
pkgrel=1
|
||||
pkgdesc="Low level JSON binary for OCaml"
|
||||
arch=('x86_64')
|
||||
url="https://github.com/ocaml-community/${_pkgname}"
|
||||
|
|
@ -15,10 +15,17 @@ conflicts=('ocaml-yojson')
|
|||
depends=('ocaml' 'ocaml-biniou' 'ocaml-easy-format')
|
||||
makedepends=('dune' 'cppo')
|
||||
source=(https://github.com/ocaml-community/${_pkgname}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tbz)
|
||||
sha256sums=('656fc65f794186274f8b961dc38daba9e2de2fc993829291defbda2186812cc6')
|
||||
sha256sums=('876bb6f38af73a84a29438a3da35e4857c60a14556a606525b148c6fdbe5461b')
|
||||
|
||||
build() {
|
||||
cd ${_pkgname}-${pkgver}
|
||||
|
||||
# no benchmarks
|
||||
rm -rf bench/
|
||||
|
||||
# we're using ocaml > 4.08
|
||||
sed -i '/libraries seq/d' lib/dune
|
||||
|
||||
make all
|
||||
}
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue