diff options
author | Marcus Hoffmann | 2020-10-22 16:09:41 +0200 |
---|---|---|
committer | Marcus Hoffmann | 2020-10-22 16:09:41 +0200 |
commit | 49ed80a942a545cad993cbe2b4382165456bfa75 (patch) | |
tree | 75552da34a5dcbceff03cd6ba311e23018df5f20 /PKGBUILD | |
download | aur-49ed80a942a545cad993cbe2b4382165456bfa75.tar.gz |
new package: python-matrix-reminder-bot
Diffstat (limited to 'PKGBUILD')
-rw-r--r-- | PKGBUILD | 28 |
1 files changed, 28 insertions, 0 deletions
diff --git a/PKGBUILD b/PKGBUILD new file mode 100644 index 000000000000..bfa0cb4a163c --- /dev/null +++ b/PKGBUILD @@ -0,0 +1,28 @@ +# Maintainer: Marcus Hoffmann <bubu@bubu1.eu> + +_pkgname=matrix-reminder-bot +pkgname=python-matrix-reminder-bot +pkgver=0.2.0 +pkgrel=1 +pkgdesc="Matrix bot to remind you about stuff." +url="https://github.com/anoadragon453/matrix-reminder-bot" +depends=('python' 'python-matrix-nio' 'python-markdown' 'python-yaml' + 'python-dateparser' 'python-readabledelta' 'python-apscheduler' 'python-pytz') +makedepends=('python-setuptools') +optdepends=('python-psycopg2') +license=('Apache') +arch=('any') +source=("https://github.com/anoadragon453/${_pkgname}/archive/v${pkgver}.tar.gz") + +sha256sums=('bf346bdf5dfa17219f0cc06c24751404e4d0e0dbcc9a41391c87145032df45b5') + +build() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py build +} + +package() { + cd "${srcdir}/${_pkgname}-${pkgver}" + python setup.py install --root="${pkgdir}" --optimize=1 --skip-build + install -Dm644 LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE" +} |