[arch-commits] Commit in unicorn/repos (4 files)

Levente Polyak anthraxx at archlinux.org
Mon May 22 16:48:57 UTC 2017


    Date: Monday, May 22, 2017 @ 16:48:56
  Author: anthraxx
Revision: 229219

archrelease: copy trunk to community-i686, community-x86_64

Added:
  unicorn/repos/community-i686/PKGBUILD
    (from rev 229218, unicorn/trunk/PKGBUILD)
  unicorn/repos/community-x86_64/PKGBUILD
    (from rev 229218, unicorn/trunk/PKGBUILD)
Deleted:
  unicorn/repos/community-i686/PKGBUILD
  unicorn/repos/community-x86_64/PKGBUILD

---------------------------+
 /PKGBUILD                 |  164 ++++++++++++++++++++++++++++++++++++++++++++
 community-i686/PKGBUILD   |   82 ----------------------
 community-x86_64/PKGBUILD |   82 ----------------------
 3 files changed, 164 insertions(+), 164 deletions(-)

Deleted: community-i686/PKGBUILD
===================================================================
--- community-i686/PKGBUILD	2017-05-22 16:48:46 UTC (rev 229218)
+++ community-i686/PKGBUILD	2017-05-22 16:48:56 UTC (rev 229219)
@@ -1,82 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=unicorn
-pkgname=('unicorn' 'python-unicorn' 'python2-unicorn' 'ruby-unicorn')
-pkgver=1.0
-pkgrel=1
-pkgdesc='Lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU'
-url='http://www.unicorn-engine.org'
-arch=('i686' 'x86_64')
-license=('GPL2')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'ruby')
-checkdepends=('cmocka')
-options=('staticlibs' '!emptydirs')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/unicorn-engine/unicorn/archive/${pkgver}.tar.gz)
-sha512sums=('2b00254520826a0bd882bee25a100718c5faf1c842328f7e5d985ae6ddb134ab78c702e023e56b9abb85f911d617f2dcd1caf63614a4960fe6b6cf4993ad129c')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-  sed 's|-O3|-O2|g' -i Makefile qemu/configure
-  sed 's|-g ||g' -i qemu/configure
-  sed 's|UNICORN_DEBUG ?= yes|UNICORN_DEBUG ?= no|g' -i config.mk
-  cp -ra bindings/python{,2}
-  sed -r 's|(python)$|\12|' -i bindings/python2/*.py
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  make UNICORN_QEMU_FLAGS="--python=/usr/bin/python2"
-  (cd bindings
-    python const_generator.py python
-    python const_generator.py ruby
-  )
-  (cd bindings/python
-    python setup.py build
-  )
-  (cd bindings/python2
-    python2 setup.py build
-  )
-  (cd bindings/ruby/unicorn_gem
-    gem build unicorn.gemspec
-  )
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  # Tests are not supported right now, hope they get some love soon
-  # make test
-}
-
-package_unicorn() {
-  depends=('glibc')
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 samples/*.c -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_python-unicorn() {
-  depends=('python' 'unicorn')
-  cd ${pkgbase}-${pkgver}/bindings/python
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_python2-unicorn() {
-  depends=('python2' 'unicorn')
-  cd ${pkgbase}-${pkgver}/bindings/python2
-  python2 setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_ruby-unicorn() {
-  depends=('ruby' 'unicorn')
-  cd ${pkgbase}-${pkgver}/bindings/ruby/unicorn_gem
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
-    -n "${pkgdir}/usr/bin" ${pkgbase}-*.gem -- --with-opt-include="${srcdir}/${pkgbase}-${pkgver}/include"
-  rm -r "${pkgdir}/${_gemdir}"/{cache/${pkgbase}-*.gem,build_info}
-  find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
-  install -Dm 644 ../sample* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-# vim: ts=2 sw=2 et:

Copied: unicorn/repos/community-i686/PKGBUILD (from rev 229218, unicorn/trunk/PKGBUILD)
===================================================================
--- community-i686/PKGBUILD	                        (rev 0)
+++ community-i686/PKGBUILD	2017-05-22 16:48:56 UTC (rev 229219)
@@ -0,0 +1,82 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=unicorn
+pkgname=('unicorn' 'python-unicorn' 'python2-unicorn' 'ruby-unicorn')
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU'
+url='http://www.unicorn-engine.org'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'ruby')
+checkdepends=('cmocka')
+options=('staticlibs' '!emptydirs')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/unicorn-engine/unicorn/archive/${pkgver}.tar.gz)
+sha512sums=('edfe1f7bfbc1d20f5b62232057e194a937bc09db686ef2efadb33a54605029a53426432cdb2a29511385aacdb9343b3b3091af50a1909098d7cf6db3429eb966')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  sed 's|-O3|-O2|g' -i Makefile qemu/configure
+  sed 's|-g ||g' -i qemu/configure
+  sed 's|UNICORN_DEBUG ?= yes|UNICORN_DEBUG ?= no|g' -i config.mk
+  cp -ra bindings/python{,2}
+  sed -r 's|(python)$|\12|' -i bindings/python2/*.py
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  make UNICORN_QEMU_FLAGS="--python=/usr/bin/python2"
+  (cd bindings
+    python const_generator.py python
+    python const_generator.py ruby
+  )
+  (cd bindings/python
+    python setup.py build
+  )
+  (cd bindings/python2
+    python2 setup.py build
+  )
+  (cd bindings/ruby/unicorn_gem
+    gem build unicorn.gemspec
+  )
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  # Tests are not supported right now, hope they get some love soon
+  # make test
+}
+
+package_unicorn() {
+  depends=('glibc')
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 samples/*.c -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_python-unicorn() {
+  depends=('python' 'unicorn')
+  cd ${pkgbase}-${pkgver}/bindings/python
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_python2-unicorn() {
+  depends=('python2' 'unicorn')
+  cd ${pkgbase}-${pkgver}/bindings/python2
+  python2 setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_ruby-unicorn() {
+  depends=('ruby' 'unicorn')
+  cd ${pkgbase}-${pkgver}/bindings/ruby/unicorn_gem
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
+    -n "${pkgdir}/usr/bin" ${pkgbase}-*.gem -- --with-opt-include="${srcdir}/${pkgbase}-${pkgver}/include"
+  rm -r "${pkgdir}/${_gemdir}"/{cache/${pkgbase}-*.gem,build_info}
+  find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
+  install -Dm 644 ../sample* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+# vim: ts=2 sw=2 et:

Deleted: community-x86_64/PKGBUILD
===================================================================
--- community-x86_64/PKGBUILD	2017-05-22 16:48:46 UTC (rev 229218)
+++ community-x86_64/PKGBUILD	2017-05-22 16:48:56 UTC (rev 229219)
@@ -1,82 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-
-pkgbase=unicorn
-pkgname=('unicorn' 'python-unicorn' 'python2-unicorn' 'ruby-unicorn')
-pkgver=1.0
-pkgrel=1
-pkgdesc='Lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU'
-url='http://www.unicorn-engine.org'
-arch=('i686' 'x86_64')
-license=('GPL2')
-makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'ruby')
-checkdepends=('cmocka')
-options=('staticlibs' '!emptydirs')
-source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/unicorn-engine/unicorn/archive/${pkgver}.tar.gz)
-sha512sums=('2b00254520826a0bd882bee25a100718c5faf1c842328f7e5d985ae6ddb134ab78c702e023e56b9abb85f911d617f2dcd1caf63614a4960fe6b6cf4993ad129c')
-
-prepare() {
-  cd ${pkgbase}-${pkgver}
-  sed 's|-O3|-O2|g' -i Makefile qemu/configure
-  sed 's|-g ||g' -i qemu/configure
-  sed 's|UNICORN_DEBUG ?= yes|UNICORN_DEBUG ?= no|g' -i config.mk
-  cp -ra bindings/python{,2}
-  sed -r 's|(python)$|\12|' -i bindings/python2/*.py
-}
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  make UNICORN_QEMU_FLAGS="--python=/usr/bin/python2"
-  (cd bindings
-    python const_generator.py python
-    python const_generator.py ruby
-  )
-  (cd bindings/python
-    python setup.py build
-  )
-  (cd bindings/python2
-    python2 setup.py build
-  )
-  (cd bindings/ruby/unicorn_gem
-    gem build unicorn.gemspec
-  )
-}
-
-check() {
-  cd ${pkgbase}-${pkgver}
-  # Tests are not supported right now, hope they get some love soon
-  # make test
-}
-
-package_unicorn() {
-  depends=('glibc')
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 samples/*.c -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_python-unicorn() {
-  depends=('python' 'unicorn')
-  cd ${pkgbase}-${pkgver}/bindings/python
-  python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_python2-unicorn() {
-  depends=('python2' 'unicorn')
-  cd ${pkgbase}-${pkgver}/bindings/python2
-  python2 setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-package_ruby-unicorn() {
-  depends=('ruby' 'unicorn')
-  cd ${pkgbase}-${pkgver}/bindings/ruby/unicorn_gem
-  local _gemdir="$(gem env gemdir)"
-  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
-    -n "${pkgdir}/usr/bin" ${pkgbase}-*.gem -- --with-opt-include="${srcdir}/${pkgbase}-${pkgver}/include"
-  rm -r "${pkgdir}/${_gemdir}"/{cache/${pkgbase}-*.gem,build_info}
-  find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
-  install -Dm 644 ../sample* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
-}
-
-# vim: ts=2 sw=2 et:

Copied: unicorn/repos/community-x86_64/PKGBUILD (from rev 229218, unicorn/trunk/PKGBUILD)
===================================================================
--- community-x86_64/PKGBUILD	                        (rev 0)
+++ community-x86_64/PKGBUILD	2017-05-22 16:48:56 UTC (rev 229219)
@@ -0,0 +1,82 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+
+pkgbase=unicorn
+pkgname=('unicorn' 'python-unicorn' 'python2-unicorn' 'ruby-unicorn')
+pkgver=1.0.1
+pkgrel=1
+pkgdesc='Lightweight, multi-platform, multi-architecture CPU emulator framework based on QEMU'
+url='http://www.unicorn-engine.org'
+arch=('i686' 'x86_64')
+license=('GPL2')
+makedepends=('python' 'python2' 'python-setuptools' 'python2-setuptools' 'ruby')
+checkdepends=('cmocka')
+options=('staticlibs' '!emptydirs')
+source=(${pkgbase}-${pkgver}.tar.gz::https://github.com/unicorn-engine/unicorn/archive/${pkgver}.tar.gz)
+sha512sums=('edfe1f7bfbc1d20f5b62232057e194a937bc09db686ef2efadb33a54605029a53426432cdb2a29511385aacdb9343b3b3091af50a1909098d7cf6db3429eb966')
+
+prepare() {
+  cd ${pkgbase}-${pkgver}
+  sed 's|-O3|-O2|g' -i Makefile qemu/configure
+  sed 's|-g ||g' -i qemu/configure
+  sed 's|UNICORN_DEBUG ?= yes|UNICORN_DEBUG ?= no|g' -i config.mk
+  cp -ra bindings/python{,2}
+  sed -r 's|(python)$|\12|' -i bindings/python2/*.py
+}
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  make UNICORN_QEMU_FLAGS="--python=/usr/bin/python2"
+  (cd bindings
+    python const_generator.py python
+    python const_generator.py ruby
+  )
+  (cd bindings/python
+    python setup.py build
+  )
+  (cd bindings/python2
+    python2 setup.py build
+  )
+  (cd bindings/ruby/unicorn_gem
+    gem build unicorn.gemspec
+  )
+}
+
+check() {
+  cd ${pkgbase}-${pkgver}
+  # Tests are not supported right now, hope they get some love soon
+  # make test
+}
+
+package_unicorn() {
+  depends=('glibc')
+  cd ${pkgbase}-${pkgver}
+  make DESTDIR="${pkgdir}" install
+  install -Dm 644 samples/*.c -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_python-unicorn() {
+  depends=('python' 'unicorn')
+  cd ${pkgbase}-${pkgver}/bindings/python
+  python setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_python2-unicorn() {
+  depends=('python2' 'unicorn')
+  cd ${pkgbase}-${pkgver}/bindings/python2
+  python2 setup.py install --root="${pkgdir}" -O1 --skip-build
+  install -Dm 644 sample* shellcode.py -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+package_ruby-unicorn() {
+  depends=('ruby' 'unicorn')
+  cd ${pkgbase}-${pkgver}/bindings/ruby/unicorn_gem
+  local _gemdir="$(gem env gemdir)"
+  gem install --ignore-dependencies --no-user-install -i "${pkgdir}${_gemdir}" \
+    -n "${pkgdir}/usr/bin" ${pkgbase}-*.gem -- --with-opt-include="${srcdir}/${pkgbase}-${pkgver}/include"
+  rm -r "${pkgdir}/${_gemdir}"/{cache/${pkgbase}-*.gem,build_info}
+  find "${pkgdir}/${_gemdir}" \( -name 'mkmf.log' -or -name 'gem_make.out' \) -delete
+  install -Dm 644 ../sample* -t "${pkgdir}/usr/share/doc/${pkgname}/samples"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list