[arch-commits] Commit in capstone/trunk (PKGBUILD)

Levente Polyak anthraxx at archlinux.org
Thu Aug 16 21:57:49 UTC 2018


    Date: Thursday, August 16, 2018 @ 21:57:48
  Author: anthraxx
Revision: 372023

upgpkg: capstone 3.0.5-1

Modified:
  capstone/trunk/PKGBUILD

----------+
 PKGBUILD |   21 ++++++++++++---------
 1 file changed, 12 insertions(+), 9 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2018-08-16 21:53:17 UTC (rev 372022)
+++ PKGBUILD	2018-08-16 21:57:48 UTC (rev 372023)
@@ -3,16 +3,17 @@
 
 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'
+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' 'python2')
+makedepends=('glibc' 'python' 'python-setuptools' 'python2' 'python2-setuptools')
 options=('staticlibs')
 source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aquynh/capstone/archive/${pkgver}.tar.gz)
-sha512sums=('a5c29e7c559b5391d6a4ec9a7f766699ea6d321aa2f1fc57fdcec893107fa3ef2f5f6323629971c1129f1ca087df4f3ad03d0a8234d2eae368c8ccfec04dbf4d')
+sha256sums=('913dd695e7c5a2b972a6f427cb31f2e93677ec1c38f39dda37d18a91c70b6df1')
+sha512sums=('4d953dd34866046afd4c8896c307f8fdd514ea1331720cb643a6b7095666dbecf6a16264c15c9883a6ed5e06d1332c1e52c5a23bd9dc3cc6493592bc9636bd33')
 
 build() {
   cd ${pkgbase}-${pkgver}
@@ -21,9 +22,11 @@
 
 package_capstone() {
   depends=('glibc')
+  provides=('libcapstone.so')
   cd ${pkgbase}-${pkgver}
   make DESTDIR="${pkgdir}" install
-  install -Dm 644 LICENSE.TXT "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+  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() {
@@ -30,7 +33,7 @@
   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"
+  install -Dm 644 ../../LICENSE.TXT -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 
 package_python2-capstone() {
@@ -37,7 +40,7 @@
   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"
+  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