diff options
author | ROllerozxa | 2021-06-08 21:53:58 +0200 |
---|---|---|
committer | ROllerozxa | 2021-06-08 21:53:58 +0200 |
commit | 6880c2baae3de9df5849b2252ea0c614abd51c3f (patch) | |
tree | 302c6441a33ba4f10906518595e76dfeaf1ea9b1 | |
download | aur-6880c2baae3de9df5849b2252ea0c614abd51c3f.tar.gz |
initial
-rw-r--r-- | .SRCINFO | 15 | ||||
-rw-r--r-- | PKGBUILD | 18 |
2 files changed, 33 insertions, 0 deletions
diff --git a/.SRCINFO b/.SRCINFO new file mode 100644 index 000000000000..58f6bc478a25 --- /dev/null +++ b/.SRCINFO @@ -0,0 +1,15 @@ +pkgbase = python-discord-webhook + pkgdesc = Execute Discord webhooks. + pkgver = 0.14.0 + pkgrel = 1 + url = https://github.com/lovvskillz/python-discord-webhook + arch = any + license = MIT + makedepends = python + makedepends = python-setuptools + depends = python-requests + source = https://files.pythonhosted.org/packages/source/d/discord-webhook/discord-webhook-0.14.0.tar.gz + sha256sums = f3d660df572caaa9c2621edd7e8634a70d6d8295ce9256c365838312457069a1 + +pkgname = python-discord-webhook + diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..46e5fdf8a496 --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,18 @@ +# Maintainer: ROllerozxa (temporaryemail4meh [gee mail]) +pkgname=python-discord-webhook +_name=discord-webhook +pkgver=0.14.0 +pkgrel=1 +pkgdesc="Execute Discord webhooks." +arch=('any') +url="https://github.com/lovvskillz/python-discord-webhook" +license=('MIT') +depends=('python-requests') +makedepends=('python' 'python-setuptools') +source=("https://files.pythonhosted.org/packages/source/${_name::1}/${_name}/${_name}-${pkgver}.tar.gz") +sha256sums=('f3d660df572caaa9c2621edd7e8634a70d6d8295ce9256c365838312457069a1') + +package() { + cd "$srcdir/$_name-$pkgver" + python setup.py install --root="$pkgdir/" --optimize=1 +} |