[arch-commits] Commit in capstone/repos/community-x86_64 (PKGBUILD PKGBUILD)

Antonio Rojas arojas at gemini.archlinux.org
Thu Apr 28 18:07:23 UTC 2022


    Date: Thursday, April 28, 2022 @ 18:07:23
  Author: arojas
Revision: 1191684

archrelease: copy trunk to community-x86_64

Added:
  capstone/repos/community-x86_64/PKGBUILD
    (from rev 1191683, capstone/trunk/PKGBUILD)
Deleted:
  capstone/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   90 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 45 insertions(+), 45 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-04-28 18:07:13 UTC (rev 1191683)
+++ PKGBUILD	2022-04-28 18:07:23 UTC (rev 1191684)
@@ -1,45 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: M0Rf30
-
-pkgbase=capstone
-pkgname=('capstone' 'python-capstone')
-pkgver=4.0.2
-pkgrel=5
-pkgdesc='Lightweight multi-platform, multi-architecture disassembly framework'
-url='https://www.capstone-engine.org/index.html'
-arch=('x86_64')
-license=('BSD')
-makedepends=('glibc' 'python' 'python-setuptools')
-options=('staticlibs')
-source=(https://github.com/aquynh/capstone/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
-sha512sums=('7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e')
-b2sums=('435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9')
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  CFLAGS+=" ${CPPFLAGS}"
-  make V=1
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  make check
-}
-
-package_capstone() {
-  depends=('glibc')
-  provides=('libcapstone.so')
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 docs/README -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-package_python-capstone() {
-  depends=('capstone' 'python')
-  cd ${pkgbase}-${pkgver}/bindings/python
-  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
-  install -Dm 644 ../../LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: capstone/repos/community-x86_64/PKGBUILD (from rev 1191683, capstone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-04-28 18:07:23 UTC (rev 1191684)
@@ -0,0 +1,45 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: M0Rf30
+
+pkgbase=capstone
+pkgname=('capstone' 'python-capstone')
+pkgver=4.0.2
+pkgrel=6
+pkgdesc='Lightweight multi-platform, multi-architecture disassembly framework'
+url='https://www.capstone-engine.org/index.html'
+arch=('x86_64')
+license=('BSD')
+makedepends=('glibc' 'python' 'python-setuptools')
+options=('staticlibs')
+source=(https://github.com/aquynh/capstone/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e')
+b2sums=('435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  CFLAGS+=" ${CPPFLAGS} -ffat-lto-objects"
+  make V=1
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  make check
+}
+
+package_capstone() {
+  depends=('glibc')
+  provides=('libcapstone.so')
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 docs/README -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+package_python-capstone() {
+  depends=('capstone' 'python')
+  cd ${pkgbase}-${pkgver}/bindings/python
+  python setup.py install -O1 --root="${pkgdir}" --prefix=/usr
+  install -Dm 644 ../../LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list