diff options
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 23 |
1 files changed, 23 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bd2bba091cba --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,23 @@ +# Maintainer: kiasoc5 <kiasoc5 at tutanota dot com> +pkgname='python-pymarshal' +_module=${pkgname#python-} +pkgver='2.2.0' +pkgrel=1 +pkgdesc="Pythonic implementation of Golang's (un)marshalling of structs to/from various data serialization formats" +url="https://github.com/stargateaudio/pymarshal" +depends=('python') +makedepends=('python-setuptools' 'python-pytest-runner') +license=('BSD') +arch=('any') +source=("https://files.pythonhosted.org/packages/source/${_module::1}/$_module/$_module-$pkgver.tar.gz") +sha256sums=('2f2377170261be43233375c9c2726fc9b8f9daacc75eb18458d2e1c6cd8578a2') + +build() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_module}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |