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

Antonio Rojas arojas at gemini.archlinux.org
Wed May 4 09:15:00 UTC 2022


    Date: Wednesday, May 4, 2022 @ 09:15:00
  Author: arojas
Revision: 1192837

archrelease: copy trunk to community-x86_64

Added:
  keystone/repos/community-x86_64/PKGBUILD
    (from rev 1192836, keystone/trunk/PKGBUILD)
Deleted:
  keystone/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |  140 ++++++++++++++++++++++++++++++-------------------------------
 1 file changed, 71 insertions(+), 69 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2022-05-04 09:14:56 UTC (rev 1192836)
+++ PKGBUILD	2022-05-04 09:15:00 UTC (rev 1192837)
@@ -1,69 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=keystone
-pkgname=('keystone' 'python-keystone')
-pkgver=0.9.2
-pkgrel=2
-pkgdesc='Lightweight multi-platform, multi-architecture assembler framework'
-url='https://www.keystone-engine.org/'
-arch=('x86_64')
-license=('GPL2')
-makedepends=('cmake' 'ninja' 'gcc-libs' 'python' 'python-setuptools')
-options=('staticlibs' '!emptydirs')
-source=(https://github.com/keystone-engine/keystone/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
-sha512sums=('5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b')
-b2sums=('5654ae6a66ccf6832fbdbb8c1083a2318e413bb833a0fadc4e1374f0de601e3dad9f354b1dec92d9a944621923458e432510299c1b55579ac9bb6b6e90a818de')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-  sed 's|set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS|# set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS|' -i llvm/CMakeLists.txt
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  cmake \
-    -B build-shared \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DBUILD_SHARED_LIBS=ON \
-    -DLLVM_TARGETS_TO_BUILD=all \
-    -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-    -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-    -DCMAKE_INSTALL_RPATH="" \
-    -GNinja .
-  ninja -C build-shared
-  cmake \
-    -B build-static \
-    -DCMAKE_INSTALL_PREFIX=/usr \
-    -DCMAKE_BUILD_TYPE=None \
-    -DBUILD_SHARED_LIBS=OFF \
-    -DLLVM_TARGETS_TO_BUILD=all \
-    -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
-    -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
-    -DCMAKE_INSTALL_RPATH="" \
-    -GNinja .
-  ninja -C build-static
-  (cd bindings/python
-    python setup.py build
-  )
-}
-
-package_keystone() {
-  depends=('gcc-libs')
-  provides=('libkeystone.so')
-  cd ${pkgbase}-${pkgver}
-  DESTDIR="${pkgdir}" ninja -C build-shared install
-  DESTDIR="${pkgdir}" ninja -C build-static install
-  install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_python-keystone() {
-  depends=('python' 'keystone')
-  license=('BSD')
-  cd ${pkgbase}-${pkgver}/bindings/python
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 755 sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
-  install -Dm 644 LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
-}
-
-# vim: ts=2 sw=2 et:

Copied: keystone/repos/community-x86_64/PKGBUILD (from rev 1192836, keystone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2022-05-04 09:15:00 UTC (rev 1192837)
@@ -0,0 +1,71 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=keystone
+pkgname=('keystone' 'python-keystone')
+pkgver=0.9.2
+pkgrel=3
+pkgdesc='Lightweight multi-platform, multi-architecture assembler framework'
+url='https://www.keystone-engine.org/'
+arch=('x86_64')
+license=('GPL2')
+makedepends=('cmake' 'ninja' 'gcc-libs' 'python' 'python-setuptools')
+options=('staticlibs' '!emptydirs')
+source=(https://github.com/keystone-engine/keystone/archive/${pkgver}/${pkgbase}-${pkgver}.tar.gz)
+sha512sums=('5d4dd30410410bc7848e75a2e31e8ecef6241ad25e21963aa7a07bbea21d95b75e235c80573129014102684c9647710ace3c0776a8401844d7e4b45cab7bd04b')
+b2sums=('5654ae6a66ccf6832fbdbb8c1083a2318e413bb833a0fadc4e1374f0de601e3dad9f354b1dec92d9a944621923458e432510299c1b55579ac9bb6b6e90a818de')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  sed 's|set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS|# set(CMAKE_SHARED_LIBRARY_LINK_CXX_FLAGS|' -i llvm/CMakeLists.txt
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  cmake \
+    -B build-shared \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DBUILD_SHARED_LIBS=ON \
+    -DLLVM_TARGETS_TO_BUILD=all \
+    -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
+    -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
+    -DCMAKE_INSTALL_RPATH="" \
+    -GNinja .
+  ninja -C build-shared
+  cmake \
+    -B build-static \
+    -DCMAKE_INSTALL_PREFIX=/usr \
+    -DCMAKE_BUILD_TYPE=None \
+    -DCMAKE_C_FLAGS="$CFLAGS -ffat-lto-objects" \
+    -DCMAKE_CXX_FLAGS="$CXXFLAGS -ffat-lto-objects" \
+    -DBUILD_SHARED_LIBS=OFF \
+    -DLLVM_TARGETS_TO_BUILD=all \
+    -DCMAKE_EXE_LINKER_FLAGS="${LDFLAGS}" \
+    -DCMAKE_SHARED_LINKER_FLAGS="${LDFLAGS}" \
+    -DCMAKE_INSTALL_RPATH="" \
+    -GNinja .
+  ninja -C build-static
+  (cd bindings/python
+    python setup.py build
+  )
+}
+
+package_keystone() {
+  depends=('gcc-libs')
+  provides=('libkeystone.so')
+  cd ${pkgbase}-${pkgver}
+  DESTDIR="${pkgdir}" ninja -C build-shared install
+  DESTDIR="${pkgdir}" ninja -C build-static install
+  install -Dm 644 samples/* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_python-keystone() {
+  depends=('python' 'keystone')
+  license=('BSD')
+  cd ${pkgbase}-${pkgver}/bindings/python
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 755 sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
+  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