blob: b2d041009cd4fe07dc97a3502e35ceccac0d5bc3 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
|
# Maintainer: takeshix <deen [at] adversec [dot] com>
_gitname=deen
pkgname="${_gitname}-git"
pkgver=2.0.0.b1697c2
pkgrel=1
pkgdesc='Generic data encoding/decoding application built with PyQt5'
url='https://github.com/takeshixx/deen'
arch=('any')
license=('Apache 2.0')
depends=('python' 'python-setuptools' 'python-pyqt5'
'python-pyopenssl' 'python-jsbeautifier'
'python-keystone' 'python-capstone' 'python-jose'
'python-bcrypt' 'python-xmltodict')
makedepends=('git')
provides=('deen')
conflicts=('deen')
source=("${_gitname}::git+https://github.com/takeshixx/deen.git")
sha512sums=('SKIP')
pkgver() {
cd ${_gitname}
printf "%s.%s" "$(git describe --tags --abbrev=0|sed 's/^v//'|sed 's/\-/_/')" \
"$(git rev-parse --short HEAD)"
}
package() {
cd ${_gitname}
python3 setup.py install --root="$pkgdir/" --optimize=1
install -dm 755 "$pkgdir/usr/share/bash-completion/completions"
install -Dm 644 "deen/media/${_gitname}.desktop" "${pkgdir}/usr/share/applications/${_gitname}.desktop"
install -Dm 644 "deen/media/icon.png" "${pkgdir}/usr/share/pixmaps/deen.png"
install -Dm 644 deen-completion.sh "$pkgdir/usr/share/bash-completion/completions/deen"
}
# vim: ts=2 sw=2
|