summarylogtreecommitdiffstats
diff options
context:
space:
mode:
authorcondy2020-02-07 19:25:19 +0800
committercondy2020-02-07 19:25:19 +0800
commit400a8dcb2b2b9e26c056341664954c33dd2a22e6 (patch)
tree6a9cbbcc98ee5aa4deb93c06be6e00ef441c04c3
parent81eb894c996072b2828b722ea36f296aadb9610f (diff)
downloadaur-400a8dcb2b2b9e26c056341664954c33dd2a22e6.tar.gz
repackage
-rw-r--r--.SRCINFO5
-rw-r--r--PKGBUILD9
2 files changed, 8 insertions, 6 deletions
diff --git a/.SRCINFO b/.SRCINFO
index 7002600c892..cb18b29409f 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -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
diff --git a/PKGBUILD b/PKGBUILD
index a22957e6f93..c69d86b7611 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -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}