diff options
author | Naleo Hyde | 2020-09-01 13:48:12 -1000 |
---|---|---|
committer | Naleo Hyde | 2020-09-01 13:49:57 -1000 |
commit | c4ceb6bf958e159089b4ee2311e923d613dfd010 (patch) | |
tree | a2b21c58fd89d0eb0a957479af4307834e91cb71 /PKGBUILD | |
download | aur-c4ceb6bf958e159089b4ee2311e923d613dfd010.tar.gz |
Version 2.0.0
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 18 |
1 files changed, 18 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..568bd6d831bc --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: Philipp A. <flying-sheep@web.de> +_name=canvasapi +pkgname=python-$_name +pkgver=2.0.0 +pkgrel=1 +pkgdesc='API wrapper for Instructures Canvas' +arch=(any) +url='https://github.com/ucfopen/canvasapi' +license=(MIT) +depends=(python) +makedepends=(pandoc) +source=("https://files.pythonhosted.org/packages/source/${_name::1}/$_name/$_name-$pkgver.tar.gz") +sha256sums=('d2af62c3f643cbf25024ea094212c9b2374c68c9e03932154079613483fc38c2') + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir" --optimize=1 || return 1 +} |