aboutsummaryrefslogtreecommitdiffstats
path: root/community/py3-msoffcrypto-tool/APKBUILD
blob: c5d7821f884e2643e03746fe9df775fa343669ef (plain) (blame)
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
# Contributor: Duncan Bellamy <dunk@denkimushi.com>
# Maintainer: Duncan Bellamy <dunk@denkimushi.com>
pkgname=py3-msoffcrypto-tool
pkgver=4.12.0
pkgrel=2
pkgdesc="tool and library for decrypting MS Office files with passwords or other keys"
url="https://github.com/nolze/msoffcrypto-tool"
arch="noarch"
license="MIT"
depends="python3 py3-cryptography py3-olefile"
makedepends="py3-setuptools"
source="https://files.pythonhosted.org/packages/source/m/msoffcrypto-tool/msoffcrypto-tool-$pkgver.tar.gz"
options="!check" #tests are not included in pypi archive
builddir="$srcdir/msoffcrypto-tool-$pkgver"

build() {
	python3 setup.py build
}

package() {
	python3 setup.py install --prefix=/usr --root="$pkgdir"
}

sha512sums="
1e45906d7daa99e93af866a5e47899bcb162fe8b386945a629af3aec09260f4f747df0e2407ed8bb4d3e153c100c7898fbe9d4f5c36dad6c8bf0974a7310a12e  msoffcrypto-tool-4.12.0.tar.gz
"