[arch-commits] Commit in z3/repos/community-staging-x86_64 (PKGBUILD PKGBUILD)
Felix Yan
felixonmars at archlinux.org
Thu Nov 12 17:59:22 UTC 2020
Date: Thursday, November 12, 2020 @ 17:59:21
Author: felixonmars
Revision: 752900
archrelease: copy trunk to community-staging-x86_64
Added:
z3/repos/community-staging-x86_64/PKGBUILD
(from rev 752899, z3/trunk/PKGBUILD)
Deleted:
z3/repos/community-staging-x86_64/PKGBUILD
----------+
PKGBUILD | 110 ++++++++++++++++++++++++++++++-------------------------------
1 file changed, 55 insertions(+), 55 deletions(-)
Deleted: PKGBUILD
===================================================================
--- PKGBUILD 2020-11-12 17:59:15 UTC (rev 752899)
+++ PKGBUILD 2020-11-12 17:59:21 UTC (rev 752900)
@@ -1,55 +0,0 @@
-# Maintainer: Felix Yan <felixonmars at archlinux.org>
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: rudy.matela
-
-pkgbase=z3
-pkgname=('z3' 'python-z3')
-pkgver=4.8.9
-pkgrel=3
-pkgdesc='High-performance theorem prover'
-url='https://github.com/Z3Prover/z3'
-arch=('x86_64')
-license=('MIT')
- # 'java-environment-common' 'mono' 'ocaml' 'ocaml-findlib'
-makedepends=('cmake' 'python' 'python-setuptools' 'gcc-libs')
-source=(https://github.com/Z3Prover/z3/archive/z3-${pkgver}.tar.gz)
-sha512sums=('a50da5c3f9e27d3e804c1b71f648a3dbd5a55223b7344d66f191a1b34a4d787810abd976840d3ab3878aaf5c96d89f5a517cac0781b82aa927a9d8d54836d54f')
-
-prepare() {
- cd ${pkgbase}-z3-${pkgver}
- mkdir -p build
-}
-
-build() {
- cd ${pkgbase}-z3-${pkgver}/build
- cmake .. \
- -DCMAKE_BUILD_TYPE=Release \
- -DCMAKE_INSTALL_PREFIX=/usr \
- -DCMAKE_INSTALL_LIBDIR=lib \
- -DZ3_LINK_TIME_OPTIMIZATION=1 \
- -DZ3_BUILD_PYTHON_BINDINGS=1 \
- -DPYTHON_EXECUTABLE=/usr/bin/python
- make
-}
-
-package_z3() {
- depends=('gcc-libs')
- provides=('libz3' 'libz3.so')
- cd ${pkgbase}-z3-${pkgver}/build
- make DESTDIR="${pkgdir}" install
- install -Dm 644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
- rm -r "${pkgdir}"/usr/lib/python*
-}
-
-package_python-z3() {
- depends=('python' 'z3')
- cd ${pkgbase}-z3-${pkgver}/build
- make DESTDIR="${pkgdir}" install
- install -Dm 644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
- cd "${pkgdir}"
- rm -r usr/include usr/bin usr/lib/{cmake,pkgconfig,lib*}
- python -m compileall .
- python -O -m compileall .
-}
-
-# vim: ts=2 sw=2 et:
Copied: z3/repos/community-staging-x86_64/PKGBUILD (from rev 752899, z3/trunk/PKGBUILD)
===================================================================
--- PKGBUILD (rev 0)
+++ PKGBUILD 2020-11-12 17:59:21 UTC (rev 752900)
@@ -0,0 +1,55 @@
+# Maintainer: Felix Yan <felixonmars at archlinux.org>
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: rudy.matela
+
+pkgbase=z3
+pkgname=('z3' 'python-z3')
+pkgver=4.8.9
+pkgrel=4
+pkgdesc='High-performance theorem prover'
+url='https://github.com/Z3Prover/z3'
+arch=('x86_64')
+license=('MIT')
+ # 'java-environment-common' 'mono' 'ocaml' 'ocaml-findlib'
+makedepends=('cmake' 'python' 'python-setuptools' 'gcc-libs')
+source=(https://github.com/Z3Prover/z3/archive/z3-${pkgver}.tar.gz)
+sha512sums=('a50da5c3f9e27d3e804c1b71f648a3dbd5a55223b7344d66f191a1b34a4d787810abd976840d3ab3878aaf5c96d89f5a517cac0781b82aa927a9d8d54836d54f')
+
+prepare() {
+ cd ${pkgbase}-z3-${pkgver}
+ mkdir -p build
+}
+
+build() {
+ cd ${pkgbase}-z3-${pkgver}/build
+ cmake .. \
+ -DCMAKE_BUILD_TYPE=Release \
+ -DCMAKE_INSTALL_PREFIX=/usr \
+ -DCMAKE_INSTALL_LIBDIR=lib \
+ -DZ3_LINK_TIME_OPTIMIZATION=1 \
+ -DZ3_BUILD_PYTHON_BINDINGS=1 \
+ -DPYTHON_EXECUTABLE=/usr/bin/python
+ make
+}
+
+package_z3() {
+ depends=('gcc-libs')
+ provides=('libz3' 'libz3.so')
+ cd ${pkgbase}-z3-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ rm -r "${pkgdir}"/usr/lib/python*
+}
+
+package_python-z3() {
+ depends=('python' 'z3')
+ cd ${pkgbase}-z3-${pkgver}/build
+ make DESTDIR="${pkgdir}" install
+ install -Dm 644 ../LICENSE.txt -t "${pkgdir}/usr/share/licenses/${pkgname}"
+ cd "${pkgdir}"
+ rm -r usr/include usr/bin usr/lib/{cmake,pkgconfig,lib*}
+ python -m compileall .
+ python -O -m compileall .
+}
+
+# vim: ts=2 sw=2 et:
More information about the arch-commits
mailing list