From 2196cfa3d3f0002e64c1135012cba0b968c55042 Mon Sep 17 00:00:00 2001 From: "B. Wilson" Date: Mon, 19 Aug 2019 10:44:33 +0900 Subject: [PATCH] New package: metamath-0.178 --- srcpkgs/metamath/template | 24 ++++++++++++++++++++++++ srcpkgs/metamath/update | 2 ++ 2 files changed, 26 insertions(+) create mode 100644 srcpkgs/metamath/template create mode 100644 srcpkgs/metamath/update diff --git a/srcpkgs/metamath/template b/srcpkgs/metamath/template new file mode 100644 index 00000000000..f7ac8517876 --- /dev/null +++ b/srcpkgs/metamath/template @@ -0,0 +1,24 @@ +# Template file for 'metamath' +pkgname=metamath +version=0.178 +revision=1 +wrksrc="${pkgname}" +build_style=gnu-configure +hostmakedepends="autoconf automake" +short_desc="Mathematical proof checker based on a minimalist metalogic" +maintainer="B. Wilson " +license="GPL-2.0-or-later" +homepage="http://us.metamath.org/" +distfiles="http://us.metamath.org/downloads/${pkgname}.tar.bz2 + http://us.metamath.org/downloads/metamath.pdf" +checksum="ecb95fb6aeca84694081d2e85957a42fb088a9b945c38f8f7b0bca8fd132aa79 + 245ebab16d148a9772f6c3751ba8f34ee15bed6bbb61a464f4c2a2f9c56f8059" +skip_extraction="metamath.pdf" + +pre_configure() { + autoreconf -i +} + +post_install() { + vdoc "${XBPS_SRCDISTDIR}/${pkgname}-${version}/metamath.pdf" +} diff --git a/srcpkgs/metamath/update b/srcpkgs/metamath/update new file mode 100644 index 00000000000..d968c96b084 --- /dev/null +++ b/srcpkgs/metamath/update @@ -0,0 +1,2 @@ +site=http://us.metamath.org/index.html +pattern="metamath program \(version \K[\d.]+"