blob: 7d3a8d5d9b46779b57a743d7964fc00d5394a795 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
|
# Maintainer: Bet4 <bet4it@gmail.com>
_pkgname=pyminizip
pkgname=python-$_pkgname
pkgver=0.2.6
pkgrel=1
pkgdesc="Create a password encrypted zip file in python"
arch=('x86_64')
url='https://github.com/smihica/pyminizip'
license=('custom')
depends=('python')
source=("https://files.pythonhosted.org/packages/source/${_pkgname::1}/${_pkgname}/${_pkgname}-${pkgver}.tar.gz")
sha256sums=('0a954dd2a65fd72c8b827b83fb806fb4f301075a6ec43e207d3345ab15843a7a')
build() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py build
}
package() {
cd "$srcdir/$_pkgname-$pkgver"
python setup.py install --root=$pkgdir --optimize=1 --skip-build
}
|