diff options
author | Mubashshir | 2021-09-03 21:22:26 +0600 |
---|---|---|
committer | Mubashshir | 2021-09-03 21:22:26 +0600 |
commit | f1c75fbc9ade8780bd4a8479f259f1ae8975fc05 (patch) | |
tree | b4c37207a6b0bdcd86710434329baf20dfcb8db4 | |
download | aur-f1c75fbc9ade8780bd4a8479f259f1ae8975fc05.tar.gz |
Init package
-rw-r--r-- | .SRCINFO | 14 | ||||
-rw-r--r-- | .gitignore | 4 | ||||
-rw-r--r-- | PKGBUILD | 27 |
3 files changed, 45 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..f348fab43462 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,14 @@ +pkgbase = python-pyglm + pkgdesc = OpenGL Mathematics library for Python + pkgver = 2.3.1 + pkgrel = 1 + url = https://github.com/Zuzu-Typ/PyGLM + arch = any + license = ZLIB + makedepends = python-setuptools + depends = python + source = https://files.pythonhosted.org/packages/source/P/PyGLM/PyGLM-2.3.1.tar.gz + sha256sums = f12097dfcb709b22e31122a0e579a6ebc50f0822569ee05ac55f5347a36ee13f + +pkgname = python-pyglm + depends = python diff --git a/.gitignore b/.gitignore new file mode 100644 index 000000000000..e4f9ba3007cf --- /dev/null +++ b/.gitignore @@ -0,0 +1,4 @@ +* +!.SRCINFO +!PKGBUILD +!.gitignore diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..57289ac29514 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,27 @@ +# Maintainer: Mubashshir <ahmubashshir@gmail.com> +# pkg: pypi PyGLM + +pkgbase='python-pyglm' +pkgname=('python-pyglm') +_module='PyGLM' +pkgver='2.3.1' +pkgrel=1 +pkgdesc="OpenGL Mathematics library for Python" +url="https://github.com/Zuzu-Typ/PyGLM" +depends=('python') +makedepends=('python-setuptools') +license=('ZLIB') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +sha256sums=('f12097dfcb709b22e31122a0e579a6ebc50f0822569ee05ac55f5347a36ee13f') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +package() { + depends+=() + cd "${srcdir}/${_module}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |