[arch-commits] Commit in capstone/trunk (PKGBUILD)
Levente Polyak
anthraxx at archlinux.org
Fri May 8 20:43:47 UTC 2020
Date: Friday, May 8, 2020 @ 20:43:46
Author: anthraxx
Revision: 625778
upgpkg: capstone 4.0.2-1
Modified:
capstone/trunk/PKGBUILD
----------+
PKGBUILD | 18 ++++++++++++------
1 file changed, 12 insertions(+), 6 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2020-05-08 20:23:23 UTC (rev 625777)
+++ PKGBUILD 2020-05-08 20:43:46 UTC (rev 625778)
@@ -3,8 +3,8 @@
pkgbase=capstone
pkgname=('capstone' 'python-capstone')
-pkgver=4.0.1
-pkgrel=3
+pkgver=4.0.2
+pkgrel=1
pkgdesc='Lightweight multi-platform, multi-architecture disassembly framework'
url='https://www.capstone-engine.org/index.html'
arch=('x86_64')
@@ -11,15 +11,21 @@
license=('BSD')
makedepends=('glibc' 'python' 'python-setuptools')
options=('staticlibs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/aquynh/capstone/archive/${pkgver}.tar.gz)
-sha256sums=('79bbea8dbe466bd7d051e037db5961fdb34f67c9fac5c3471dd105cfb1e05dc7')
-sha512sums=('43c52024065b41b45eff9423341db3f3d5163fa7aa01b360faa30437786740c8f2c34c36faa04dced5308e09d8bd78df3bad0ab9c06f98612169edb176f83c36')
+source=(https://github.com/aquynh/capstone/archive/${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('7f93534517307b737422a8825b66b2a1f3e1cca2049465d60ab12595940154aaf843ba40ed348fce58de58b990c19a0caef289060eb72898cb008a88c470970e')
+b2sums=('435729a8fef2dce6495635352101b3befe563c8404efdbb0dccabecbe2bded332221665bacdbcd9043dda72b652b6f29c0e1a548cefb8c64d5b6b9dc174ed3d9')
build() {
cd ${pkgbase}-${pkgver}
- make
+ CFLAGS+=" ${CPPFLAGS}"
+ make V=1
}
+check() {
+ cd ${pkgbase}-${pkgver}
+ make check
+}
+
package_capstone() {
depends=('glibc')
provides=('libcapstone.so')
More information about the arch-commits
mailing list