diff options
author | BigfootACA | 2021-03-17 07:37:05 +0800 |
---|---|---|
committer | BigfootACA | 2021-03-17 07:37:05 +0800 |
commit | 4566bacb2b2d002c68e04fbc5428b689d5b8ff70 (patch) | |
tree | 43d05824fcae66dc6aba95b455330abba179ac97 | |
download | aur-4566bacb2b2d002c68e04fbc5428b689d5b8ff70.tar.gz |
upload to github
-rw-r--r-- | .SRCINFO | 20 | ||||
-rw-r--r-- | .gitignore | 10 | ||||
-rw-r--r-- | PKGBUILD | 35 |
3 files changed, 65 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..1790f753f190 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,20 @@ +pkgbase = python-sphinxcontrib-actdiag + pkgdesc = Sphinx actdiag extension + pkgver = 2.0.0 + pkgrel = 1 + url = https://github.com/blockdiag/sphinxcontrib-actdiag + arch = any + license = BSD + makedepends = python + makedepends = python-setuptools + depends = python + depends = actdiag + depends = blockdiag + depends = python-sphinx + source = https://pypi.io/packages/source/s/sphinxcontrib-actdiag/sphinxcontrib-actdiag-2.0.0.tar.gz + md5sums = ec3d18e7dc33c1cce23406cc6d3a61be + sha256sums = 4edb8564e2e48a0e0c50b2e7743425ad34f1f11886c37e0cb23997a0f95a74c6 + sha512sums = 8faeb97b6be7c1a3603d34d34331ed4144a0b4a1ea537d8826682252213268a288f180ee0218d1266e199c41eba5e85caabf0a0f734024c358019fe806dd38de + +pkgname = python-sphinxcontrib-actdiag + diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..fcaabd513b1a --- /dev/null +++ b/.gitignore @@ -0,0 +1,10 @@ +pkg +src +*.tar +*.gz +*.xz +*.zst +*.zip +*.lz4 +*.lzo +*.bz diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..21d289cae179 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,35 @@ +# Maintainer: BigfootACA <bigfoot@classfun.cn> + +_pyname=sphinxcontrib-actdiag +pkgname=python-$_pyname +pkgver=2.0.0 +pkgrel=1 +pkgdesc="Sphinx actdiag extension" +arch=('any') +url="https://github.com/blockdiag/sphinxcontrib-actdiag" +license=(BSD) +depends=( + python + actdiag + blockdiag + python-sphinx +) +makedepends=( + python + python-setuptools +) +source=("https://pypi.io/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz") +md5sums=('ec3d18e7dc33c1cce23406cc6d3a61be') +sha256sums=('4edb8564e2e48a0e0c50b2e7743425ad34f1f11886c37e0cb23997a0f95a74c6') +sha512sums=('8faeb97b6be7c1a3603d34d34331ed4144a0b4a1ea537d8826682252213268a288f180ee0218d1266e199c41eba5e85caabf0a0f734024c358019fe806dd38de') + +build(){ + cd $_pyname-$pkgver + python setup.py build +} + +package(){ + cd $_pyname-$pkgver + python setup.py install --root "$pkgdir" --optimize=1 + install -Dm644 LICENSE "$pkgdir"/usr/share/licenses/$pkgname/LICENSE +} |