[arch-commits] Commit in binwalk/repos (2 files)

Felix Yan felixonmars at archlinux.org
Mon Nov 4 08:19:12 UTC 2019


    Date: Monday, November 4, 2019 @ 08:19:11
  Author: felixonmars
Revision: 523679

archrelease: copy trunk to community-staging-any

Added:
  binwalk/repos/community-staging-any/
  binwalk/repos/community-staging-any/PKGBUILD
    (from rev 523678, binwalk/trunk/PKGBUILD)

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

Copied: binwalk/repos/community-staging-any/PKGBUILD (from rev 523678, binwalk/trunk/PKGBUILD)
===================================================================
--- community-staging-any/PKGBUILD	                        (rev 0)
+++ community-staging-any/PKGBUILD	2019-11-04 08:19:11 UTC (rev 523679)
@@ -0,0 +1,46 @@
+# Maintainer: Levente Polyak <anthraxx[at]archlinux[dot]org>
+# Contributor: Peter Wu <peter at lekensteyn.nl>
+# Contributor: Miguel Revilla <yo at miguelrevilla.com>
+# Contributor: s1gma <s1gma at mindslicer.com>
+
+pkgname=binwalk
+pkgver=2.2.0
+pkgrel=2
+pkgdesc="A tool for searching a given binary image for embedded files"
+url="https://github.com/ReFirmLabs/binwalk"
+arch=('any')
+license=('MIT')
+depends=('python')
+optdepends=(
+  'python-opengl: binviz module support'
+  'python-capstone: disassembly support'
+  'arj: ARJ decompression support'
+  'cabextract: CAB archive support'
+  'cpio: CPIO archvie support'
+  'gzip: GZIP decompression support'
+  'mtd-utils: JFFS filesystem support'
+  'p7zip: ZIP, LZMA and ISO decompression support'
+  'squashfs-tools: squashfs support'
+  'tar: TAR archive support'
+  'bzip2: BZIP2 archive support'
+  'unrar: RAR decompression support'
+  'xz: XZ decompression support'
+  'lhasa: LHA support'
+  'sleuthkit: forensic analysis support'
+)
+source=(${pkgname}-${pkgver}.tar.gz::https://github.com/ReFirmLabs/${pkgname}/archive/v${pkgver}.tar.gz)
+sha512sums=('5f3ed31c0b5f9ca3057f86e82787a73b06f9f73747b51dd72130a78e4d69cf43a0207bffc495d177e97811de5bf835b3d0507f314b7a0c960eddf6d1efe0f0f9')
+
+build() {
+  cd ${pkgname}-${pkgver}
+  python setup.py build
+}
+
+package() {
+  cd ${pkgname}-${pkgver}
+  python setup.py install -O1 --prefix="${pkgdir}/usr"
+  install -Dm 644 *.md -t "${pkgdir}/usr/share/doc/${pkgname}"
+  install -Dm 644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}/LICENSE"
+}
+
+# vim: ts=2 sw=2 et:



More information about the arch-commits mailing list