diff options
-rw-r--r-- | .SRCINFO | 5 | ||||
-rw-r--r-- | PKGBUILD | 9 |
2 files changed, 8 insertions, 6 deletions
@@ -1,15 +1,16 @@ pkgbase = ocaml-biniou pkgdesc = An optimized parsing and printing library for JSON pkgver = 1.2.1 - pkgrel = 2 + pkgrel = 3 url = https://github.com/ocaml-community/biniou arch = x86_64 license = BSD makedepends = dune depends = ocaml-easy-format + provides = ocaml-biniou options = !strip options = staticlibs - source = ocaml-biniou-1.2.1.tar.gz::https://github.com/ocaml-community/biniou/archive/1.2.1.tar.gz + source = https://github.com/ocaml-community/biniou/releases/download/1.2.1/biniou-1.2.1.tbz sha256sums = 9e38566ede8f2593f9f743fb7da1c8a8674451eabe326b3e2b42a87834a66cb5 pkgname = ocaml-biniou @@ -1,19 +1,20 @@ # Author: Bruno Pagani <archange@archlinux.org> -# Maintainer: nerflad <nerflad@gmail.com> +# Maintainer: Zhiwei Chen <condy0919@gmail.com> _pkgname=biniou pkgname=ocaml-${_pkgname} pkgver=1.2.1 -pkgrel=2 +pkgrel=3 pkgdesc="An optimized parsing and printing library for JSON" arch=('x86_64') url="https://github.com/ocaml-community/${_pkgname}" license=('BSD') options=('!strip' 'staticlibs') +provides=('ocaml-biniou') depends=('ocaml-easy-format') makedepends=('dune') -source=(${pkgname}-${pkgver}.tar.gz::"${url}/archive/${pkgver}.tar.gz") -sha256sums=('9e38566ede8f2593f9f743fb7da1c8a8674451eabe326b3e2b42a87834a66cb5') +source=("${url}/releases/download/${pkgver}/${_pkgname}-${pkgver}.tbz") +sha256sums=('35546c68b1929a8e6d27a3b39ecd17b38303a0d47e65eb9d1480c2061ea84335') build() { cd ${_pkgname}-${pkgver} |