From aa5c546ee3ee88754902dea32983dce5dd283385 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.183 --- .../patches/remove-missing-file-refs.patch | 17 +++++++++++++ srcpkgs/metamath/template | 25 +++++++++++++++++++ srcpkgs/metamath/update | 2 ++ 3 files changed, 44 insertions(+) create mode 100644 srcpkgs/metamath/patches/remove-missing-file-refs.patch create mode 100644 srcpkgs/metamath/template create mode 100644 srcpkgs/metamath/update diff --git a/srcpkgs/metamath/patches/remove-missing-file-refs.patch b/srcpkgs/metamath/patches/remove-missing-file-refs.patch new file mode 100644 index 00000000000..6f99100cfba --- /dev/null +++ b/srcpkgs/metamath/patches/remove-missing-file-refs.patch @@ -0,0 +1,17 @@ +--- Makefile.am 2020-01-27 20:43:55.650195602 +0900 ++++ Makefile.am 2020-01-27 20:44:18.876578014 +0900 +@@ -36,14 +36,6 @@ + mmwtex.c \ + $(noinst_HEADERS) + +-dist_pkgdata_DATA = \ +- big-unifier.mm \ +- demo0.mm \ +- miu.mm \ +- peano.mm \ +- ql.mm \ +- set.mm +- + + EXTRA_DIST = \ + LICENSE.TXT \ diff --git a/srcpkgs/metamath/template b/srcpkgs/metamath/template new file mode 100644 index 00000000000..8e42ed2f263 --- /dev/null +++ b/srcpkgs/metamath/template @@ -0,0 +1,25 @@ +# Template file for 'metamath' +pkgname=metamath +version=0.182 +revision=1 +archs="~arm*" +wrksrc="${pkgname}" +build_style=gnu-configure +hostmakedepends="autoconf automake unzip" +short_desc="Proof verifier based on a minimalist metalogic" +maintainer="B. Wilson " +license="GPL-2.0-or-later" +homepage="http://us.metamath.org/" +distfiles="http://us2.metamath.org/downloads/metamath-program.zip + http://us2.metamath.org/downloads/metamath.pdf" +checksum="e1b89de6d88bb3c4f76510750b4e3fc9dcc3dae0ddca79cd6a6fd2b742732e4c + 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.]+"