diff options
author | BigfootACA | 2021-03-16 17:20:08 +0800 |
---|---|---|
committer | BigfootACA | 2021-03-16 17:20:08 +0800 |
commit | fe1f7d5b8887504f31077e4eb1cbda0208adb946 (patch) | |
tree | 66dbe47d177d162184a22ce986cf75b73b61246b /PKGBUILD | |
download | aur-fe1f7d5b8887504f31077e4eb1cbda0208adb946.tar.gz |
reset repo and upload
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 38 |
1 files changed, 38 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..781906bda1e5 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,38 @@ +# Maintainer: BigfootACA <bigfoot@classfun.cn> + +_pyname=openstackdocstheme +pkgname=python-$_pyname +pkgver=2.2.7 +pkgrel=1 +pkgdesc="OpenStack Docs Theme" +arch=(any) +url="https://docs.openstack.org/openstackdocstheme/latest/" +license=(Apache) +depends=( + python + python-pbr + python-dulwich +) +makedepends=(python-setuptools) +checkdepends=( + python-hacking + python-sphinx + python-pre-commit +) +source=(https://pypi.io/packages/source/${_pyname::1}/$_pyname/$_pyname-$pkgver.tar.gz) +md5sums=('ae3515ee8f0d46e60df950aa558b387b') +sha256sums=('beacfc00277337c733c1e48ace1cdeb598faf5718609b638972d72fe04bf6372') +sha512sums=('38ca434d48c04608a66d05a93a19d030bf9302f024d052f67af21e241365f046e9508359dfb62cd1b8897836f20a4983cdeb3c1a66ca4e3161fd722da6006332') + +export PBR_VERSION=$pkgver + +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 +} |