mirror of
https://github.com/archlinux/aur.git
synced 2026-02-12 19:11:17 +01:00
update to 1.4.0
This commit is contained in:
parent
c834e344e9
commit
1b6308f906
2 changed files with 14 additions and 15 deletions
10
.SRCINFO
10
.SRCINFO
|
|
@ -1,9 +1,9 @@
|
|||
# Generated by mksrcinfo v8
|
||||
# Thu Dec 28 10:42:34 UTC 2017
|
||||
# Thu Jan 25 22:33:46 UTC 2018
|
||||
pkgbase = ocaml-yojson
|
||||
pkgdesc = An optimized parsing and printing library for JSON
|
||||
pkgver = 1.3.3
|
||||
pkgrel = 2
|
||||
pkgver = 1.4.0
|
||||
pkgrel = 1
|
||||
url = https://github.com/mjambon/yojson
|
||||
arch = i686
|
||||
arch = x86_64
|
||||
|
|
@ -17,8 +17,8 @@ pkgbase = ocaml-yojson
|
|||
options = !makeflags
|
||||
options = !strip
|
||||
options = staticlibs
|
||||
source = https://github.com/mjambon/yojson/archive/v1.3.3.tar.gz
|
||||
sha256sums = de5ad4fd681f58ae5a670f0a43684873cc6ca50bdf52e63ac0c4b8a8bbe1d51a
|
||||
source = https://github.com/mjambon/yojson/archive/v1.4.0.tar.gz
|
||||
sha256sums = 7d06340b769ed6ff5b2171a0e820d1e8f4337aef3929090fc976efe845639146
|
||||
|
||||
pkgname = ocaml-yojson
|
||||
|
||||
|
|
|
|||
19
PKGBUILD
19
PKGBUILD
|
|
@ -2,8 +2,8 @@
|
|||
|
||||
pkgname=ocaml-yojson
|
||||
_oname=yojson
|
||||
pkgver=1.3.3
|
||||
pkgrel=2
|
||||
pkgver=1.4.0
|
||||
pkgrel=1
|
||||
pkgdesc='An optimized parsing and printing library for JSON'
|
||||
arch=('i686' 'x86_64' 'armv7h')
|
||||
options=('!makeflags' '!strip' 'staticlibs')
|
||||
|
|
@ -12,16 +12,15 @@ depends=('ocaml-biniou' 'ocaml-easy-format')
|
|||
makedepends=('ocaml-findlib' 'ocamlbuild' 'cppo')
|
||||
url="https://github.com/mjambon/yojson"
|
||||
source=("https://github.com/mjambon/${_oname}/archive/v${pkgver}.tar.gz")
|
||||
sha256sums=('de5ad4fd681f58ae5a670f0a43684873cc6ca50bdf52e63ac0c4b8a8bbe1d51a')
|
||||
sha256sums=('7d06340b769ed6ff5b2171a0e820d1e8f4337aef3929090fc976efe845639146')
|
||||
build() {
|
||||
cd $srcdir/$_oname-$pkgver
|
||||
make && make doc
|
||||
cd ${srcdir}/${_oname}-${pkgver}
|
||||
make all
|
||||
}
|
||||
|
||||
package() {
|
||||
cd $srcdir/$_oname-$pkgver
|
||||
mkdir -p $pkgdir/usr/bin $pkgdir$(ocamlfind printconf destdir)
|
||||
make OCAMLFIND_DESTDIR=${pkgdir}$(ocamlfind printconf destdir) install BINDIR="${pkgdir}/usr/bin"
|
||||
install -dm755 "${pkgdir}/usr/share/doc/$pkgname"
|
||||
install -t "${pkgdir}/usr/share/doc/$pkgname" doc/*
|
||||
cd ${srcdir}/${_oname}-${pkgver}
|
||||
export OCAMLFIND_DESTDIR="${pkgdir}/$(ocamlfind printconf destdir)"
|
||||
install -dm755 "$OCAMLFIND_DESTDIR"
|
||||
jbuilder install
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue