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

Levente Polyak anthraxx at archlinux.org
Thu Jul 23 19:31:51 UTC 2020


    Date: Thursday, July 23, 2020 @ 19:31:50
  Author: anthraxx
Revision: 665063

upgpkg: distorm 3.5-1

Modified:
  distorm/trunk/PKGBUILD

----------+
 PKGBUILD |   13 +++++--------
 1 file changed, 5 insertions(+), 8 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-07-23 19:30:31 UTC (rev 665062)
+++ PKGBUILD	2020-07-23 19:31:50 UTC (rev 665063)
@@ -4,8 +4,8 @@
 
 pkgbase=distorm
 pkgname=('distorm' 'python-distorm' 'python2-distorm')
-pkgver=3.4.1
-pkgrel=2
+pkgver=3.5
+pkgrel=1
 pkgdesc='Powerful disassembler library for x86/AMD64'
 url='https://github.com/gdabah/distorm'
 arch=('x86_64')
@@ -12,13 +12,12 @@
 license=('BSD')
 makedepends=('python' 'python-setuptools' 'python2' 'python2-setuptools' 'glibc')
 options=('staticlibs')
-source=(${pkgname}-${pkgver}.tar.gz::https://github.com/gdabah/distorm/archive/v${pkgver}.tar.gz)
-sha512sums=('0e9f8b62bc190ef7d516f1902b6003adef9c7d5d4a5f985fb0bdfc5d4838b2805e2b8836b02d5eccdb3401e814417de615dec675aed9e606c93122ca8a0d2083')
+source=(https://github.com/gdabah/distorm/archive/v${pkgver}/${pkgname}-${pkgver}.tar.gz)
+sha512sums=('e6aa36e5c70004ea759549e056d052c2f510f47c3f23175fb9f73278df96562fb0bda62421372b29ca20145a0b873c466f19e48f588a05a9d4da42da79ef1a5c')
+b2sums=('4fd316620693517627f5673880714e4e105b7309e3c148f3d9958698764c29870c3f0bd6a29f9caa7d524e54a6d6c35f00ad9f5b0dd39f50baaf56170a2e5f29')
 
 prepare() {
   cp -ra ${pkgbase}-${pkgver}{,-py2}
-  sed -e '1i#!/usr/bin/env python' -i ${pkgbase}-${pkgver}/examples/python/sample.py
-  sed -e '1i#!/usr/bin/env python2' -i ${pkgbase}-${pkgver}-py2/examples/python/sample.py
 }
 
 build() {
@@ -45,7 +44,6 @@
   depends=('python')
   cd ${pkgbase}-${pkgver}
   python setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 755 examples/python/sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 
@@ -53,7 +51,6 @@
   depends=('python2')
   cd ${pkgbase}-${pkgver}-py2
   python2 setup.py install --root="${pkgdir}" -O1 --skip-build
-  install -Dm 755 examples/python/sample.py -t "${pkgdir}/usr/share/doc/${pkgname}"
   install -Dm 644 COPYING -t "${pkgdir}/usr/share/licenses/${pkgname}"
 }
 



More information about the arch-commits mailing list