blob: 27887e65d1b9fcad037d8f5c09fe69446d7c853f (
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
|
# Maintainer: Dušan Simić <dusan.simic1810@gmail.com>
pkgname=zxpy
pkgver=1.6.1
pkgrel=1
pkgdesc="Shell scripts made simple"
arch=('any')
url="https://github.com/tusharsadhwani/zxpy"
license=("MIT")
depends=("python")
makedepends=('python-setuptools')
source=("$pkgname-$pkgver.tar.gz::$url/archive/$pkgver.tar.gz")
sha512sums=('78bd1d7f56fb6a0fd330e4065f2676ad05ce7343deaa0101f02ba05db3ec04b5ed622d6beae2eb4f7addd07ec3ca4c5e525cbf6c9b60188cbfb7b5f5029b85cc')
build() {
cd "$pkgname-$pkgver"
python setup.py build
}
package() {
cd "$pkgname-$pkgver"
export PYTHONHASHSEED=0
python setup.py install --root="$pkgdir" --optimize=1 --skip-build
install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE
}
|