diff options
author | Alad Wenter | 2019-11-30 19:18:20 +0100 |
---|---|---|
committer | Alad Wenter | 2019-11-30 19:18:20 +0100 |
commit | 2504e403ccbe45a791f5af43dae104a8a72d3e4e (patch) | |
tree | c88b1ca48bf108c562de4e3d315fc5ff91094484 | |
download | aur-2504e403ccbe45a791f5af43dae104a8a72d3e4e.tar.gz |
ocaml-psmt2-frontend: init
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 27 |
2 files changed, 42 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..e4eaf91abe6b --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = ocaml-psmt2-frontend + pkgdesc = A simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language + pkgver = 0.2 + pkgrel = 1 + url = https://github.com/Coquera/psmt2-frontend + arch = x86_64 + license = Apache2 + makedepends = ocaml + makedepends = ocaml-menhir + depends = ocaml + source = ocaml-psmt2-frontend-0.2.tar.gz::https://github.com/OCamlPro-Coquera/psmt2-frontend/archive/0.2.tar.gz + sha256sums = 59c25982fcdae1128dea6f260e76bbfd1dd4fe45b34aa168ae084281f4941303 + +pkgname = ocaml-psmt2-frontend + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9e2dcb5e4490 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +pkgname=ocaml-psmt2-frontend +_pkgname=psmt2-frontend +pkgver=0.2 +pkgrel=1 +pkgdesc="A simple parser and type-checker for polomorphic extension of the SMT-LIB 2 language" +arch=('x86_64') +url="https://github.com/Coquera/psmt2-frontend" +license=('Apache2') +depends=('ocaml') +makedepends=('ocaml' 'ocaml-menhir') +source=("$pkgname-$pkgver.tar.gz::https://github.com/OCamlPro-Coquera/psmt2-frontend/archive/$pkgver.tar.gz") +sha256sums=('59c25982fcdae1128dea6f260e76bbfd1dd4fe45b34aa168ae084281f4941303') + +build() { + cd "$_pkgname-$pkgver" + autoconf + + ./configure --prefix=/usr + make +} + +package() { + cd "$_pkgname-$pkgver" + + mkdir -p "$pkgdir/usr/lib/ocaml/psmt2-frontend" + make DESTDIR="$pkgdir/usr" LIBDIR="$pkgdir/usr/lib/ocaml" install +} |