diff options
author | ifreturn | 2024-03-08 17:18:21 +0800 |
---|---|---|
committer | ifreturn | 2024-03-08 17:18:21 +0800 |
commit | 3a7e15e2dce90644d3a22db0993c48996567a347 (patch) | |
tree | f6aed565d5d671ad071807131cc4b80847fd93ce /PKGBUILD | |
download | aur-python-scripts.tar.gz |
新文件: .SRCINFO
新文件: PKGBUILD
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 30 |
1 files changed, 30 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..9b3e2d21701b --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,30 @@ +#Maintainer YangZhichao<1036711084@qq.com> + +_pkgname=scripts +pkgname=python-scripts +pkgver=3.0.0 +pkgrel=1 +pkgdesc="A collection of various shell scripts" +arch=('any') +url='https://github.com/rsalmaso/scripts' +license=('MIT') +depends=(python) +makedepends=(python-setuptools) +checkdepends=(python-stua) +source=("$pkgname-$pkgver.tar.gz::https://github.com/rsalmaso/scripts/archive/refs/tags/$pkgver.tar.gz") +sha256sums=('f58b44c2ef252753647038449ea1766046ade8d26d8b0135e018891420a485c3') + +build() { + cd "$_pkgname-$pkgver" + python setup.py build +} + +check() { + cd "$_pkgname-$pkgver" + python setup.py test +} + +package() { + cd "$_pkgname-$pkgver" + python setup.py install --optimize=1 --root="${pkgdir}/" +} |