diff options
author | Manoel Vilela | 2017-11-06 18:08:39 -0300 |
---|---|---|
committer | Manoel Vilela | 2017-11-06 18:08:39 -0300 |
commit | 8731915bd3e9e7fd15322af6723cf82003528e44 (patch) | |
tree | b38e7d5be9c70b698741c77b340ba4242fbcb8dc | |
download | aur-8731915bd3e9e7fd15322af6723cf82003528e44.tar.gz |
Add release of plasma by repo git from ArchStrike repo
upstream: https://archstrike.org/packages/plasma-git
-rw-r--r-- | .SRCINFO | 27 | ||||
-rw-r--r-- | PKGBUILD | 30 |
2 files changed, 57 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..34d067148a98 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,27 @@ +pkgbase = plasma-git + pkgdesc = Interactive disassembler for x86/ARM/MIPS. Generates indented pseudo-code with colored syntax code. + pkgver = 20171015.361f + pkgrel = 1 + url = https://github.com/plasma-disassembler/plasma + arch = armv6h + arch = armv7h + arch = i686 + arch = x86_64 + arch = aarch64 + groups = archstrike + groups = archstrike-analysis + license = GPL3 + makedepends = git + depends = python-keystone + depends = python-capstone + depends = python-pyelftools + depends = python-future + depends = python-msgpack + depends = binutils + depends = python-pefile + optdepends = python-pyqt4: For memory map + source = plasma-git::git+https://github.com/plasma-disassembler/plasma.git + sha512sums = SKIP + +pkgname = plasma-git + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..78606fdd1059 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +# Maintainer: ArchStrike <team@archstrike.org> + +buildarch=220 + +pkgname=plasma-git +pkgver=20171015.361f +pkgrel=1 +groups=('archstrike' 'archstrike-analysis') +arch=('armv6h' 'armv7h' 'i686' 'x86_64' 'aarch64') +pkgdesc="Interactive disassembler for x86/ARM/MIPS. Generates indented pseudo-code with colored syntax code." +url="https://github.com/plasma-disassembler/plasma" +license=('GPL3') +depends=('python-keystone' 'python-capstone' 'python-pyelftools' 'python-future' 'python-msgpack' 'binutils' 'python-pefile') +optdepends=('python-pyqt4: For memory map') +makedepends=('git') +source=("${pkgname}::git+${url}.git") +sha512sums=('SKIP') + +pkgver() { + cd ${pkgname} + printf "%s.r%s" "$(git show -s --format=%ci master | sed 's/\ .*//g;s/-//g')" "$(git rev-list --count HEAD)" +} + + +package() { + cd ${pkgname} + install -dm755 "${pkgdir}/usr/share/licenses/${pkgname}" + python setup.py install --root "${pkgdir}" --optimize=1 + install -Dm644 LICENSE "${pkgdir}/usr/share/licenses/${pkgname}" +} |