diff options
author | Victor | 2021-02-13 12:02:27 +0100 |
---|---|---|
committer | Victor | 2021-02-13 12:02:27 +0100 |
commit | a821da623e40b8ded620c63ca4b775876face804 (patch) | |
tree | b8137d4983d127debc52632170457901e114f3dd /PKGBUILD | |
download | aur-a821da623e40b8ded620c63ca4b775876face804.tar.gz |
Initial commit, version 1.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 24 |
1 files changed, 24 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..572b0ae78c94 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,24 @@ +# Maintainer: Victor <v1c70rp@gmail.com> + +pkgname=mathics-scanner +_pkgname=Mathics_Scanner +pkgver=1.0.0 +pkgrel=1 +pkgdesc="Mathics' tokeniser or scanner portion for the Wolfram Language." +arch=('any') +url="https://mathics.github.io/" +license=('GPL3') +depends=('python-chardet' 'python-ujson') +makedepends=('python-setuptools') +source=("$pkgname-$pkgver.tar.gz::https://github.com/Mathics3/$pkgname/releases/download/$pkgver/$_pkgname-$pkgver.tar.gz") +sha256sums=('330d9dc842fd3db2dc26dfb783fdec32952d9454da2a170e8402f055a562c936') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build +} |