Date: Thursday, August 16, 2018 @ 21:57:55
  Author: anthraxx
Revision: 372024

archrelease: copy trunk to community-x86_64

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

----------+
 PKGBUILD |   89 +++++++++++++++++++++++++++++++------------------------------
 1 file changed, 46 insertions(+), 43 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD    2018-08-16 21:57:48 UTC (rev 372023)
+++ PKGBUILD    2018-08-16 21:57:55 UTC (rev 372024)
@@ -1,43 +0,0 @@
-# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
-# Contributor: M0Rf30
-
-pkgbase=capstone
-pkgname=('capstone' 'python-capstone' 'python2-capstone')
-pkgver=3.0.4
-pkgrel=6
-pkgdesc='A lightweight multi-platform, multi-architecture disassembly 
framework'
-url='http://www.capstone-engine.org/index.html'
-arch=('x86_64')
-license=('BSD')
-makedepends=('glibc' 'python' 'python2')
-options=('staticlibs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aquynh/capstone/archive/${pkgver}.tar.gz)
-sha512sums=('a5c29e7c559b5391d6a4ec9a7f766699ea6d321aa2f1fc57fdcec893107fa3ef2f5f6323629971c1129f1ca087df4f3ad03d0a8234d2eae368c8ccfec04dbf4d')
-
-build() {
-  cd ${pkgbase}-${pkgver}
-  make
-}
-
-package_capstone() {
-  depends=('glibc')
-  cd ${pkgbase}-${pkgver}
-  make DESTDIR="${pkgdir}" install
-  install -Dm 644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-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 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-package_python2-capstone() {
-  depends=('capstone' 'python2')
-  cd ${pkgbase}-${pkgver}/bindings/python
-  python2 setup.py install -O1 --root="${pkgdir}" --prefix=/usr
-  install -Dm 644 ../../LICENSE.TXT 
"${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
-}
-
-# vim: ts=2 sw=2 et:

Copied: capstone/repos/community-x86_64/PKGBUILD (from rev 372023, 
capstone/trunk/PKGBUILD)
===================================================================
--- PKGBUILD                            (rev 0)
+++ PKGBUILD    2018-08-16 21:57:55 UTC (rev 372024)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: M0Rf30
+
+pkgbase=capstone
+pkgname=('capstone' 'python-capstone' 'python2-capstone')
+pkgver=3.0.5
+pkgrel=1
+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' 'python2' 
'python2-setuptools')
+options=('staticlibs')
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aquynh/capstone/archive/${pkgver}.tar.gz)
+sha256sums=('913dd695e7c5a2b972a6f427cb31f2e93677ec1c38f39dda37d18a91c70b6df1')
+sha512sums=('4d953dd34866046afd4c8896c307f8fdd514ea1331720cb643a6b7095666dbecf6a16264c15c9883a6ed5e06d1332c1e52c5a23bd9dc3cc6493592bc9636bd33')
+
+build() {
+  cd ${pkgbase}-${pkgver}
+  make
+}
+
+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}"
+}
+
+package_python2-capstone() {
+  depends=('capstone' 'python2')
+  cd ${pkgbase}-${pkgver}/bindings/python
+  python2 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:

Reply via email to