summarylogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--.SRCINFO9
-rw-r--r--PKGBUILD13
2 files changed, 10 insertions, 12 deletions
diff --git a/.SRCINFO b/.SRCINFO
index b1b2d155da0..419f8e2fc58 100644
--- a/.SRCINFO
+++ b/.SRCINFO
@@ -1,8 +1,6 @@
-# Generated by mksrcinfo v8
-# Thu May 17 22:42:01 UTC 2018
pkgbase = ocaml-zed
pkgdesc = An abstract engine for text editing
- pkgver = 1.6
+ pkgver = 2.0.3
pkgrel = 1
url = https://github.com/diml/zed
arch = i686
@@ -12,9 +10,10 @@ pkgbase = ocaml-zed
depends = ocaml
depends = ocaml-camomile
depends = ocaml-react
+ depends = ocaml-charinfo_width
options = !strip
- source = https://github.com/diml/zed/archive/1.6.tar.gz
- md5sums = db050d98f4b7051530e023a5e2c4f438
+ source = https://github.com/diml/zed/archive/2.0.3.tar.gz
+ sha512sums = b1c790d2a0d0b6fe8d43a718716910ebb38c16a8adad553f08120dfb653da971312ce760d68efb458b662bc8c39c60c46b9c3e951f61535f7972b444f4eabdbc
pkgname = ocaml-zed
diff --git a/PKGBUILD b/PKGBUILD
index 9501472c6fb..d6767f36cec 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -3,30 +3,29 @@
# Contributor: Taylor Venable <taylor@metasyntax.net>
pkgname=ocaml-zed
-pkgver=1.6
+pkgver=2.0.3
pkgrel=1
pkgdesc="An abstract engine for text editing"
arch=('i686' 'x86_64')
url='https://github.com/diml/zed'
license=('BSD')
-depends=('ocaml' 'ocaml-camomile' 'ocaml-react')
+depends=('ocaml' 'ocaml-camomile' 'ocaml-react' 'ocaml-charinfo_width')
makedepends=('dune')
options=('!strip')
source=("https://github.com/diml/zed/archive/${pkgver}.tar.gz")
-md5sums=('db050d98f4b7051530e023a5e2c4f438')
+sha512sums=('b1c790d2a0d0b6fe8d43a718716910ebb38c16a8adad553f08120dfb653da971312ce760d68efb458b662bc8c39c60c46b9c3e951f61535f7972b444f4eabdbc')
build() {
cd "${srcdir}/zed-${pkgver}"
- jbuilder build
+ dune build --profile release
}
package() {
cd "${srcdir}/zed-${pkgver}"
- mkdir -p "${pkgdir}$(ocamlfind printconf destdir)" "${pkgdir}/usr/share"
- jbuilder install --prefix "${pkgdir}/usr" --libdir "${pkgdir}$(ocamlfind printconf destdir)"
- mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
+ dune install --destdir "${pkgdir}"
install -Dm644 "LICENSE" "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+ mv "${pkgdir}/usr/doc" "${pkgdir}/usr/share/"
}