summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorEric Bailey2018-01-25 17:34:54 -0500
committerEric Bailey2018-01-25 17:34:54 -0500
commitb1b222c5104b24892780baabb797239bf3ee5e5e (patch)
tree44679ce5e47ef8f154ce0ce71b66bd4e06ae01e1
parentcd14e4b4ab8ad2ff5b90a0b333bef8523d16ea79 (diff)
downloadaur-b1b222c5104b24892780baabb797239bf3ee5e5e.tar.gz
update to 1.2.0
-rw-r--r--.SRCINFO8
-rw-r--r--PKGBUILD17
2 files changed, 12 insertions, 13 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 52de283b182..6e9bc646e4d 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,8 @@
# Generated by mksrcinfo v8
-# Fri Nov 17 18:32:58 UTC 2017
+# Thu Jan 25 22:34:44 UTC 2018
pkgbase = ocaml-biniou
pkgdesc = A binary data serialization format inspired by JSON
- pkgver = 1.0.12
+ pkgver = 1.2.0
pkgrel = 1
url = https://github.com/mjambon/biniou
arch = i686
@@ -16,8 +16,8 @@ pkgbase = ocaml-biniou
options = !strip
options = !makeflags
options = staticlibs
- source = https://github.com/mjambon/biniou/archive/v1.0.12.tar.gz
- sha256sums = b946e720d94d524b95bb0401d9e47a971e9234df808fe5f12601140ab09ec686
+ source = https://github.com/mjambon/biniou/archive/v1.2.0.tar.gz
+ sha256sums = d939a9d58660201738c3d22ad5b7976deb2917b22591a07525807bb741357d36
pkgname = ocaml-biniou
diff --git a/PKGBUILD b/PKGBUILD
index 2d95543710d..e062804b0c5 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -2,7 +2,7 @@
pkgname=ocaml-biniou
_oname=biniou
-pkgver=1.0.12
+pkgver=1.2.0
pkgrel=1
pkgdesc='A binary data serialization format inspired by JSON'
arch=('i686' 'x86_64' 'armv7h')
@@ -12,16 +12,15 @@ depends=('glibc')
makedepends=('ocaml-easy-format' 'ocaml-findlib' 'ocamlbuild')
url="https://github.com/mjambon/biniou"
source=("https://github.com/mjambon/${_oname}/archive/v${pkgver}.tar.gz")
-sha256sums=('b946e720d94d524b95bb0401d9e47a971e9234df808fe5f12601140ab09ec686')
+sha256sums=('d939a9d58660201738c3d22ad5b7976deb2917b22591a07525807bb741357d36')
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
}